[ONOS-6076] Moving tl1,snmp,rest netcfg to devices key
Change-Id: I332d6b9a3afad5bc8461f6bb94e2d0a3c2ca643e
diff --git a/tools/test/configs/restSB-cfg-old.json b/tools/test/configs/restSB-cfg-old.json
new file mode 100644
index 0000000..f7aa152
--- /dev/null
+++ b/tools/test/configs/restSB-cfg-old.json
@@ -0,0 +1,20 @@
+{
+ "devices": {
+ "rest:127.0.0.1:8080": {
+ "basic": {
+ "driver": "restCiena"
+ }
+ }
+ },
+ "apps": {
+ "org.onosproject.restsb": {
+ "devices": [{
+ "username": "dev",
+ "password": "",
+ "ip": "127.0.0.1",
+ "port": 8080,
+ "protocol": "http"
+ }]
+ }
+ }
+}
\ No newline at end of file
diff --git a/tools/test/configs/restSB-cfg.json b/tools/test/configs/restSB-cfg.json
index f7aa152..2ab6ab6 100644
--- a/tools/test/configs/restSB-cfg.json
+++ b/tools/test/configs/restSB-cfg.json
@@ -1,20 +1,16 @@
{
"devices": {
"rest:127.0.0.1:8080": {
+ "rest": {
+ "ip": "127.0.0.1",
+ "port": 8080,
+ "username": "dev",
+ "password": "dev",
+ "protocol": "http"
+ },
"basic": {
"driver": "restCiena"
}
}
- },
- "apps": {
- "org.onosproject.restsb": {
- "devices": [{
- "username": "dev",
- "password": "",
- "ip": "127.0.0.1",
- "port": 8080,
- "protocol": "http"
- }]
- }
}
}
\ No newline at end of file
diff --git a/tools/test/configs/snmp-cfg.json b/tools/test/configs/snmp-cfg.json
new file mode 100644
index 0000000..3818eff
--- /dev/null
+++ b/tools/test/configs/snmp-cfg.json
@@ -0,0 +1,12 @@
+{
+ "devices": {
+ "snmp:127.0.0.1:555": {
+ "snmp": {
+ "ip": "127.0.0.1",
+ "port": 555,
+ "username": "dev",
+ "password": "dev"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tools/test/configs/tl1-cfg.json b/tools/test/configs/tl1-cfg.json
new file mode 100644
index 0000000..aa73c30
--- /dev/null
+++ b/tools/test/configs/tl1-cfg.json
@@ -0,0 +1,12 @@
+{
+ "devices": {
+ "tl1:127.0.0.1:20": {
+ "tl1": {
+ "ip": "127.0.0.1",
+ "port": 20,
+ "username": "dev",
+ "password": "dev"
+ }
+ }
+ }
+}
\ No newline at end of file