Class HwvtepOperationalState
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.HwvtepOperationalState
-
public class HwvtepOperationalState extends Object
-
-
Constructor Summary
Constructors Constructor Description HwvtepOperationalState(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepConnectionInstance connectionInstance, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes)
HwvtepOperationalState(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepConnectionInstance connectionInstance, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node globalOperNode, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node psNode)
HwvtepOperationalState(HwvtepConnectionInstance connectionInstance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearIntransitKeys()
Optional<Acls>
getAcls(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Acls> iid)
HwvtepConnectionInstance
getConnectionInstance()
org.opendaylight.mdsal.binding.api.DataBroker
getDataBroker()
List<? extends org.opendaylight.yangtools.yang.binding.Identifiable>
getDeletedData(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> key, Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls)
Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier>
getDeletedKeysInCurrentTx(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls)
HwvtepDeviceInfo
getDeviceInfo()
Optional<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
getGlobalNode(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
Optional<HwvtepGlobalAugmentation>
getHwvtepGlobalAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
Optional<LocalMcastMacs>
getLocalMcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LocalMcastMacsKey key)
Optional<LocalUcastMacs>
getLocalUcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LocalUcastMacsKey key)
Optional<LogicalRouters>
getLogicalRouters(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LogicalRoutersKey logicalRoutersKey)
Optional<LogicalSwitches>
getLogicalSwitches(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LogicalSwitchesKey logicalSwitchesKey)
Optional<LogicalSwitches>
getLogicalSwitches(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> iid)
Optional<HwvtepPhysicalLocatorAugmentation>
getPhysicalLocatorAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress dstIp, Class<? extends EncapsulationTypeBase> encapType)
Optional<HwvtepPhysicalLocatorAugmentation>
getPhysicalLocatorAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint> iid)
UUID
getPhysicalLocatorInFlight(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint> iid)
Optional<HwvtepPhysicalPortAugmentation>
getPhysicalPortAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, HwvtepNodeName hwvtepNodeName)
Optional<PhysicalSwitchAugmentation>
getPhysicalSwitchAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
org.opendaylight.mdsal.binding.api.ReadWriteTransaction
getReadWriteTransaction()
Optional<RemoteMcastMacs>
getRemoteMcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, RemoteMcastMacsKey key)
Optional<RemoteUcastMacs>
getRemoteUcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, RemoteUcastMacsKey key)
Optional<Map<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPointKey,org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint>>
getTerminationPointList(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
long
getTransactionId()
Optional<Tunnels>
getTunnels(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, TunnelsKey tunnelsKey)
Optional<Tunnels>
getTunnels(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Tunnels> iid)
List<? extends org.opendaylight.yangtools.yang.binding.Identifiable>
getUpdatedData(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> key, Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls)
UUID
getUUIDFromCurrentTx(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
boolean
isInReconciliation()
boolean
isKeyPartOfCurrentTx(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
void
readOperationalNodes()
void
setInReconciliation(boolean inReconciliation)
void
setModifiedData(Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>,org.apache.commons.lang3.tuple.Pair<Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,List<org.opendaylight.yangtools.yang.binding.Identifiable>>,Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,List<org.opendaylight.yangtools.yang.binding.Identifiable>>>> modifiedData)
void
setPhysicalLocatorInFlight(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint> iid, UUID uuid)
void
updateCurrentTxData(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier key, UUID uuid)
void
updateCurrentTxDeleteData(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
-
-
-
Constructor Detail
-
HwvtepOperationalState
public HwvtepOperationalState(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepConnectionInstance connectionInstance, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes)
-
HwvtepOperationalState
public HwvtepOperationalState(HwvtepConnectionInstance connectionInstance)
-
HwvtepOperationalState
public HwvtepOperationalState(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepConnectionInstance connectionInstance, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node globalOperNode, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node psNode)
-
-
Method Detail
-
readOperationalNodes
public void readOperationalNodes()
-
getGlobalNode
public Optional<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getGlobalNode(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
-
getHwvtepGlobalAugmentation
public Optional<HwvtepGlobalAugmentation> getHwvtepGlobalAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
-
getPhysicalSwitchAugmentation
public Optional<PhysicalSwitchAugmentation> getPhysicalSwitchAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
-
getTerminationPointList
public Optional<Map<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPointKey,org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint>> getTerminationPointList(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
-
getLogicalSwitches
public Optional<LogicalSwitches> getLogicalSwitches(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LogicalSwitchesKey logicalSwitchesKey)
-
getLogicalSwitches
public Optional<LogicalSwitches> getLogicalSwitches(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> iid)
-
getTunnels
public Optional<Tunnels> getTunnels(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, TunnelsKey tunnelsKey)
-
getTunnels
public Optional<Tunnels> getTunnels(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Tunnels> iid)
-
getPhysicalPortAugmentation
public Optional<HwvtepPhysicalPortAugmentation> getPhysicalPortAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, HwvtepNodeName hwvtepNodeName)
-
getPhysicalLocatorAugmentation
public Optional<HwvtepPhysicalLocatorAugmentation> getPhysicalLocatorAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress dstIp, Class<? extends EncapsulationTypeBase> encapType)
-
getPhysicalLocatorAugmentation
public Optional<HwvtepPhysicalLocatorAugmentation> getPhysicalLocatorAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint> iid)
-
getLocalMcastMacs
public Optional<LocalMcastMacs> getLocalMcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LocalMcastMacsKey key)
-
getRemoteMcastMacs
public Optional<RemoteMcastMacs> getRemoteMcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, RemoteMcastMacsKey key)
-
getLocalUcastMacs
public Optional<LocalUcastMacs> getLocalUcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LocalUcastMacsKey key)
-
getRemoteUcastMacs
public Optional<RemoteUcastMacs> getRemoteUcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, RemoteUcastMacsKey key)
-
getLogicalRouters
public Optional<LogicalRouters> getLogicalRouters(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LogicalRoutersKey logicalRoutersKey)
-
getAcls
public Optional<Acls> getAcls(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Acls> iid)
-
getReadWriteTransaction
public org.opendaylight.mdsal.binding.api.ReadWriteTransaction getReadWriteTransaction()
-
setPhysicalLocatorInFlight
public void setPhysicalLocatorInFlight(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint> iid, UUID uuid)
-
getPhysicalLocatorInFlight
public UUID getPhysicalLocatorInFlight(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint> iid)
-
getConnectionInstance
public HwvtepConnectionInstance getConnectionInstance()
-
getDeviceInfo
public HwvtepDeviceInfo getDeviceInfo()
-
updateCurrentTxData
public void updateCurrentTxData(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier key, UUID uuid)
-
updateCurrentTxDeleteData
public void updateCurrentTxDeleteData(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
-
getUUIDFromCurrentTx
public UUID getUUIDFromCurrentTx(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
-
isKeyPartOfCurrentTx
public boolean isKeyPartOfCurrentTx(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier key)
-
getDeletedKeysInCurrentTx
public Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier> getDeletedKeysInCurrentTx(Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls)
-
getUpdatedData
public List<? extends org.opendaylight.yangtools.yang.binding.Identifiable> getUpdatedData(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> key, Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls)
-
getDeletedData
public List<? extends org.opendaylight.yangtools.yang.binding.Identifiable> getDeletedData(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> key, Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls)
-
setModifiedData
public void setModifiedData(Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>,org.apache.commons.lang3.tuple.Pair<Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,List<org.opendaylight.yangtools.yang.binding.Identifiable>>,Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,List<org.opendaylight.yangtools.yang.binding.Identifiable>>>> modifiedData)
-
isInReconciliation
public boolean isInReconciliation()
-
setInReconciliation
public void setInReconciliation(boolean inReconciliation)
-
getDataBroker
public org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
-
clearIntransitKeys
public void clearIntransitKeys()
-
getTransactionId
public long getTransactionId()
-
-