Class HwvtepOperationalState
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.HwvtepOperationalState
-
public class HwvtepOperationalState extends Object
-
-
Constructor Summary
Constructors Constructor Description HwvtepOperationalState(org.opendaylight.controller.md.sal.binding.api.DataBroker db, HwvtepConnectionInstance connectionInstance, Collection<org.opendaylight.controller.md.sal.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.controller.md.sal.binding.api.DataBroker db, HwvtepConnectionInstance connectionInstance, Collection<org.opendaylight.controller.md.sal.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()
com.google.common.base.Optional<Acls>
getAcls(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Acls> iid)
HwvtepConnectionInstance
getConnectionInstance()
org.opendaylight.controller.md.sal.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()
com.google.common.base.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)
com.google.common.base.Optional<HwvtepGlobalAugmentation>
getHwvtepGlobalAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
com.google.common.base.Optional<LocalMcastMacs>
getLocalMcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LocalMcastMacsKey key)
com.google.common.base.Optional<LocalUcastMacs>
getLocalUcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LocalUcastMacsKey key)
com.google.common.base.Optional<LogicalRouters>
getLogicalRouters(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LogicalRoutersKey logicalRoutersKey)
com.google.common.base.Optional<LogicalSwitches>
getLogicalSwitches(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LogicalSwitchesKey logicalSwitchesKey)
com.google.common.base.Optional<LogicalSwitches>
getLogicalSwitches(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> iid)
com.google.common.base.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)
com.google.common.base.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)
com.google.common.base.Optional<HwvtepPhysicalPortAugmentation>
getPhysicalPortAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, HwvtepNodeName hwvtepNodeName)
com.google.common.base.Optional<PhysicalSwitchAugmentation>
getPhysicalSwitchAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction
getReadWriteTransaction()
com.google.common.base.Optional<RemoteMcastMacs>
getRemoteMcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, RemoteMcastMacsKey key)
com.google.common.base.Optional<RemoteUcastMacs>
getRemoteUcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, RemoteUcastMacsKey key)
com.google.common.base.Optional<List<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)
com.google.common.base.Optional<Tunnels>
getTunnels(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, TunnelsKey tunnelsKey)
com.google.common.base.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.controller.md.sal.binding.api.DataBroker db, HwvtepConnectionInstance connectionInstance, Collection<org.opendaylight.controller.md.sal.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.controller.md.sal.binding.api.DataBroker db, HwvtepConnectionInstance connectionInstance, Collection<org.opendaylight.controller.md.sal.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 com.google.common.base.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 com.google.common.base.Optional<HwvtepGlobalAugmentation> getHwvtepGlobalAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
-
getPhysicalSwitchAugmentation
public com.google.common.base.Optional<PhysicalSwitchAugmentation> getPhysicalSwitchAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
-
getTerminationPointList
public com.google.common.base.Optional<List<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 com.google.common.base.Optional<LogicalSwitches> getLogicalSwitches(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LogicalSwitchesKey logicalSwitchesKey)
-
getLogicalSwitches
public com.google.common.base.Optional<LogicalSwitches> getLogicalSwitches(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> iid)
-
getTunnels
public com.google.common.base.Optional<Tunnels> getTunnels(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, TunnelsKey tunnelsKey)
-
getTunnels
public com.google.common.base.Optional<Tunnels> getTunnels(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Tunnels> iid)
-
getPhysicalPortAugmentation
public com.google.common.base.Optional<HwvtepPhysicalPortAugmentation> getPhysicalPortAugmentation(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, HwvtepNodeName hwvtepNodeName)
-
getPhysicalLocatorAugmentation
public com.google.common.base.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 com.google.common.base.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 com.google.common.base.Optional<LocalMcastMacs> getLocalMcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LocalMcastMacsKey key)
-
getRemoteMcastMacs
public com.google.common.base.Optional<RemoteMcastMacs> getRemoteMcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, RemoteMcastMacsKey key)
-
getLocalUcastMacs
public com.google.common.base.Optional<LocalUcastMacs> getLocalUcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LocalUcastMacsKey key)
-
getRemoteUcastMacs
public com.google.common.base.Optional<RemoteUcastMacs> getRemoteUcastMacs(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, RemoteUcastMacsKey key)
-
getLogicalRouters
public com.google.common.base.Optional<LogicalRouters> getLogicalRouters(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, LogicalRoutersKey logicalRoutersKey)
-
getAcls
public com.google.common.base.Optional<Acls> getAcls(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Acls> iid)
-
getReadWriteTransaction
public org.opendaylight.controller.md.sal.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.controller.md.sal.binding.api.DataBroker getDataBroker()
-
clearIntransitKeys
public void clearIntransitKeys()
-
-