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();
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
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