Interface OdlNatRpcService

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.RpcService
    All Known Implementing Classes:
    NatRpcServiceImpl

    public interface OdlNatRpcService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module odl-nat-rpc
     rpc get_nat_translations_on_router {
       input input {
         leaf router-uuid {
           type yang:uuid;
         }
       }
       output output {
         uses nat-output;
       }
     }
     rpc get_nat_translations_on_vpn {
       input input {
         leaf vpn-uuid {
           type yang:uuid;
         }
       }
       output output {
         uses nat-output;
       }
     }
     rpc get_nat_translations_for_network_and_ipaddress {
       input input {
         leaf network-uuid {
           type yang:uuid;
         }
         leaf ip-address {
           type inet:ip-address;
         }
       }
       output output {
         leaf nat-translation {
           type string;
         }
         leaf external-ip {
           type string;
         }
         leaf internal-ip {
           type string;
         }
         leaf external-port {
           type string;
         }
         leaf internal-port {
           type string;
         }
         leaf protocol {
           type string;
         }
       }
     }