Add basic fabric.p4 configuration and remove old bmv2 config
Change-Id: I447ca161ce672dc781122c2aa259b9dc89b35858
diff --git a/tools/test/configs/bmv2-cfg.json b/tools/test/configs/bmv2-cfg.json
deleted file mode 100644
index dc71153..0000000
--- a/tools/test/configs/bmv2-cfg.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "apps":{
- "org.onosproject.bmv2":{
- "bmv2_devices":[{
- "ip":"192.168.57.100",
- "port":9090
- }]
- }
- }
-}
\ No newline at end of file
diff --git a/tools/test/configs/fabric_p4_basic.json b/tools/test/configs/fabric_p4_basic.json
new file mode 100644
index 0000000..268c1ce
--- /dev/null
+++ b/tools/test/configs/fabric_p4_basic.json
@@ -0,0 +1,34 @@
+{
+ "ports" : {
+ "device:bmv2:1/1" : {
+ "interfaces" : [
+ {
+ "ips" : [ "10.0.0.254/24" ],
+ "vlan-untagged": 10
+ }
+ ]
+ },
+ "device:bmv2:1/2" : {
+ "interfaces" : [
+ {
+ "ips" : [ "10.0.0.254/24" ],
+ "vlan-untagged": 10
+ }
+ ]
+ }
+ },
+ "devices" : {
+ "device:bmv2:1" : {
+ "segmentrouting" : {
+ "name" : "s1",
+ "ipv4NodeSid" : 1,
+ "ipv4Loopback" : "192.168.0.1",
+ "ipv6NodeSid" : 1,
+ "ipv6Loopback" : "2000::c0a8:1",
+ "routerMac" : "00:00:00:00:aa:01",
+ "isEdgeRouter" : true,
+ "adjacencySids" : []
+ }
+ }
+ }
+}