debug CLI command for NETCONF
Change-Id: I42e25899c42f02c1456580e19d34a4a3ea9e83a7
diff --git a/cli/src/main/java/org/onosproject/cli/net/DeviceConfigSetterCommand.java b/cli/src/main/java/org/onosproject/cli/net/DeviceConfigSetterCommand.java
index 2156a06..4b88266 100644
--- a/cli/src/main/java/org/onosproject/cli/net/DeviceConfigSetterCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/net/DeviceConfigSetterCommand.java
@@ -31,13 +31,15 @@
*
* This is a temporary development tool for use until yang integration is complete.
* This uses a not properly specified behavior. DO NOT USE AS AN EXAMPLE.
+ *
+ * @deprecated in 1.10.0
*/
//Temporary Developer tool, NOT TO BE USED in production or as example for
// future commands.
//FIXME this should eventually be removed.
-
+@Deprecated
@Command(scope = "onos", name = "device-setconfiguration",
- description = "Sets the configuration of the specified file to the " +
+ description = "[Deprecated]Sets the configuration of the specified file to the " +
"specified device.")
public class DeviceConfigSetterCommand extends AbstractShellCommand {
@@ -51,6 +53,7 @@
@Override
protected void execute() {
+ print("[WARN] This command was marked deprecated in 1.10.0");
DriverService service = get(DriverService.class);
deviceId = DeviceId.deviceId(uri);
DriverHandler h = service.createHandler(deviceId);