separate cfg files
Change-Id: I8fef56706583e10d3ca2aa77a7cfc1aba48168f3
diff --git a/tools/test/topos/tofino-demo-dev-11.json b/tools/test/topos/tofino-demo-dev-11.json
new file mode 100644
index 0000000..8a87af6
--- /dev/null
+++ b/tools/test/topos/tofino-demo-dev-11.json
@@ -0,0 +1,49 @@
+{
+ "devices": {
+ "device:tofino:11": {
+ "generalprovider": {
+ "p4runtime": {
+ "ip": "10.254.1.38",
+ "deviceKeyId": "p4runtime:device:tofino:11",
+ "port": 50051,
+ "deviceId": 0
+ }
+ },
+ "piPipeconf": {
+ "piPipeconfId": "tofino-tor-mavericks"
+ },
+ "ports": {
+ "1/0": {
+ "name": "1/0",
+ "speed": 100000,
+ "enabled": true,
+ "number": 188,
+ "removed": false,
+ "type": "copper"
+ },
+ "2/0": {
+ "name": "2/0",
+ "speed": 100000,
+ "enabled": true,
+ "number": 184,
+ "removed": false,
+ "type": "copper"
+ },
+ "3/0": {
+ "name": "3/0",
+ "speed": 40000,
+ "enabled": true,
+ "number": 180,
+ "removed": false,
+ "type": "copper"
+ }
+ },
+ "basic": {
+ "name": "Leaf 1",
+ "latitude": 33,
+ "driver": "tofino",
+ "longitude": -113
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tools/test/topos/tofino-demo-dev-12.json b/tools/test/topos/tofino-demo-dev-12.json
new file mode 100644
index 0000000..0b9cf4a
--- /dev/null
+++ b/tools/test/topos/tofino-demo-dev-12.json
@@ -0,0 +1,49 @@
+{
+ "devices": {
+ "device:tofino:12": {
+ "generalprovider": {
+ "p4runtime": {
+ "ip": "10.254.1.37",
+ "deviceKeyId": "p4runtime:device:tofino:12",
+ "port": 50051,
+ "deviceId": 0
+ }
+ },
+ "piPipeconf": {
+ "piPipeconfId": "tofino-tor-mavericks"
+ },
+ "ports": {
+ "1/0": {
+ "name": "1/0",
+ "speed": 100000,
+ "enabled": true,
+ "number": 188,
+ "removed": false,
+ "type": "copper"
+ },
+ "2/0": {
+ "name": "2/0",
+ "speed": 100000,
+ "enabled": true,
+ "number": 184,
+ "removed": false,
+ "type": "copper"
+ },
+ "3/0": {
+ "name": "3/0",
+ "speed": 40000,
+ "enabled": true,
+ "number": 180,
+ "removed": false,
+ "type": "copper"
+ }
+ },
+ "basic": {
+ "name": "Leaf 2",
+ "latitude": 33,
+ "driver": "tofino",
+ "longitude": -93
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tools/test/topos/tofino-demo-dev-21.json b/tools/test/topos/tofino-demo-dev-21.json
new file mode 100644
index 0000000..17d39f3
--- /dev/null
+++ b/tools/test/topos/tofino-demo-dev-21.json
@@ -0,0 +1,41 @@
+{
+ "devices": {
+ "device:tofino:21": {
+ "generalprovider": {
+ "p4runtime": {
+ "ip": "10.254.1.40",
+ "deviceKeyId": "p4runtime:device:tofino:21",
+ "port": 50051,
+ "deviceId": 0
+ }
+ },
+ "piPipeconf": {
+ "piPipeconfId": "tofino-tor-montara"
+ },
+ "ports": {
+ "1/0": {
+ "name": "1/0",
+ "speed": 100000,
+ "enabled": true,
+ "number": 128,
+ "removed": false,
+ "type": "copper"
+ },
+ "2/0": {
+ "name": "2/0",
+ "speed": 100000,
+ "enabled": true,
+ "number": 136,
+ "removed": false,
+ "type": "copper"
+ }
+ },
+ "basic": {
+ "name": "Spine 1",
+ "latitude": 41,
+ "driver": "tofino",
+ "longitude": -107
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tools/test/topos/tofino-demo-dev-22.json b/tools/test/topos/tofino-demo-dev-22.json
new file mode 100644
index 0000000..081fcc8
--- /dev/null
+++ b/tools/test/topos/tofino-demo-dev-22.json
@@ -0,0 +1,41 @@
+{
+ "devices": {
+ "device:tofino:22": {
+ "generalprovider": {
+ "p4runtime": {
+ "ip": "10.254.1.39",
+ "deviceKeyId": "p4runtime:device:tofino:22",
+ "port": 50051,
+ "deviceId": 0
+ }
+ },
+ "piPipeconf": {
+ "piPipeconfId": "tofino-tor-montara"
+ },
+ "ports": {
+ "1/0": {
+ "name": "1/0",
+ "speed": 100000,
+ "enabled": true,
+ "number": 128,
+ "removed": false,
+ "type": "copper"
+ },
+ "2/0": {
+ "name": "2/0",
+ "speed": 100000,
+ "enabled": true,
+ "number": 136,
+ "removed": false,
+ "type": "copper"
+ }
+ },
+ "basic": {
+ "name": "Spine 2",
+ "latitude": 41,
+ "driver": "tofino",
+ "longitude": -99
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tools/test/topos/tofino-demo-hosts.json b/tools/test/topos/tofino-demo-hosts.json
new file mode 100644
index 0000000..c9e23b3
--- /dev/null
+++ b/tools/test/topos/tofino-demo-hosts.json
@@ -0,0 +1,30 @@
+{
+ "hosts": {
+ "3c:fd:fe:a6:e7:08/-1": {
+ "basic": {
+ "latitude": 28,
+ "ips": [
+ "10.0.0.1"
+ ],
+ "locations": [
+ "device:tofino:11/180"
+ ],
+ "longitude": -113,
+ "name": "h1"
+ }
+ },
+ "3c:fd:fe:a6:e7:09/-1": {
+ "basic": {
+ "latitude": 28,
+ "ips": [
+ "10.0.0.2"
+ ],
+ "locations": [
+ "device:tofino:12/180"
+ ],
+ "longitude": -93,
+ "name": "h2"
+ }
+ }
+ }
+}