Class NodeCopier


  • @Singleton
    public class NodeCopier
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeCopier​(org.opendaylight.mdsal.binding.api.DataBroker db)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <D extends org.opendaylight.genius.infra.Datastore>
      void
      copyGlobalNode​(java.util.Optional<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> srcGlobalNodeOptional, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> srcPath, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath, java.lang.Class<D> datastoreType, org.opendaylight.genius.infra.TypedReadWriteTransaction<D> tx)  
      <D extends org.opendaylight.genius.infra.Datastore>
      void
      copyPSNode​(java.util.Optional<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> srcPsNodeOptional, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> srcPsPath, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPsPath, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstGlobalPath, java.lang.Class<D> datastoreType, org.opendaylight.genius.infra.TypedReadWriteTransaction<D> tx)  
      void mergeOpManagedByAttributes​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.PhysicalSwitchAugmentation psAugmentation, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.PhysicalSwitchAugmentationBuilder builder, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haNodePath)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeCopier

        @Inject
        public NodeCopier​(org.opendaylight.mdsal.binding.api.DataBroker db)
    • Method Detail

      • copyGlobalNode

        public <D extends org.opendaylight.genius.infra.Datastore> void copyGlobalNode​(java.util.Optional<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> srcGlobalNodeOptional,
                                                                                       org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> srcPath,
                                                                                       org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPath,
                                                                                       java.lang.Class<D> datastoreType,
                                                                                       org.opendaylight.genius.infra.TypedReadWriteTransaction<D> tx)
                                                                                throws java.util.concurrent.ExecutionException,
                                                                                       java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • copyPSNode

        public <D extends org.opendaylight.genius.infra.Datastore> void copyPSNode​(java.util.Optional<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> srcPsNodeOptional,
                                                                                   org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> srcPsPath,
                                                                                   org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstPsPath,
                                                                                   org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> dstGlobalPath,
                                                                                   java.lang.Class<D> datastoreType,
                                                                                   org.opendaylight.genius.infra.TypedReadWriteTransaction<D> tx)
                                                                            throws java.util.concurrent.ExecutionException,
                                                                                   java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • mergeOpManagedByAttributes

        public void mergeOpManagedByAttributes​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.PhysicalSwitchAugmentation psAugmentation,
                                               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.PhysicalSwitchAugmentationBuilder builder,
                                               org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> haNodePath)