Split out odl-netconf-device.yang
[netconf.git] / netconf / netconf-console / src / main / java / org / opendaylight / netconf / console / api / NetconfCommands.java
index 78fc0a1d9cb2ed1bd42c18734347f8b4f68bfbb8..bebfed6d0f9bfa0bb6842f43f721c14f34ffc710 100644 (file)
@@ -10,13 +10,13 @@ package org.opendaylight.netconf.console.api;
 
 import java.util.List;
 import java.util.Map;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev221225.NetconfNode;
 
 public interface NetconfCommands {
 
     /**
      * Returns a Hashmap with NETCONF ID as outer key and
-     * inner keys representing attributes of a NETCONF device
+     * inner keys representing attributes of a NETCONF device.
      * @return :Hashmap with two keys for all NETCONF devices in topology
      */
     Map<String, Map<String, String>> listDevices();
@@ -40,15 +40,15 @@ public interface NetconfCommands {
     Map<String, Map<String, List<String>>> showDevice(String deviceId);
 
     /**
-     * Add a NETCONF connector
+     * Add a NETCONF connector.
      * @param netconfNode :An instance of {@link NetconfNode} containing
-     * all required information
+     *     all required information
      * @param deviceId :NETCONF node ID
      */
     void connectDevice(NetconfNode netconfNode, String deviceId);
 
     /**
-     * Disconnect a NETCONF connector
+     * Disconnect a NETCONF connector.
      * @param deviceIp :IP address of NETCONF device
      * @param devicePort :Port of NETCONF device
      * @return :Status of disconnect NETCONF connector
@@ -56,14 +56,14 @@ public interface NetconfCommands {
     boolean disconnectDevice(String deviceIp, String devicePort);
 
     /**
-     * Disconnect a NETCONF connector
+     * Disconnect a NETCONF connector.
      * @param deviceId :Node id of NETCONF device
      * @return :Status of disconnect NETCONF connector
      */
     boolean disconnectDevice(String deviceId);
 
     /**
-     * Update the NETCONF device for requested values
+     * Update the NETCONF device for requested values.
      * @param deviceId :NETCONF node ID
      * @param username :Username for NETCONF device
      * @param password :Password for NETCONF device