Class HwvtepUtils
- java.lang.Object
-
- org.opendaylight.genius.utils.hwvtep.HwvtepUtils
-
public final class HwvtepUtils extends java.lang.Object
Utility class to related to Hardware VTEP devices.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
addLogicalSwitch(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches logicalSwitch)
Deprecated.static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
addLogicalSwitch(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches logicalSwitch)
Deprecated.static void
addLogicalSwitch(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches logicalSwitch)
Adds the logical switch.static void
addRemoteMcastMac(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<? extends org.opendaylight.mdsal.binding.util.Datastore> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs remoteMcastMac)
Store a remote multicast MAC.static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
addRemoteMcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> lstRemoteMcastMacs)
Adds the remote mcast macs into config DS.static void
addRemoteUcastMac(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs remoteUcastMac)
Adds the given remote unicast MAC.static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
addRemoteUcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs> lstRemoteUcastMacs)
Deprecated.static void
addRemoteUcastMacs(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.Iterable<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs> remoteUcastMacs)
Adds the given remote unicast MACs.static void
addUcastMacs(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, java.lang.String deviceNodeId, java.lang.Iterable<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress> macAddresses, java.lang.String logicalSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress remoteVtepIp)
Adds unicast MACs.static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
deleteLogicalSwitch(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName)
Deprecated.static void
deleteLogicalSwitch(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName)
Deprecated.static void
deleteLogicalSwitch(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName)
Deletes the given logical switch.static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
deleteRemoteMcastMac(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey)
static void
deleteRemoteMcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey)
static void
deleteRemoteMcastMac(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey)
Deletes the given remote multicast MAC.static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
deleteRemoteMcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey> lstRemoteMcastMacsKey)
Delete remote mcast macs from config DS.static void
deleteRemoteMcastMacs(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey> lstRemoteMcastMacsKey)
Delete remote mcast macs from the transaction.static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
deleteRemoteUcastMac(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
static void
deleteRemoteUcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logialSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
static void
deleteRemoteUcastMac(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress macAddress)
Deletes the given remote unicast MAC.static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
deleteRemoteUcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> lstMac)
static void
deleteRemoteUcastMacs(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> lstMac)
static void
deleteRemoteUcastMacs(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, java.lang.Iterable<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> macAddresses)
Deletes the given remote unicast MACs.static void
deleteVlanBinding(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId physicalSwitchNodeId, java.lang.String phyPortName, java.lang.Integer vlanId)
Deprecated.static void
deleteVlanBinding(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId physicalSwitchNodeId, java.lang.String phyPortName, java.lang.Integer vlanId)
Deletes the given VLAN binding.static java.lang.String
getDbVersion(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
Deprecated.static java.lang.String
getDbVersion(org.opendaylight.mdsal.binding.util.TypedReadTransaction<? extends org.opendaylight.mdsal.binding.util.Datastore> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
Retrieves the database version, as indicated by the hardware VTEP node.static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
getHwVtepNode(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
Deprecated.static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
getHwVtepNode(org.opendaylight.mdsal.binding.util.TypedReadTransaction<? extends org.opendaylight.mdsal.binding.util.Datastore> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
Retrieves the hardware VTEP node.static org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches
getLogicalSwitch(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName)
Deprecated.static @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches
getLogicalSwitch(org.opendaylight.mdsal.binding.util.TypedReadTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName)
Retrieves the logical switch.static org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches
getLogicalSwitches(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.String hwVtepNodeId, java.lang.String vni)
Get LogicalSwitches for a given hwVtepNodeId.static org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepPhysicalLocatorAugmentation
getPhysicalLocator(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress phyLocatorIp)
Gets the physical locator.static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint
getPhysicalPortTerminationPoint(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String portName)
Gets physical port termination point.static org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs
getRemoteMcastMac(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey)
Deprecated.static @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs
getRemoteMcastMac(org.opendaylight.mdsal.binding.util.TypedReadTransaction<? extends org.opendaylight.mdsal.binding.util.Datastore> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey)
Retrieve a remote multicast MAC.static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs>
getWildCardPathForLocalUcastMacs()
static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo>
installUcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.String deviceNodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress> macAddresses, java.lang.String logicalSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress remoteVtepIp)
static void
mergeVlanBindings(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String phySwitchName, java.lang.String phyPortName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical.port.attributes.VlanBindings> vlanBindings)
static void
mergeVlanBindings(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId physicalSwitchNodeId, java.lang.String phyPortName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical.port.attributes.VlanBindings> vlanBindings)
Deprecated.static void
mergeVlanBindings(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String phySwitchName, java.lang.String phyPortName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical.port.attributes.VlanBindings> vlanBindings)
Merges the given VLAN bindings.static void
mergeVlanBindings(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId physicalSwitchNodeId, java.lang.String phyPortName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical.port.attributes.VlanBindings> vlanBindings)
Merges the given VLAN bindings.static void
putLogicalSwitch(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches logicalSwitch)
Put logical switch in the transaction.static void
putLogicalSwitches(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches> lstSwitches)
Put the logical switches in the transaction.static void
putPhysicalLocator(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepPhysicalLocatorAugmentation phyLocator)
Put physical locator in the transaction.static void
putPhysicalLocators(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepPhysicalLocatorAugmentation> lstPhysicalLocator)
Put physical locators in the transaction.static void
putRemoteMcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs remoteMcastMac)
Deprecated.static void
putRemoteMcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs remoteMcastMac)
Deprecated.static void
putRemoteMcastMacs(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> lstRemoteMcastMacs)
Put remote mcast macs in the transaction.static void
putRemoteUcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs remoteUcastMac)
Deprecated.static void
putRemoteUcastMacs(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs> lstRemoteUcastMacs)
Deprecated.
-
-
-
Method Detail
-
getWildCardPathForLocalUcastMacs
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LocalUcastMacs> getWildCardPathForLocalUcastMacs()
-
addLogicalSwitch
@Deprecated public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> addLogicalSwitch(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches logicalSwitch)
Deprecated.Adds the logical switch into config DS.- Parameters:
broker
- the brokernodeId
- the node idlogicalSwitch
- the logical switch- Returns:
- the listenable future
-
addLogicalSwitch
@Deprecated public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> addLogicalSwitch(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches logicalSwitch)
Deprecated.
-
addLogicalSwitch
public static void addLogicalSwitch(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches logicalSwitch)
Adds the logical switch.- Parameters:
tx
- The configuration transaction.nodeId
- The node identifier.logicalSwitch
- The logical switch.
-
putLogicalSwitches
public static void putLogicalSwitches(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches> lstSwitches)
Put the logical switches in the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idlstSwitches
- the lst switches
-
putLogicalSwitch
public static void putLogicalSwitch(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches logicalSwitch)
Put logical switch in the transaction.- Parameters:
transaction
- the transactionlogicalDatastoreType
- the LogicalDatastoreTypenodeId
- the node idlogicalSwitch
- the logical switch
-
deleteLogicalSwitch
@Deprecated public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> deleteLogicalSwitch(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName)
Deprecated.Delete logical switch from config DS.- Parameters:
broker
- the brokernodeId
- the node idlogicalSwitchName
- the logical switch name- Returns:
- the listenable future
-
deleteLogicalSwitch
@Deprecated public static void deleteLogicalSwitch(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName)
Deprecated.Delete logical switch from the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idlogicalSwitchName
- the logical switch name
-
deleteLogicalSwitch
public static void deleteLogicalSwitch(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName)
Deletes the given logical switch.- Parameters:
tx
- The transaction.nodeId
- The node identifier.logicalSwitchName
- The logical switch name.
-
getLogicalSwitch
@Deprecated public static org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches getLogicalSwitch(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Deprecated.Gets the logical switch.- Parameters:
broker
- the brokerdatastoreType
- the datastore typenodeId
- the node idlogicalSwitchName
- the logical switch name- Returns:
- the logical switch
- Throws:
java.util.concurrent.ExecutionException
- in case of a technical (!) error while readingjava.lang.InterruptedException
- if the transaction is interrupted.
-
getLogicalSwitch
public static @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches getLogicalSwitch(org.opendaylight.mdsal.binding.util.TypedReadTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName)
Retrieves the logical switch.- Parameters:
tx
- The transaction to use.nodeId
- The node identifier.logicalSwitchName
- The logical switch name.- Returns:
- The logical switch, if any.
-
getPhysicalPortTerminationPoint
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint getPhysicalPortTerminationPoint(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String portName) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Gets physical port termination point.- Parameters:
broker
- the brokerdatastoreType
- the datastore typenodeId
- the physical switch node idportName
- port name under physical switch node id- Returns:
- the physical port termination point
- Throws:
java.util.concurrent.ExecutionException
- in case of a technical (!) error while readingjava.lang.InterruptedException
- if the transaction is interrupted.
-
getLogicalSwitches
public static org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches getLogicalSwitches(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.String hwVtepNodeId, java.lang.String vni) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Get LogicalSwitches for a given hwVtepNodeId.- Parameters:
broker
- the brokerhwVtepNodeId
- Hardware VTEP Node Idvni
- virtual network id- Returns:
- the logical switches
- Throws:
java.util.concurrent.ExecutionException
- in case of a technical (!) error while readingjava.lang.InterruptedException
- if the transaction is interrupted.
-
putPhysicalLocators
public static void putPhysicalLocators(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepPhysicalLocatorAugmentation> lstPhysicalLocator)
Put physical locators in the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idlstPhysicalLocator
- the lst physical locator
-
putPhysicalLocator
public static void putPhysicalLocator(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepPhysicalLocatorAugmentation phyLocator)
Put physical locator in the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idphyLocator
- the phy locator
-
getPhysicalLocator
public static org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepPhysicalLocatorAugmentation getPhysicalLocator(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress phyLocatorIp) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Gets the physical locator.- Parameters:
broker
- the brokerdatastoreType
- the datastore typenodeId
- the node idphyLocatorIp
- the phy locator ip- Returns:
- the physical locator
- Throws:
java.util.concurrent.ExecutionException
- in case of a technical (!) error while readingjava.lang.InterruptedException
- if the transaction is interrupted.
-
addRemoteUcastMacs
@Deprecated public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> addRemoteUcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs> lstRemoteUcastMacs)
Deprecated.Adds the remote ucast macs into config DS.- Parameters:
broker
- the brokernodeId
- the node idlstRemoteUcastMacs
- the lst remote ucast macs- Returns:
- the listenable future
-
addRemoteUcastMacs
public static void addRemoteUcastMacs(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.Iterable<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs> remoteUcastMacs)
Adds the given remote unicast MACs.- Parameters:
tx
- The transaction to use.nodeId
- The node identifier.remoteUcastMacs
- The MACs to add.
-
addRemoteUcastMac
public static void addRemoteUcastMac(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs remoteUcastMac)
Adds the given remote unicast MAC.- Parameters:
tx
- The transaction to use.nodeId
- The node identifier.remoteUcastMac
- The MAC to add.
-
putRemoteUcastMacs
@Deprecated public static void putRemoteUcastMacs(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs> lstRemoteUcastMacs)
Deprecated.Put remote ucast macs in the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idlstRemoteUcastMacs
- the lst remote ucast macs
-
putRemoteUcastMac
@Deprecated public static void putRemoteUcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteUcastMacs remoteUcastMac)
Deprecated.Put remote ucast mac in the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idremoteUcastMac
- the remote ucast mac
-
deleteRemoteUcastMac
@Deprecated public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> deleteRemoteUcastMac(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
Delete remote ucast mac from the config DS.- Parameters:
broker
- the brokernodeId
- the node idlogicalSwitchName
- the logical switch namemac
- the mac- Returns:
- the listenable future
-
deleteRemoteUcastMac
@Deprecated public static void deleteRemoteUcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logialSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
Delete remote ucast mac from the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idlogialSwitchName
- the logical switch namemac
- the mac
-
deleteRemoteUcastMac
public static void deleteRemoteUcastMac(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress macAddress)
Deletes the given remote unicast MAC.- Parameters:
tx
- The transaction to use.nodeId
- The node identifier.logicalSwitchName
- The logical switch name.macAddress
- The MAC.
-
deleteRemoteUcastMacs
@Deprecated public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> deleteRemoteUcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> lstMac)
Delete remote ucast macs from the config DS.- Parameters:
broker
- the brokernodeId
- the node idlogicalSwitchName
- the logical switch namelstMac
- the lst mac- Returns:
- the listenable future
-
deleteRemoteUcastMacs
@Deprecated public static void deleteRemoteUcastMacs(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> lstMac)
Delete remote ucast macs from the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idlogicalSwitchName
- the logical switch namelstMac
- the lst mac
-
deleteRemoteUcastMacs
public static void deleteRemoteUcastMacs(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, java.lang.Iterable<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> macAddresses)
Deletes the given remote unicast MACs.- Parameters:
tx
- The transaction to use.nodeId
- The node identifier.logicalSwitchName
- The logical switch name.macAddresses
- The MAC addresses.
-
addRemoteMcastMacs
public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> addRemoteMcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> lstRemoteMcastMacs)
Adds the remote mcast macs into config DS.- Parameters:
broker
- the brokernodeId
- the node idlstRemoteMcastMacs
- the lst remote mcast macs- Returns:
- the listenable future
-
putRemoteMcastMacs
public static void putRemoteMcastMacs(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> lstRemoteMcastMacs)
Put remote mcast macs in the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idlstRemoteMcastMacs
- the lst remote mcast macs
-
putRemoteMcastMac
@Deprecated public static void putRemoteMcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs remoteMcastMac)
Deprecated.Put remote mcast mac in the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idremoteMcastMac
- the remote mcast mac
-
putRemoteMcastMac
@Deprecated public static void putRemoteMcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs remoteMcastMac)
Deprecated.Adds a remote multicast MAC.- Parameters:
transaction
- the transactionlogicalDatastoreType
- the LogicalDatastoreTypenodeId
- the node idremoteMcastMac
- the remote mcast mac
-
addRemoteMcastMac
public static void addRemoteMcastMac(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<? extends org.opendaylight.mdsal.binding.util.Datastore> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs remoteMcastMac)
Store a remote multicast MAC.- Parameters:
tx
- The transaction.nodeId
- The node identifier.remoteMcastMac
- The remote multicast MAC.
-
getRemoteMcastMac
@Deprecated public static org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs getRemoteMcastMac(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Deprecated.Gets the remote mcast mac.- Parameters:
broker
- the brokerdatastoreType
- the datastore typenodeId
- the node idremoteMcastMacsKey
- the remote mcast macs key- Returns:
- the remote mcast mac
- Throws:
java.util.concurrent.ExecutionException
- in case of a technical (!) error while readingjava.lang.InterruptedException
- if the transaction is interrupted.
-
getRemoteMcastMac
public static @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs getRemoteMcastMac(org.opendaylight.mdsal.binding.util.TypedReadTransaction<? extends org.opendaylight.mdsal.binding.util.Datastore> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey)
Retrieve a remote multicast MAC.- Parameters:
tx
- The transction to use.nodeId
- The node identifier.remoteMcastMacsKey
- The MAC key.- Returns:
- The MAC, if any (
null
if there is none).
-
deleteRemoteMcastMac
@Deprecated public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> deleteRemoteMcastMac(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey)
Delete remote mcast mac from config DS.- Parameters:
broker
- the brokernodeId
- the node idremoteMcastMacsKey
- the remote mcast macs key- Returns:
- the listenable future
-
deleteRemoteMcastMac
@Deprecated public static void deleteRemoteMcastMac(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey)
Delete remote mcast mac from the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idremoteMcastMacsKey
- the remote mcast macs key
-
deleteRemoteMcastMac
public static void deleteRemoteMcastMac(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey remoteMcastMacsKey)
Deletes the given remote multicast MAC.- Parameters:
tx
- The configuration transaction.nodeId
- The node identifier.remoteMcastMacsKey
- The remote multicast MAC key.
-
deleteRemoteMcastMacs
public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> deleteRemoteMcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey> lstRemoteMcastMacsKey)
Delete remote mcast macs from config DS.- Parameters:
broker
- the brokernodeId
- the node idlstRemoteMcastMacsKey
- the lst remote mcast macs key- Returns:
- the listenable future
-
deleteRemoteMcastMacs
public static void deleteRemoteMcastMacs(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacsKey> lstRemoteMcastMacsKey)
Delete remote mcast macs from the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idlstRemoteMcastMacsKey
- the lst remote mcast macs key
-
mergeVlanBindings
@Deprecated public static void mergeVlanBindings(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String phySwitchName, java.lang.String phyPortName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical.port.attributes.VlanBindings> vlanBindings)
Merge vlan bindings in the transaction.- Parameters:
transaction
- the transactionnodeId
- the node idphySwitchName
- the phy switch namephyPortName
- the phy port namevlanBindings
- the vlan bindings
-
mergeVlanBindings
public static void mergeVlanBindings(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String phySwitchName, java.lang.String phyPortName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical.port.attributes.VlanBindings> vlanBindings)
Merges the given VLAN bindings.- Parameters:
tx
- The transaction to use.nodeId
- The node identifier.phySwitchName
- The physical switch name.phyPortName
- The physical port name.vlanBindings
- The VLAN bindings.
-
mergeVlanBindings
@Deprecated public static void mergeVlanBindings(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId physicalSwitchNodeId, java.lang.String phyPortName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical.port.attributes.VlanBindings> vlanBindings)
Deprecated.Merge vlan bindings in the transaction.- Parameters:
transaction
- the transactionphysicalSwitchNodeId
- the physical switch node idphyPortName
- the phy port namevlanBindings
- the vlan bindings
-
mergeVlanBindings
public static void mergeVlanBindings(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId physicalSwitchNodeId, java.lang.String phyPortName, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical.port.attributes.VlanBindings> vlanBindings)
Merges the given VLAN bindings.- Parameters:
tx
- The transaction to use.physicalSwitchNodeId
- The physical switch’s node identifier.phyPortName
- The physical port name.vlanBindings
- The VLAN bindings.
-
deleteVlanBinding
@Deprecated public static void deleteVlanBinding(org.opendaylight.mdsal.binding.api.WriteTransaction transaction, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId physicalSwitchNodeId, java.lang.String phyPortName, java.lang.Integer vlanId)
Deprecated.Delete vlan binding from transaction.- Parameters:
transaction
- the transactionphysicalSwitchNodeId
- the physical switch node idphyPortName
- the phy port namevlanId
- the vlan id
-
deleteVlanBinding
public static void deleteVlanBinding(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId physicalSwitchNodeId, java.lang.String phyPortName, java.lang.Integer vlanId)
Deletes the given VLAN binding.- Parameters:
tx
- The transaction to use.physicalSwitchNodeId
- The physical switch’s node identifier.phyPortName
- The physical port name.vlanId
- The VLAN identifier.
-
getHwVtepNode
@Deprecated public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node getHwVtepNode(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Deprecated.Gets the hw vtep node.- Parameters:
dataBroker
- the data brokerdatastoreType
- the datastore typenodeId
- the node id- Returns:
- the hw vtep node
- Throws:
java.util.concurrent.ExecutionException
- in case of a technical (!) error while readingjava.lang.InterruptedException
- if the transaction is interrupted.
-
getHwVtepNode
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node getHwVtepNode(org.opendaylight.mdsal.binding.util.TypedReadTransaction<? extends org.opendaylight.mdsal.binding.util.Datastore> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
Retrieves the hardware VTEP node.- Parameters:
tx
- The transaction.nodeId
- The node identifier.- Returns:
- The hardware VTEP node.
-
installUcastMacs
@Deprecated public static com.google.common.util.concurrent.FluentFuture<? extends @NonNull org.opendaylight.mdsal.common.api.CommitInfo> installUcastMacs(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.String deviceNodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress> macAddresses, java.lang.String logicalSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress remoteVtepIp)
Installs a list of Mac Addresses as remote Ucast address in an external device using the hwvtep-southbound.- Parameters:
broker
- the databrokerdeviceNodeId
- NodeId if the ExternalDevice where the macs must be installed in.macAddresses
- List of Mac addresses to be installed in the external device.logicalSwitchName
- the logical switch nameremoteVtepIp
- VTEP's IP in this OVS used for the tunnel with external device.- Returns:
- future if present
-
addUcastMacs
public static void addUcastMacs(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, java.lang.String deviceNodeId, java.lang.Iterable<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress> macAddresses, java.lang.String logicalSwitchName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress remoteVtepIp)
Adds unicast MACs.- Parameters:
tx
- The transaction to use.deviceNodeId
- The device’s node identifier.macAddresses
- The MAC addresses.logicalSwitchName
- The logical switch name.remoteVtepIp
- The remote VTEP IP address.
-
getDbVersion
@Deprecated public static java.lang.String getDbVersion(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Deprecated.Retrieves the database version.- Parameters:
broker
- the brokernodeId
- the node id- Returns:
- dbversion
- Throws:
java.util.concurrent.ExecutionException
- in case of a technical (!) error while readingjava.lang.InterruptedException
- if the transaction is interrupted.
-
getDbVersion
public static java.lang.String getDbVersion(org.opendaylight.mdsal.binding.util.TypedReadTransaction<? extends org.opendaylight.mdsal.binding.util.Datastore> tx, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
Retrieves the database version, as indicated by the hardware VTEP node.- Parameters:
tx
- The transaction.nodeId
- The node identifier.- Returns:
- The database version.
-
-