Class HwvtepNodeHACacheImpl
- java.lang.Object
-
- org.opendaylight.genius.utils.hwvtep.internal.HwvtepNodeHACacheImpl
-
- All Implemented Interfaces:
HwvtepNodeHACache
@Singleton public class HwvtepNodeHACacheImpl extends java.lang.Object implements HwvtepNodeHACache
Implementation of HwvtepNodeHACache.- Author:
- Thomas Pantelis
-
-
Constructor Summary
Constructors Constructor Description HwvtepNodeHACacheImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> childId)
java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>>
getChildrenForHANode(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId)
java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>>
getHAChildNodes()
java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>>
getHAParentNodes()
java.util.Map<java.lang.String,java.lang.Boolean>
getNodeConnectionStatuses()
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
getParent(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> childId)
boolean
isHAEnabledDevice(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
boolean
isHAParentNode(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeId)
void
removeParent(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId)
void
updateConnectedNodeStatus(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid)
void
updateDisconnectedNodeStatus(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid)
-
-
-
Method Detail
-
addChild
public void addChild(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> childId)
- Specified by:
addChild
in interfaceHwvtepNodeHACache
-
isHAEnabledDevice
public boolean isHAEnabledDevice(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
- Specified by:
isHAEnabledDevice
in interfaceHwvtepNodeHACache
-
isHAParentNode
public boolean isHAParentNode(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeId)
- Specified by:
isHAParentNode
in interfaceHwvtepNodeHACache
-
getChildrenForHANode
public java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> getChildrenForHANode(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId)
- Specified by:
getChildrenForHANode
in interfaceHwvtepNodeHACache
-
getHAParentNodes
public java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> getHAParentNodes()
- Specified by:
getHAParentNodes
in interfaceHwvtepNodeHACache
-
getHAChildNodes
public java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> getHAChildNodes()
- Specified by:
getHAChildNodes
in interfaceHwvtepNodeHACache
-
getParent
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getParent(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> childId)
- Specified by:
getParent
in interfaceHwvtepNodeHACache
-
removeParent
public void removeParent(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId)
- Specified by:
removeParent
in interfaceHwvtepNodeHACache
-
updateConnectedNodeStatus
public void updateConnectedNodeStatus(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid)
- Specified by:
updateConnectedNodeStatus
in interfaceHwvtepNodeHACache
-
updateDisconnectedNodeStatus
public void updateDisconnectedNodeStatus(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid)
- Specified by:
updateDisconnectedNodeStatus
in interfaceHwvtepNodeHACache
-
getNodeConnectionStatuses
public java.util.Map<java.lang.String,java.lang.Boolean> getNodeConnectionStatuses()
- Specified by:
getNodeConnectionStatuses
in interfaceHwvtepNodeHACache
-
-