Class NatEvpnUtil
- java.lang.Object
-
- org.opendaylight.netvirt.natservice.internal.NatEvpnUtil
-
public final class NatEvpnUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addRoutesForVxLanProvType(org.opendaylight.mdsal.binding.api.DataBroker broker, IBgpManager bgpManager, IFibManager fibManager, java.lang.String vpnName, java.lang.String rd, java.lang.String prefix, java.lang.String nextHopIp, org.opendaylight.yangtools.yang.common.Uint32 l3Vni, @Nullable java.lang.String interfaceName, java.lang.String gwMacAddress, org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> writeTx, RouteOrigin origin, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId)
static @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getFloatingIpInterfaceIdFromFloatingIpId(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid floatingIpId)
static java.lang.String
getFlowRef(org.opendaylight.yangtools.yang.common.Uint64 dpnId, short tableId, org.opendaylight.yangtools.yang.common.Uint32 l3Vni, java.lang.String flowName)
static org.opendaylight.yangtools.yang.common.Uint64
getTunnelIdForRouter(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, java.lang.String routerName, org.opendaylight.yangtools.yang.common.Uint32 routerId)
static void
releaseLPortTagForRouter(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager, java.lang.String routerName)
-
-
-
Method Detail
-
releaseLPortTagForRouter
public static void releaseLPortTagForRouter(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager, java.lang.String routerName)
-
getTunnelIdForRouter
public static org.opendaylight.yangtools.yang.common.Uint64 getTunnelIdForRouter(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, java.lang.String routerName, org.opendaylight.yangtools.yang.common.Uint32 routerId)
-
addRoutesForVxLanProvType
public static void addRoutesForVxLanProvType(org.opendaylight.mdsal.binding.api.DataBroker broker, IBgpManager bgpManager, IFibManager fibManager, java.lang.String vpnName, java.lang.String rd, java.lang.String prefix, java.lang.String nextHopIp, org.opendaylight.yangtools.yang.common.Uint32 l3Vni, @Nullable java.lang.String interfaceName, java.lang.String gwMacAddress, org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> writeTx, RouteOrigin origin, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId)
-
getFlowRef
public static java.lang.String getFlowRef(org.opendaylight.yangtools.yang.common.Uint64 dpnId, short tableId, org.opendaylight.yangtools.yang.common.Uint32 l3Vni, java.lang.String flowName)
-
getFloatingIpInterfaceIdFromFloatingIpId
public static @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getFloatingIpInterfaceIdFromFloatingIpId(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid floatingIpId)
-
-