Interface NeutronvpnService

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

    @Generated("mdsal-binding-generator")
    public interface NeutronvpnService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module neutronvpn
     rpc createL3VPN {
       input input {
         list l3vpn {
           uses vpn-instance;
         }
       }
       output output {
         leaf-list response {
           type string;
         }
       }
     }
     rpc createEVPN {
       input input {
         list evpn {
           uses evpn-instance;
         }
       }
       output output {
         leaf-list response {
           type string;
         }
       }
     }
     rpc associateRouter {
       input input {
         leaf vpn-id {
           type yang:uuid;
         }
         list router-ids {
           key router-id;
           min-elements 1;
           leaf router-id {
             type yang:uuid;
           }
         }
       }
     }
     rpc dissociateRouter {
       input input {
         leaf vpn-id {
           type yang:uuid;
         }
         list router-ids {
           key router-id;
           min-elements 1;
           leaf router-id {
             type yang:uuid;
           }
         }
       }
     }
     rpc associateNetworks {
       input input {
         leaf vpn-id {
           type yang:uuid;
         }
         leaf-list network-id {
           type yang:uuid;
         }
       }
       output output {
         leaf response {
           type string;
         }
       }
     }
     rpc dissociateNetworks {
       input input {
         leaf vpn-id {
           type yang:uuid;
         }
         leaf-list network-id {
           type yang:uuid;
         }
       }
       output output {
         leaf response {
           type string;
         }
       }
     }
     rpc getEVPN {
       input input {
         leaf id {
           type yang:uuid;
         }
       }
       output output {
         list evpn-instances {
           uses evpn-instance;
         }
       }
     }
     rpc deleteEVPN {
       input input {
         leaf-list id {
           type yang:uuid;
         }
       }
       output output {
         leaf-list response {
           type string;
         }
       }
     }
     rpc deleteL3VPN {
       input input {
         leaf-list id {
           type yang:uuid;
         }
       }
       output output {
         leaf-list response {
           type string;
         }
       }
     }
     rpc getL3VPN {
       input input {
         leaf id {
           type yang:uuid;
         }
       }
       output output {
         list l3vpn-instances {
           uses vpn-instance;
         }
       }
     }
     rpc get-fixedIPs-for-neutron-port {
       input input {
         leaf port-id {
           type yang:uuid;
         }
       }
       output output {
         leaf-list fixedIPs {
           type string;
         }
       }
     }
     
    • Method Detail

      • createL3VPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateL3VPNOutput>> createL3VPN​(CreateL3VPNInput input)
        Invoke createL3VPN RPC.
             
                 Create one or more L3VPN(s)
             
         
        Parameters:
        input - of createL3VPN
        Returns:
        output of createL3VPN
      • createEVPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateEVPNOutput>> createEVPN​(CreateEVPNInput input)
        Invoke createEVPN RPC.
             
                 Create one or more EVPN(s)
             
         
        Parameters:
        input - of createEVPN
        Returns:
        output of createEVPN
      • associateRouter

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AssociateRouterOutput>> associateRouter​(AssociateRouterInput input)
        Invoke associateRouter RPC.
             
                 associates a router with L3VPN
             
         
        Parameters:
        input - of associateRouter
        Returns:
        output of associateRouter
      • dissociateRouter

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DissociateRouterOutput>> dissociateRouter​(DissociateRouterInput input)
        Invoke dissociateRouter RPC.
             
                 dissociates a router with L3VPN
             
         
        Parameters:
        input - of dissociateRouter
        Returns:
        output of dissociateRouter
      • associateNetworks

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AssociateNetworksOutput>> associateNetworks​(AssociateNetworksInput input)
        Invoke associateNetworks RPC.
             
                 associates a list of networks with L3VPN
             
         
        Parameters:
        input - of associateNetworks
        Returns:
        output of associateNetworks
      • dissociateNetworks

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DissociateNetworksOutput>> dissociateNetworks​(DissociateNetworksInput input)
        Invoke dissociateNetworks RPC.
             
                 dissociates a list of networks with L3VPN
             
         
        Parameters:
        input - of dissociateNetworks
        Returns:
        output of dissociateNetworks
      • getEVPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEVPNOutput>> getEVPN​(GetEVPNInput input)
        Invoke getEVPN RPC.
             
                 returns EVPN configuration
             
         
        Parameters:
        input - of getEVPN
        Returns:
        output of getEVPN
      • deleteEVPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteEVPNOutput>> deleteEVPN​(DeleteEVPNInput input)
        Invoke deleteEVPN RPC.
             
                 delete EVPNs for specified Id list
             
         
        Parameters:
        input - of deleteEVPN
        Returns:
        output of deleteEVPN
      • deleteL3VPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL3VPNOutput>> deleteL3VPN​(DeleteL3VPNInput input)
        Invoke deleteL3VPN RPC.
             
                 delete VPNs for specified Id list
             
         
        Parameters:
        input - of deleteL3VPN
        Returns:
        output of deleteL3VPN
      • getL3VPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetL3VPNOutput>> getL3VPN​(GetL3VPNInput input)
        Invoke getL3VPN RPC.
             
                 returns VPN configuration
             
         
        Parameters:
        input - of getL3VPN
        Returns:
        output of getL3VPN
      • getFixedIPsForNeutronPort

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFixedIPsForNeutronPortOutput>> getFixedIPsForNeutronPort​(GetFixedIPsForNeutronPortInput input)
        Invoke get-fixedIPs-for-neutron-port RPC.
             
                 returns neutron port fixed IPs
             
         
        Parameters:
        input - of get-fixedIPs-for-neutron-port
        Returns:
        output of get-fixedIPs-for-neutron-port