Class ConfigNodeUpdatedHandler
- java.lang.Object
-
- org.opendaylight.netvirt.elan.l2gw.ha.handlers.ConfigNodeUpdatedHandler
-
public class ConfigNodeUpdatedHandler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConfigNodeUpdatedHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyHAGlobalUpdateToChild(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haChildNodeId, org.opendaylight.controller.md.sal.binding.api.DataObjectModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> mod, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx)
Copy updated data from HA node to child node of config data tree.void
copyHAPSUpdateToChild(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haChildNodeId, org.opendaylight.controller.md.sal.binding.api.DataObjectModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> mod, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx)
Copy HA ps node update to HA child ps node of config data tree.
-
-
-
Method Detail
-
copyHAGlobalUpdateToChild
public void copyHAGlobalUpdateToChild(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haChildNodeId, org.opendaylight.controller.md.sal.binding.api.DataObjectModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> mod, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx)
Copy updated data from HA node to child node of config data tree.- Parameters:
haChildNodeId
- HA child node which needs to be updatedmod
- the data object modificationtx
- Transaction
-
copyHAPSUpdateToChild
public void copyHAPSUpdateToChild(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haChildNodeId, org.opendaylight.controller.md.sal.binding.api.DataObjectModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> mod, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> tx)
Copy HA ps node update to HA child ps node of config data tree.- Parameters:
haChildNodeId
- HA child node which needs to be updatedmod
- the data object modificationtx
- Transaction
-
-