Split out odl-netconf-device.yang
[netconf.git] / netconf / netconf-topology / src / main / java / org / opendaylight / netconf / topology / api / NetconfConnectorFactory.java
index 632c2f9e597ca13f0f3047ee6b05e32fdc487178..2f0fead844a71afdccdafcb9c6fcb1ee1a76bbcf 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.netconf.topology.api;
 
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode;
+import org.opendaylight.mdsal.binding.api.DataBroker;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev221225.NetconfNode;
 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
 
 /**
@@ -18,9 +18,11 @@ public interface NetconfConnectorFactory {
 
     /**
      * Create a new netconf connector with default values.
+     *
      * <p>
-     * This method will create a {@link Node} and a {@link NetconfNode} that will be added as an augmentation to the
-     * {@link Node}. Afterward, that {@link Node} will be written in the MDSAL datastore under the {@link NetconfTopology}.
+     * This method will create a {@link Node} and a {@link NetconfNode}
+     * that will be added as an augmentation to the {@link Node}.
+     * Afterward, that {@link Node} will be written in the MDSAL datastore under the {@link NetconfTopology}.
      * Listeners of that subtree located within network-topology bundle will setup the session.
      *
      * @param dataBroker Instance of the {@link DataBroker}
@@ -33,12 +35,12 @@ public interface NetconfConnectorFactory {
      * @param reconnectOnSchemaChange Whether to enable ietf-netconf-monitoring and register the NETCONF stream.
      * @return The created {@link Node}
      */
-    Node newInstance(final DataBroker dataBroker,
-                     final String instanceName,
-                     final String address,
-                     final Integer port,
-                     final String username,
-                     final String password,
-                     final Boolean tcpOnly,
-                     final Boolean reconnectOnSchemaChange);
+    Node newInstance(DataBroker dataBroker,
+                     String instanceName,
+                     String address,
+                     Integer port,
+                     String username,
+                     String password,
+                     Boolean tcpOnly,
+                     Boolean reconnectOnSchemaChange);
 }