Class VpnRpcServiceImpl

  • All Implemented Interfaces:
    VpnRpcService, org.opendaylight.yangtools.yang.binding.RpcService

    @Singleton
    public class VpnRpcServiceImpl
    extends java.lang.Object
    implements VpnRpcService
    • Method Detail

      • generateVpnLabel

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GenerateVpnLabelOutput>> generateVpnLabel​(GenerateVpnLabelInput input)
        Generate label for the given ip prefix from the associated VPN.
        Specified by:
        generateVpnLabel in interface VpnRpcService
        Parameters:
        input - of generate-vpn-label
        Returns:
        output of generate-vpn-label
      • removeVpnLabel

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveVpnLabelOutput>> removeVpnLabel​(RemoveVpnLabelInput input)
        Remove label for the given ip prefix from the associated VPN.
        Specified by:
        removeVpnLabel in interface VpnRpcService
        Parameters:
        input - of remove-vpn-label
        Returns:
        output of remove-vpn-label
      • addStaticRoute

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddStaticRouteOutput>> addStaticRoute​(AddStaticRouteInput input)
        Description copied from interface: VpnRpcService
        Invoke add-static-route RPC.
             
                 Creates a static route in a VPN, creating a new label if needed
             
         
        Specified by:
        addStaticRoute in interface VpnRpcService
        Parameters:
        input - of add-static-route
        Returns:
        output of add-static-route
      • removeStaticRoute

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveStaticRouteOutput>> removeStaticRoute​(RemoveStaticRouteInput input)
        Description copied from interface: VpnRpcService
        Invoke remove-static-route RPC.
             
                 Removes a static route in a VPN, identified by this vpn name, destination and
                 nexthop. Nextop is optional. If specified, the RPC will just remove one of the
                 nexthops in the route (ECMP feature). If not specified, the whole route will be
                 removed
             
         
        Specified by:
        removeStaticRoute in interface VpnRpcService
        Parameters:
        input - of remove-static-route
        Returns:
        output of remove-static-route
      • applyArpConfig

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ApplyArpConfigOutput>> applyArpConfig​(ApplyArpConfigInput input)
        Description copied from interface: VpnRpcService
        Invoke apply-arp-config RPC.
             
                 To apply ARP/GARP related configuration per PL
             
         
        Specified by:
        applyArpConfig in interface VpnRpcService
        Parameters:
        input - of apply-arp-config
        Returns:
        output of apply-arp-config