Interface NeutronvpnService

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

    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)
        Create one or more L3VPN(s)
      • createEVPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateEVPNOutput>> createEVPN​(CreateEVPNInput input)
        Create one or more EVPN(s)
      • associateRouter

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AssociateRouterOutput>> associateRouter​(AssociateRouterInput input)
        associates a router with L3VPN
      • dissociateRouter

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DissociateRouterOutput>> dissociateRouter​(DissociateRouterInput input)
        dissociates a router with L3VPN
      • associateNetworks

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

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

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEVPNOutput>> getEVPN​(GetEVPNInput input)
        returns EVPN configuration
      • deleteEVPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteEVPNOutput>> deleteEVPN​(DeleteEVPNInput input)
        delete EVPNs for specified Id list
      • deleteL3VPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL3VPNOutput>> deleteL3VPN​(DeleteL3VPNInput input)
        delete VPNs for specified Id list
      • getL3VPN

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetL3VPNOutput>> getL3VPN​(GetL3VPNInput input)
        returns VPN configuration