Class NatRpcServiceImpl
- java.lang.Object
-
- org.opendaylight.netvirt.natservice.rpcservice.NatRpcServiceImpl
-
- All Implemented Interfaces:
OdlNatRpcService
,org.opendaylight.yangtools.yang.binding.RpcService
@Singleton public class NatRpcServiceImpl extends java.lang.Object implements OdlNatRpcService
-
-
Constructor Summary
Constructors Constructor Description NatRpcServiceImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, INeutronVpnManager nvpnManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNatTranslationsForNetworkAndIpaddressOutput>>
getNatTranslationsForNetworkAndIpaddress(GetNatTranslationsForNetworkAndIpaddressInput input)
Invokeget_nat_translations_for_network_and_ipaddress
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNatTranslationsOnRouterOutput>>
getNatTranslationsOnRouter(GetNatTranslationsOnRouterInput input)
Invokeget_nat_translations_on_router
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNatTranslationsOnVpnOutput>>
getNatTranslationsOnVpn(GetNatTranslationsOnVpnInput input)
Invokeget_nat_translations_on_vpn
RPC.
-
-
-
Constructor Detail
-
NatRpcServiceImpl
@Inject public NatRpcServiceImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, INeutronVpnManager nvpnManager)
-
-
Method Detail
-
getNatTranslationsOnVpn
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNatTranslationsOnVpnOutput>> getNatTranslationsOnVpn(GetNatTranslationsOnVpnInput input)
Description copied from interface:OdlNatRpcService
Invokeget_nat_translations_on_vpn
RPC.Provides the NAT translations for given vpn uuid
- Specified by:
getNatTranslationsOnVpn
in interfaceOdlNatRpcService
- Parameters:
input
- ofget_nat_translations_on_vpn
- Returns:
- output of
get_nat_translations_on_vpn
-
getNatTranslationsOnRouter
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNatTranslationsOnRouterOutput>> getNatTranslationsOnRouter(GetNatTranslationsOnRouterInput input)
Description copied from interface:OdlNatRpcService
Invokeget_nat_translations_on_router
RPC.Provides the NAT translations for given router uuid
- Specified by:
getNatTranslationsOnRouter
in interfaceOdlNatRpcService
- Parameters:
input
- ofget_nat_translations_on_router
- Returns:
- output of
get_nat_translations_on_router
-
getNatTranslationsForNetworkAndIpaddress
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNatTranslationsForNetworkAndIpaddressOutput>> getNatTranslationsForNetworkAndIpaddress(GetNatTranslationsForNetworkAndIpaddressInput input)
Description copied from interface:OdlNatRpcService
Invokeget_nat_translations_for_network_and_ipaddress
RPC.Provides the NAT translations for given IP Address
- Specified by:
getNatTranslationsForNetworkAndIpaddress
in interfaceOdlNatRpcService
- Parameters:
input
- ofget_nat_translations_for_network_and_ipaddress
- Returns:
- output of
get_nat_translations_for_network_and_ipaddress
-
-