Class NeutronvpnManager
- java.lang.Object
-
- org.opendaylight.netvirt.neutronvpn.NeutronvpnManager
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,NeutronvpnService
,org.opendaylight.yangtools.yang.binding.RpcService
@Singleton public class NeutronvpnManager extends java.lang.Object implements NeutronvpnService, java.lang.AutoCloseable, java.util.EventListener
-
-
Constructor Summary
Constructors Constructor Description NeutronvpnManager(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, VpnRpcService vpnRpcSrv, IElanService elanService, NeutronFloatingToFixedIpMappingChangeListener neutronFloatingToFixedIpMappingChangeListener, NeutronvpnConfig neutronvpnConfig, IVpnManager vpnManager, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, NeutronvpnUtils neutronvpnUtils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInterVpnRoutes(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> interVpnLinkRoutes, java.util.HashMap<java.lang.String,InterVpnLink> nexthopsXinterVpnLinks)
Creates the corresponding static routes in the specified VPN.protected void
addSubnetToVpn(@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnet, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId)
protected void
addToNeutronRouterInterfacesMap(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, java.lang.String interfaceName)
protected void
addV6PrivateSubnetToExtNetwork(@NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId, @NonNull Subnetmap subnetMap)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AssociateNetworksOutput>>
associateNetworks(AssociateNetworksInput input)
It handles the invocations to the neutronvpn:associateNetworks RPC method.protected @NonNull java.util.List<java.lang.String>
associateNetworksToVpn(@NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @NonNull java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networkList)
Parses and associates networks list with given VPN.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AssociateRouterOutput>>
associateRouter(AssociateRouterInput input)
It handles the invocations to the neutronvpn:associateRouter RPC method.protected void
associateRouterToInternalVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId)
protected void
associateRouterToVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId)
void
close()
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateEVPNOutput>>
createEVPN(CreateEVPNInput input)
Create one or more EVPN(s)protected void
createExternalVpnInterfaces(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetId)
void
createL3InternalVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, java.lang.String name, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantId, java.util.List<java.lang.String> rdList, java.util.List<java.lang.String> irtList, java.util.List<java.lang.String> ertList, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networksList)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateL3VPNOutput>>
createL3VPN(CreateL3VPNInput input)
It handles the invocations to the createVPN RPC method.protected Adjacencies
createPortIpAdjacencies(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, java.lang.Boolean isRouterInterface, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> wrtConfigTxn, @Nullable VpnInterface vpnIface)
protected void
createSubnetmapNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, java.lang.String subnetIp, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId, @Nullable NetworkAttributes.NetworkType networkType, long segmentationId, boolean isExternalNw)
void
createVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, java.lang.String name, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantId, java.util.List<java.lang.String> rdList, java.util.List<java.lang.String> irtList, java.util.List<java.lang.String> ertList, @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> routerIdsList, @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networkList, boolean isL2Vpn, long l3vni)
Performs the creation of a Neutron L3VPN, associating the new VPN to the specified Neutron Networks and Routers.void
createVpnInstanceForSubnet(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
protected void
createVpnInterface(java.util.Collection<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> vpnIds, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, @Nullable org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> wrtConfigTxn)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteEVPNOutput>>
deleteEVPN(DeleteEVPNInput input)
delete EVPNs for specified Id listcom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL3VPNOutput>>
deleteL3VPN(DeleteL3VPNInput input)
It handles the invocations to the neutronvpn:deleteL3VPN RPC method.protected void
deleteSubnetMapNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
protected void
deleteVpnInterface(java.lang.String infName, @Nullable java.lang.String vpnId, @Nullable org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> wrtConfigTxn)
protected void
dissociatefixedIPFromFloatingIP(java.lang.String fixedNeutronPortName)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DissociateNetworksOutput>>
dissociateNetworks(DissociateNetworksInput input)
It handles the invocations to the neutronvpn:dissociateNetworks RPC method.protected @NonNull java.util.List<java.lang.String>
dissociateNetworksFromVpn(@NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @NonNull java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networkList)
Parses and disassociates networks list from given VPN.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DissociateRouterOutput>>
dissociateRouter(DissociateRouterInput input)
It handles the invocations to the neutronvpn:dissociateRouter RPC method.protected void
dissociateRouterFromVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId)
protected @NonNull java.util.List<Adjacency>
getAdjacencyforExtraRoute(java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> routeList, java.lang.String fixedIp)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEVPNOutput>>
getEVPN(GetEVPNInput input)
returns EVPN configurationcom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFixedIPsForNeutronPortOutput>>
getFixedIPsForNeutronPort(GetFixedIPsForNeutronPortInput input)
It handles the invocations to the neutronvpn:getFixedIPsForNeutronPort RPC method.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetL3VPNOutput>>
getL3VPN(GetL3VPNInput input)
It handles the invocations to the neutronvpn:getL3VPN RPC method.protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getNetworkForSubnet(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
protected java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getNetworksForVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId)
protected org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.networks.rev150712.networks.attributes.networks.Network
getNeutronNetwork(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId)
protected org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port
getNeutronPort(java.lang.String name)
protected org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port
getNeutronPort(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId)
protected org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet
getNeutronSubnet(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
protected @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getNeutronSubnetGateway(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
java.lang.String
getOpenDaylightVniRangesConfig()
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<RouterInterfaces>
getRouterInterfacesId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId)
protected void
handleNeutronRouterDeleted(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> routerSubnetIds)
protected void
programV6InternetFallbackFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId, int addOrRemove)
protected void
removeAdjacencyforExtraRoute(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> routeList)
protected void
removeExternalVpnInterfaces(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetId)
protected void
removeFromNeutronRouterInterfacesMap(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, java.lang.String interfaceName)
protected Subnetmap
removeFromSubnetNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId)
protected void
removeInternetVpnFromVpnInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn, Subnetmap sm)
void
removeInterVpnRoutes(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> interVpnLinkRoutes, java.util.HashMap<java.lang.String,InterVpnLink> nexthopsXinterVpnLinks)
Removes the corresponding static routes from the specified VPN.protected @Nullable Subnetmap
removePortsFromSubnetmapNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid directPortId)
protected void
removeSubnetFromVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, Subnetmap subnetmap, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId)
protected void
removeV6PrivateSubnetToExtNetwork(@NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId, @NonNull Subnetmap subnetMap)
void
removeVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId)
void
removeVpnInstanceForSubnet(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
java.util.List<java.lang.String>
showNeutronPortsCLI()
Implementation of the "vpnservice:neutron-ports-show" Karaf CLI command.java.util.List<java.lang.String>
showVpnConfigCLI(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnuuid)
Implementation of the "vpnservice:l3vpn-config-show" karaf CLI command.protected Subnetmap
updateSubnetmapNodeWithPorts(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid directPortId)
protected @Nullable Subnetmap
updateSubnetNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetvpnId)
protected void
updateSubnetNodeWithFixedIp(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerInterfacePortId, @Nullable java.lang.String fixedIp, @Nullable java.lang.String routerIntfMacAddress, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId)
void
updateVpnInstanceWithRDs(java.lang.String vpnInstanceId, java.util.List<java.lang.String> rds)
protected void
updateVpnInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid oldVpnId, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, boolean isBeingAssociated, boolean isSubnetIp, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn, boolean isInternetVpn)
protected void
updateVpnInterfaceWithExtraRouteAdjacency(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> routeList)
protected void
updateVpnInternetForSubnet(Subnetmap sm, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpn, boolean isBeingAssociated)
protected void
updateVpnMaps(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @Nullable java.lang.String name, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid router, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantId, @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networks)
protected void
withdrawPortIpFromVpnIface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, Subnetmap sn, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> wrtConfigTxn)
-
-
-
Constructor Detail
-
NeutronvpnManager
@Inject public NeutronvpnManager(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, VpnRpcService vpnRpcSrv, IElanService elanService, NeutronFloatingToFixedIpMappingChangeListener neutronFloatingToFixedIpMappingChangeListener, NeutronvpnConfig neutronvpnConfig, IVpnManager vpnManager, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, NeutronvpnUtils neutronvpnUtils) throws org.opendaylight.mdsal.common.api.TransactionCommitFailedException
- Throws:
org.opendaylight.mdsal.common.api.TransactionCommitFailedException
-
-
Method Detail
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
getOpenDaylightVniRangesConfig
public java.lang.String getOpenDaylightVniRangesConfig()
-
createSubnetmapNode
protected void createSubnetmapNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, java.lang.String subnetIp, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId, @Nullable NetworkAttributes.NetworkType networkType, long segmentationId, boolean isExternalNw)
-
updateSubnetNode
protected @Nullable Subnetmap updateSubnetNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetvpnId)
-
updateSubnetNodeWithFixedIp
protected void updateSubnetNodeWithFixedIp(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerInterfacePortId, @Nullable java.lang.String fixedIp, @Nullable java.lang.String routerIntfMacAddress, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId)
-
updateSubnetmapNodeWithPorts
protected Subnetmap updateSubnetmapNodeWithPorts(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid directPortId)
-
removeFromSubnetNode
protected Subnetmap removeFromSubnetNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId)
-
removePortsFromSubnetmapNode
protected @Nullable Subnetmap removePortsFromSubnetmapNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid directPortId)
-
deleteSubnetMapNode
protected void deleteSubnetMapNode(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
-
updateVpnInstanceWithRDs
public void updateVpnInstanceWithRDs(java.lang.String vpnInstanceId, java.util.List<java.lang.String> rds)
-
updateVpnMaps
protected void updateVpnMaps(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @Nullable java.lang.String name, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid router, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantId, @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networks)
-
createPortIpAdjacencies
protected Adjacencies createPortIpAdjacencies(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, java.lang.Boolean isRouterInterface, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> wrtConfigTxn, @Nullable VpnInterface vpnIface)
-
createVpnInterface
protected void createVpnInterface(java.util.Collection<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> vpnIds, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, @Nullable org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> wrtConfigTxn)
-
withdrawPortIpFromVpnIface
protected void withdrawPortIpFromVpnIface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, Subnetmap sn, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> wrtConfigTxn)
-
deleteVpnInterface
protected void deleteVpnInterface(java.lang.String infName, @Nullable java.lang.String vpnId, @Nullable org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> wrtConfigTxn)
-
removeInternetVpnFromVpnInterface
protected void removeInternetVpnFromVpnInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn, Subnetmap sm)
-
updateVpnInterface
protected void updateVpnInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid oldVpnId, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port, boolean isBeingAssociated, boolean isSubnetIp, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn, boolean isInternetVpn)
-
createL3InternalVpn
public void createL3InternalVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, java.lang.String name, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantId, java.util.List<java.lang.String> rdList, java.util.List<java.lang.String> irtList, java.util.List<java.lang.String> ertList, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networksList)
-
createVpn
public void createVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, java.lang.String name, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantId, java.util.List<java.lang.String> rdList, java.util.List<java.lang.String> irtList, java.util.List<java.lang.String> ertList, @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> routerIdsList, @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networkList, boolean isL2Vpn, long l3vni) throws java.lang.Exception
Performs the creation of a Neutron L3VPN, associating the new VPN to the specified Neutron Networks and Routers.- Parameters:
vpnId
- Uuid of the VPN tp be createdname
- Representative name of the new VPNtenantId
- Uuid of the Tenant under which the VPN is going to be createdrdList
- Route-distinguisher for the VPNirtList
- A list of Import Route TargetsertList
- A list of Export Route TargetsrouterIdsList
- ist of neutron router Id to associate with created VPNnetworkList
- UUID of the neutron network the VPN may be associated toisL2Vpn
- True if VPN Instance is of type L2, false if L3l3vni
- L3VNI for the VPN Instance using VxLAN as the underlay- Throws:
java.lang.Exception
- if association of L3VPN failed
-
createL3VPN
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateL3VPNOutput>> createL3VPN(CreateL3VPNInput input)
It handles the invocations to the createVPN RPC method.- Specified by:
createL3VPN
in interfaceNeutronvpnService
-
getL3VPN
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetL3VPNOutput>> getL3VPN(GetL3VPNInput input)
It handles the invocations to the neutronvpn:getL3VPN RPC method.- Specified by:
getL3VPN
in interfaceNeutronvpnService
-
deleteL3VPN
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL3VPNOutput>> deleteL3VPN(DeleteL3VPNInput input)
It handles the invocations to the neutronvpn:deleteL3VPN RPC method.- Specified by:
deleteL3VPN
in interfaceNeutronvpnService
-
createVpnInstanceForSubnet
public void createVpnInstanceForSubnet(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
-
removeVpnInstanceForSubnet
public void removeVpnInstanceForSubnet(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
-
addSubnetToVpn
protected void addSubnetToVpn(@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnet, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId)
-
removeSubnetFromVpn
protected void removeSubnetFromVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, Subnetmap subnetmap, @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId)
-
updateVpnInternetForSubnet
protected void updateVpnInternetForSubnet(Subnetmap sm, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpn, boolean isBeingAssociated)
-
getRouterInterfacesId
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<RouterInterfaces> getRouterInterfacesId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId)
-
addToNeutronRouterInterfacesMap
protected void addToNeutronRouterInterfacesMap(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, java.lang.String interfaceName)
-
removeFromNeutronRouterInterfacesMap
protected void removeFromNeutronRouterInterfacesMap(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, java.lang.String interfaceName)
-
addInterVpnRoutes
public void addInterVpnRoutes(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> interVpnLinkRoutes, java.util.HashMap<java.lang.String,InterVpnLink> nexthopsXinterVpnLinks)
Creates the corresponding static routes in the specified VPN. These static routes must be point to an InterVpnLink endpoint and the specified VPN must be the other end of the InterVpnLink. Otherwise the route will be ignored.- Parameters:
vpnName
- the VPN identifierinterVpnLinkRoutes
- The list of static routesnexthopsXinterVpnLinks
- A Map with the correspondence nextHop-InterVpnLink
-
removeInterVpnRoutes
public void removeInterVpnRoutes(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> interVpnLinkRoutes, java.util.HashMap<java.lang.String,InterVpnLink> nexthopsXinterVpnLinks)
Removes the corresponding static routes from the specified VPN. These static routes point to an InterVpnLink endpoint and the specified VPN must be the other end of the InterVpnLink.- Parameters:
vpnName
- the VPN identifierinterVpnLinkRoutes
- The list of static routesnexthopsXinterVpnLinks
- A Map with the correspondence nextHop-InterVpnLink
-
getAdjacencyforExtraRoute
protected @NonNull java.util.List<Adjacency> getAdjacencyforExtraRoute(java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> routeList, java.lang.String fixedIp)
-
updateVpnInterfaceWithExtraRouteAdjacency
protected void updateVpnInterfaceWithExtraRouteAdjacency(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> routeList)
-
removeAdjacencyforExtraRoute
protected void removeAdjacencyforExtraRoute(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.l3.attributes.Routes> routeList)
-
removeVpn
public void removeVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId)
-
associateRouterToVpn
protected void associateRouterToVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId)
-
associateRouterToInternalVpn
protected void associateRouterToInternalVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId)
-
dissociateRouterFromVpn
protected void dissociateRouterFromVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId)
-
associateNetworksToVpn
protected @NonNull java.util.List<java.lang.String> associateNetworksToVpn(@NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @NonNull java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networkList)
Parses and associates networks list with given VPN.- Parameters:
vpnId
- Uuid of given VPN.networkList
- List list of network Ids (Uuid), which will be associated.- Returns:
- list of formatted strings with detailed error messages.
-
dissociateNetworksFromVpn
protected @NonNull java.util.List<java.lang.String> dissociateNetworksFromVpn(@NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, @NonNull java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> networkList)
Parses and disassociates networks list from given VPN.- Parameters:
vpnId
- Uuid of given VPN.networkList
- List list of network Ids (Uuid), which will be disassociated.- Returns:
- list of formatted strings with detailed error messages.
-
associateNetworks
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AssociateNetworksOutput>> associateNetworks(AssociateNetworksInput input)
It handles the invocations to the neutronvpn:associateNetworks RPC method.- Specified by:
associateNetworks
in interfaceNeutronvpnService
-
associateRouter
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AssociateRouterOutput>> associateRouter(AssociateRouterInput input)
It handles the invocations to the neutronvpn:associateRouter RPC method.- Specified by:
associateRouter
in interfaceNeutronvpnService
-
getFixedIPsForNeutronPort
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFixedIPsForNeutronPortOutput>> getFixedIPsForNeutronPort(GetFixedIPsForNeutronPortInput input)
It handles the invocations to the neutronvpn:getFixedIPsForNeutronPort RPC method.- Specified by:
getFixedIPsForNeutronPort
in interfaceNeutronvpnService
-
dissociateNetworks
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DissociateNetworksOutput>> dissociateNetworks(DissociateNetworksInput input)
It handles the invocations to the neutronvpn:dissociateNetworks RPC method.- Specified by:
dissociateNetworks
in interfaceNeutronvpnService
-
dissociateRouter
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DissociateRouterOutput>> dissociateRouter(DissociateRouterInput input)
It handles the invocations to the neutronvpn:dissociateRouter RPC method.- Specified by:
dissociateRouter
in interfaceNeutronvpnService
-
handleNeutronRouterDeleted
protected void handleNeutronRouterDeleted(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> routerSubnetIds)
-
getNeutronSubnet
protected org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet getNeutronSubnet(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
-
getNeutronSubnetGateway
protected @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getNeutronSubnetGateway(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
-
getNeutronNetwork
protected org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.networks.rev150712.networks.attributes.networks.Network getNeutronNetwork(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId)
-
getNeutronPort
protected org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port getNeutronPort(java.lang.String name)
-
getNeutronPort
protected org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port getNeutronPort(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId)
-
getNetworkForSubnet
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getNetworkForSubnet(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
-
getNetworksForVpn
protected java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getNetworksForVpn(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId)
-
showNeutronPortsCLI
public java.util.List<java.lang.String> showNeutronPortsCLI() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Implementation of the "vpnservice:neutron-ports-show" Karaf CLI command.- Returns:
- a List of String to be printed on screen
- Throws:
java.util.concurrent.ExecutionException
- or InterruptedException if there was a problem reading from the data storejava.lang.InterruptedException
-
showVpnConfigCLI
public java.util.List<java.lang.String> showVpnConfigCLI(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnuuid) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
Implementation of the "vpnservice:l3vpn-config-show" karaf CLI command.- Parameters:
vpnuuid
- Uuid of the VPN whose config must be shown- Returns:
- formatted output list
- Throws:
java.lang.InterruptedException
- if there was a thread related problem getting the data to displayjava.util.concurrent.ExecutionException
- if there was any other problem getting the data to display
-
createExternalVpnInterfaces
protected void createExternalVpnInterfaces(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetId)
-
removeExternalVpnInterfaces
protected void removeExternalVpnInterfaces(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetId)
-
dissociatefixedIPFromFloatingIP
protected void dissociatefixedIPFromFloatingIP(java.lang.String fixedNeutronPortName)
-
createEVPN
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateEVPNOutput>> createEVPN(CreateEVPNInput input)
Description copied from interface:NeutronvpnService
Create one or more EVPN(s)- Specified by:
createEVPN
in interfaceNeutronvpnService
-
getEVPN
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEVPNOutput>> getEVPN(GetEVPNInput input)
Description copied from interface:NeutronvpnService
returns EVPN configuration- Specified by:
getEVPN
in interfaceNeutronvpnService
-
deleteEVPN
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteEVPNOutput>> deleteEVPN(DeleteEVPNInput input)
Description copied from interface:NeutronvpnService
delete EVPNs for specified Id list- Specified by:
deleteEVPN
in interfaceNeutronvpnService
-
addV6PrivateSubnetToExtNetwork
protected void addV6PrivateSubnetToExtNetwork(@NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId, @NonNull Subnetmap subnetMap)
-
removeV6PrivateSubnetToExtNetwork
protected void removeV6PrivateSubnetToExtNetwork(@NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId, @NonNull Subnetmap subnetMap)
-
programV6InternetFallbackFlow
protected void programV6InternetFallbackFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId, int addOrRemove)
-
-