X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fnetconf-console%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fconsole%2Fapi%2FNetconfCommands.java;h=bebfed6d0f9bfa0bb6842f43f721c14f34ffc710;hb=36951f8e33d35fa7e4512b64dc45e43527797ba5;hp=78fc0a1d9cb2ed1bd42c18734347f8b4f68bfbb8;hpb=d5db0ba4b6233134e2c90b88e2a4fc4d9590749a;p=netconf.git diff --git a/netconf/netconf-console/src/main/java/org/opendaylight/netconf/console/api/NetconfCommands.java b/netconf/netconf-console/src/main/java/org/opendaylight/netconf/console/api/NetconfCommands.java index 78fc0a1d9c..bebfed6d0f 100644 --- a/netconf/netconf-console/src/main/java/org/opendaylight/netconf/console/api/NetconfCommands.java +++ b/netconf/netconf-console/src/main/java/org/opendaylight/netconf/console/api/NetconfCommands.java @@ -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> listDevices(); @@ -40,15 +40,15 @@ public interface NetconfCommands { Map>> 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