public final class OvsdbTepAddConfigHelper extends Object
Modifier and Type | Method and Description |
---|---|
static List<com.google.common.util.concurrent.ListenableFuture<Void>> |
addTepReceivedFromOvsdb(String tepIp,
String strDpnId,
String tzName,
boolean ofTunnel,
org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
ManagedNewTransactionRunner txRunner)
Adds the TEP into ITM configuration/operational Datastore in one of the following cases.
|
protected static void |
addUnknownTzTepIntoTepsNotHosted(String tzName,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tepIpAddress,
BigInteger dpid,
boolean ofTunnel,
org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
TypedWriteTransaction<Datastore.Operational> tx)
Adds the TEP into Vtep list in the subnet list in the transport zone list
from ITM operational Datastore by merge operation with write transaction.
|
static void |
addVtepInITMConfigDS(List<Subnets> subnetList,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix subnetMaskObj,
List<Vteps> updatedVtepList,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tepIpAddress,
String tzName,
BigInteger dpid,
String portName,
boolean ofTunnel,
TypedWriteTransaction<Datastore.Configuration> tx)
Adds the TEP into Vtep list in the subnet list in the transport zone list
from ITM configuration Datastore by merge operation with write transaction.
|
protected static void |
addVtepIntoTepsNotHosted(List<UnknownVteps> updatedVtepList,
String tzName,
TypedWriteTransaction<Datastore.Operational> tx)
Adds the TEP into Unknown Vtep list under the transport zone in the TepsNotHosted list
from ITM operational Datastore by merge operation with write transaction.
|
public static List<com.google.common.util.concurrent.ListenableFuture<Void>> addTepReceivedFromOvsdb(String tepIp, String strDpnId, String tzName, boolean ofTunnel, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, ManagedNewTransactionRunner txRunner)
tepIp
- TEP-IP address in stringstrDpnId
- bridge datapath ID in stringtzName
- transport zone name in stringofTunnel
- boolean flag for TEP to enable/disable of-tunnel feature on itdataBroker
- data broker handle to perform operations on config/operational datastoretxRunner
- ManagedTransactionRunner objectpublic static void addVtepInITMConfigDS(List<Subnets> subnetList, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix subnetMaskObj, List<Vteps> updatedVtepList, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tepIpAddress, String tzName, BigInteger dpid, String portName, boolean ofTunnel, TypedWriteTransaction<Datastore.Configuration> tx)
subnetList
- subnets list objectsubnetMaskObj
- subnet mask in IpPrefix objectupdatedVtepList
- updated Vteps list object which will have new TEP for additiontepIpAddress
- TEP IP address in IpAddress objecttzName
- transport zone name in stringdpid
- bridge datapath ID in BigIntegerportName
- port name as a part of VtepsKeyofTunnel
- boolean flag for TEP to enable/disable of-tunnel feature on ittx
- TypedWriteTransaction objectprotected static void addUnknownTzTepIntoTepsNotHosted(String tzName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tepIpAddress, BigInteger dpid, boolean ofTunnel, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, TypedWriteTransaction<Datastore.Operational> tx)
tzName
- transport zone name in stringtepIpAddress
- TEP IP address in IpAddress objectdpid
- bridge datapath ID in BigIntegerofTunnel
- boolean flag for TEP to enable/disable of-tunnel feature on itdataBroker
- data broker handle to perform operations on operational datastoretx
- TypedWriteTransaction objectprotected static void addVtepIntoTepsNotHosted(List<UnknownVteps> updatedVtepList, String tzName, TypedWriteTransaction<Datastore.Operational> tx)
updatedVtepList
- updated UnknownVteps list object which will have new TEP for addition
into TepsNotHostedtzName
- transport zone name in stringtx
- TypedWriteTransaction objectCopyright © 2019 OpenDaylight. All rights reserved.