Class OpNodeUpdatedHandler
- java.lang.Object
-
- org.opendaylight.netvirt.elan.l2gw.ha.handlers.OpNodeUpdatedHandler
-
public class OpNodeUpdatedHandler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OpNodeUpdatedHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyChildGlobalOpUpdateToHAParent(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haPath, org.opendaylight.mdsal.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.Operational> tx)
Copy updated data from HA node to child node of operational data tree.void
copyChildPsOpUpdateToHAParent(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node updatedSrcPSNode, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haPath, org.opendaylight.mdsal.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.Operational> tx)
Copy HA ps node update to HA child ps node of operational data tree.
-
-
-
Method Detail
-
copyChildPsOpUpdateToHAParent
public void copyChildPsOpUpdateToHAParent(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node updatedSrcPSNode, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haPath, org.opendaylight.mdsal.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.Operational> tx)
Copy HA ps node update to HA child ps node of operational data tree.- Parameters:
updatedSrcPSNode
- Updated HA child ps nodehaPath
- HA node pathmod
- the data object modificationtx
- Transaction
-
copyChildGlobalOpUpdateToHAParent
public void copyChildGlobalOpUpdateToHAParent(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haPath, org.opendaylight.mdsal.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.Operational> tx)
Copy updated data from HA node to child node of operational data tree.- Parameters:
haPath
- HA node pathmod
- the data object modificationtx
- Transaction
-
-