Add missing json files for SRBridging
Change-Id: I855cf0310bdb03367c163f95c841ca5760685476
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE05.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE05.json
new file mode 100644
index 0000000..b6699f0
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE05.json
@@ -0,0 +1,36 @@
+{
+ "devices":{
+ "device:tofino:leaf1":{
+ "basic":{},
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/1":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE06.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE06.json
new file mode 100644
index 0000000..967160c
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE06.json
@@ -0,0 +1,98 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/2",
+ "of:0000000000000002/2"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/3",
+ "of:0000000000000002/3"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE07.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE07.json
new file mode 100644
index 0000000..ecb82fa
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE07.json
@@ -0,0 +1,94 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000002/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE08.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE08.json
new file mode 100644
index 0000000..1c010ef
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE08.json
@@ -0,0 +1,212 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000003":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.3",
+ "ipv4NodeSid":203,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000004",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000004":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.4",
+ "ipv4NodeSid":204,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000003",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/6",
+ "of:0000000000000002/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/7",
+ "of:0000000000000002/7"
+ ]
+ }
+ },
+ "00:AA:00:00:00:03/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.1"
+ ],
+ "locations":[
+ "of:0000000000000003/6",
+ "of:0000000000000004/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:04/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.2"
+ ],
+ "locations":[
+ "of:0000000000000003/7",
+ "of:0000000000000004/7"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000003/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000003/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000004/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000004/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE15.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE15.json
new file mode 100644
index 0000000..4dc5577
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE15.json
@@ -0,0 +1,58 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:aa:00:00:00:01/10":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/1"
+ ]
+ }
+ },
+ "00:aa:00:00:00:02/10":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/2"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/1":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE16.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE16.json
new file mode 100644
index 0000000..c755a30
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE16.json
@@ -0,0 +1,106 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/10":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/2",
+ "of:0000000000000002/2"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/10":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/3",
+ "of:0000000000000002/3"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE17.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE17.json
new file mode 100644
index 0000000..e60868e
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE17.json
@@ -0,0 +1,132 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:aa:00:00:00:01/10":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/3"
+ ]
+ }
+ },
+ "00:aa:00:00:00:02/10":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/4"
+ ]
+ }
+ },
+ "00:aa:00:00:00:03/20":{
+ "basic":{
+ "locations":[
+ "of:0000000000000002/3"
+ ]
+ }
+ },
+ "00:aa:00:00:00:04/20":{
+ "basic":{
+ "locations":[
+ "of:0000000000000002/4"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE18.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE18.json
new file mode 100644
index 0000000..efb9445
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE18.json
@@ -0,0 +1,228 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000003":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.3",
+ "ipv4NodeSid":203,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000004",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000004":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.4",
+ "ipv4NodeSid":204,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000003",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:aa:00:00:00:01/10":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/6",
+ "of:0000000000000002/6"
+ ]
+ }
+ },
+ "00:aa:00:00:00:02/10":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/7",
+ "of:0000000000000002/7"
+ ]
+ }
+ },
+ "00:aa:00:00:00:03/20":{
+ "basic":{
+ "ips":[
+ "10.0.3.1"
+ ],
+ "locations":[
+ "of:0000000000000003/6",
+ "of:0000000000000004/6"
+ ]
+ }
+ },
+ "00:aa:00:00:00:04/20":{
+ "basic":{
+ "ips":[
+ "10.0.3.2"
+ ],
+ "locations":[
+ "of:0000000000000003/7",
+ "of:0000000000000004/7"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000003/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000003/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000004/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000004/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE25.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE25.json
new file mode 100644
index 0000000..3980f76
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE25.json
@@ -0,0 +1,44 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/1":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE26.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE26.json
new file mode 100644
index 0000000..f2ed4a4
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE26.json
@@ -0,0 +1,110 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/2",
+ "of:0000000000000002/2"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/3",
+ "of:0000000000000002/3"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE27.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE27.json
new file mode 100644
index 0000000..a00d226
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE27.json
@@ -0,0 +1,106 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-native":40,
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-native":40,
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE28.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE28.json
new file mode 100644
index 0000000..78296ed
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE28.json
@@ -0,0 +1,236 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000003":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.3",
+ "ipv4NodeSid":203,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000004",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000004":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.4",
+ "ipv4NodeSid":204,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000003",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/6",
+ "of:0000000000000002/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/7",
+ "of:0000000000000002/7"
+ ]
+ }
+ },
+ "00:AA:00:00:00:03/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.1"
+ ],
+ "locations":[
+ "of:0000000000000003/6",
+ "of:0000000000000004/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:04/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.2"
+ ],
+ "locations":[
+ "of:0000000000000003/7",
+ "of:0000000000000004/7"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000003/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-native":40,
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000003/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-native":40,
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000004/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-native":40,
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000004/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-native":40,
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE35.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE35.json
new file mode 100644
index 0000000..c329859
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE35.json
@@ -0,0 +1,41 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/1":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE36.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE36.json
new file mode 100644
index 0000000..ecdc45e
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE36.json
@@ -0,0 +1,104 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/2",
+ "of:0000000000000002/2"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/3",
+ "of:0000000000000002/3"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000002/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE37.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE37.json
new file mode 100644
index 0000000..07127c7
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE37.json
@@ -0,0 +1,100 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-native":40,
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":40
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE38.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE38.json
new file mode 100644
index 0000000..597152c
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE38.json
@@ -0,0 +1,224 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000003":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.3",
+ "ipv4NodeSid":203,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000004",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000004":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.4",
+ "ipv4NodeSid":204,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000003",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/6",
+ "of:0000000000000002/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/7",
+ "of:0000000000000002/7"
+ ]
+ }
+ },
+ "00:AA:00:00:00:03/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.1"
+ ],
+ "locations":[
+ "of:0000000000000003/6",
+ "of:0000000000000004/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:04/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.2"
+ ],
+ "locations":[
+ "of:0000000000000003/7",
+ "of:0000000000000004/7"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000002/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-native":20,
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000003/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-native":40,
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000003/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":40
+ }
+ ]
+ },
+ "of:0000000000000004/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-native":40,
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000004/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":40
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE45.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE45.json
new file mode 100644
index 0000000..1d7a9d5
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE45.json
@@ -0,0 +1,49 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:aa:00:00:00:02/10":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/2"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/1":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE46.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE46.json
new file mode 100644
index 0000000..97e17af
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE46.json
@@ -0,0 +1,102 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/2",
+ "of:0000000000000002/2"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/10":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/3",
+ "of:0000000000000002/3"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE47.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE47.json
new file mode 100644
index 0000000..9285e32
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE47.json
@@ -0,0 +1,114 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:aa:00:00:00:02/10":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/4"
+ ]
+ }
+ },
+ "00:aa:00:00:00:04/20":{
+ "basic":{
+ "locations":[
+ "of:0000000000000002/4"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000002/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE48.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE48.json
new file mode 100644
index 0000000..fccb280
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE48.json
@@ -0,0 +1,220 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000003":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.3",
+ "ipv4NodeSid":203,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000004",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000004":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.4",
+ "ipv4NodeSid":204,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000003",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/6",
+ "of:0000000000000002/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/10":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/7",
+ "of:0000000000000002/7"
+ ]
+ }
+ },
+ "00:AA:00:00:00:03/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.1"
+ ],
+ "locations":[
+ "of:0000000000000003/6",
+ "of:0000000000000004/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:04/20":{
+ "basic":{
+ "ips":[
+ "10.0.3.2"
+ ],
+ "locations":[
+ "of:0000000000000003/7",
+ "of:0000000000000004/7"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000003/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000003/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000004/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000004/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE55.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE55.json
new file mode 100644
index 0000000..8f6b3db
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE55.json
@@ -0,0 +1,38 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/1":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE56.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE56.json
new file mode 100644
index 0000000..49e8054
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE56.json
@@ -0,0 +1,98 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/2",
+ "of:0000000000000002/2"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/3",
+ "of:0000000000000002/3"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000002/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE57.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE57.json
new file mode 100644
index 0000000..7908a78
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE57.json
@@ -0,0 +1,94 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":30
+ }
+ ]
+ },
+ "of:0000000000000002/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":40
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE58.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE58.json
new file mode 100644
index 0000000..2f5d743
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE58.json
@@ -0,0 +1,212 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000003":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.3",
+ "ipv4NodeSid":203,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000004",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000004":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.4",
+ "ipv4NodeSid":204,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000003",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/6",
+ "of:0000000000000002/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/7",
+ "of:0000000000000002/7"
+ ]
+ }
+ },
+ "00:AA:00:00:00:03/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.1"
+ ],
+ "locations":[
+ "of:0000000000000003/6",
+ "of:0000000000000004/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:04/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.2"
+ ],
+ "locations":[
+ "of:0000000000000003/7",
+ "of:0000000000000004/7"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000002/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":20
+ }
+ ]
+ },
+ "of:0000000000000003/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":30
+ }
+ ]
+ },
+ "of:0000000000000003/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":40
+ }
+ ]
+ },
+ "of:0000000000000004/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":30
+ }
+ ]
+ },
+ "of:0000000000000004/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":40
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE65.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE65.json
new file mode 100644
index 0000000..4e6995b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE65.json
@@ -0,0 +1,58 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:aa:00:00:00:01/10":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/1"
+ ]
+ }
+ },
+ "00:aa:00:00:00:02/20":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/2"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/1":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE66.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE66.json
new file mode 100644
index 0000000..d21e1dc
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE66.json
@@ -0,0 +1,106 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/10":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/2",
+ "of:0000000000000002/2"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/20":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/3",
+ "of:0000000000000002/3"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE67.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE67.json
new file mode 100644
index 0000000..97147bc
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE67.json
@@ -0,0 +1,132 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:aa:00:00:00:01/10":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/3"
+ ]
+ }
+ },
+ "00:aa:00:00:00:02/20":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/4"
+ ]
+ }
+ },
+ "00:aa:00:00:00:03/30":{
+ "basic":{
+ "locations":[
+ "of:0000000000000002/3"
+ ]
+ }
+ },
+ "00:aa:00:00:00:04/40":{
+ "basic":{
+ "locations":[
+ "of:0000000000000002/4"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 40
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE68.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE68.json
new file mode 100644
index 0000000..e7e4a8e
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE68.json
@@ -0,0 +1,228 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000003":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.3",
+ "ipv4NodeSid":203,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000004",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000004":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.4",
+ "ipv4NodeSid":204,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000003",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/10":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/6",
+ "of:0000000000000002/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/20":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/7",
+ "of:0000000000000002/7"
+ ]
+ }
+ },
+ "00:AA:00:00:00:03/30":{
+ "basic":{
+ "ips":[
+ "10.0.3.1"
+ ],
+ "locations":[
+ "of:0000000000000003/6",
+ "of:0000000000000004/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:04/40":{
+ "basic":{
+ "ips":[
+ "10.0.3.2"
+ ],
+ "locations":[
+ "of:0000000000000003/7",
+ "of:0000000000000004/7"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000001/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 10
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000003/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000003/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 40
+ ]
+ }
+ ]
+ },
+ "of:0000000000000004/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 30
+ ]
+ }
+ ]
+ },
+ "of:0000000000000004/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 40
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE75.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE75.json
new file mode 100644
index 0000000..817c19a
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE75.json
@@ -0,0 +1,49 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:aa:00:00:00:02/20":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/2"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/1":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE76.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE76.json
new file mode 100644
index 0000000..7ec709f
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE76.json
@@ -0,0 +1,102 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":1,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/2",
+ "of:0000000000000002/2"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/20":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/3",
+ "of:0000000000000002/3"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/2":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE77.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE77.json
new file mode 100644
index 0000000..7825521
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE77.json
@@ -0,0 +1,114 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:aa:00:00:00:02/20":{
+ "basic":{
+ "locations":[
+ "of:0000000000000001/4"
+ ]
+ }
+ },
+ "00:aa:00:00:00:04/40":{
+ "basic":{
+ "locations":[
+ "of:0000000000000002/4"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/3":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":30
+ }
+ ]
+ },
+ "of:0000000000000002/4":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 40
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE78.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE78.json
new file mode 100644
index 0000000..bf9aee2
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE78.json
@@ -0,0 +1,220 @@
+{
+ "devices":{
+ "of:0000000000000001":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.1",
+ "ipv4NodeSid":201,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000002",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000002":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.2",
+ "ipv4NodeSid":202,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000001",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:01"
+ }
+ },
+ "of:0000000000000003":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.3",
+ "ipv4NodeSid":203,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000004",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000004":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.4",
+ "ipv4NodeSid":204,
+ "isEdgeRouter":true,
+ "pairDeviceId":"of:0000000000000003",
+ "pairLocalPort":5,
+ "routerMac":"00:00:00:00:00:02"
+ }
+ },
+ "of:0000000000000101":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.101",
+ "ipv4NodeSid":101,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:01"
+ }
+ },
+ "of:0000000000000102":{
+ "basic":{
+ "driver":"ofdpa-ovs"
+ },
+ "segmentrouting":{
+ "adjacencySids":[],
+ "ipv4Loopback":"192.168.0.102",
+ "ipv4NodeSid":102,
+ "isEdgeRouter":false,
+ "routerMac":"00:00:00:00:01:02"
+ }
+ }
+ },
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/6",
+ "of:0000000000000002/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:02/20":{
+ "basic":{
+ "ips":[
+ "10.0.2.2"
+ ],
+ "locations":[
+ "of:0000000000000001/7",
+ "of:0000000000000002/7"
+ ]
+ }
+ },
+ "00:AA:00:00:00:03/None":{
+ "basic":{
+ "ips":[
+ "10.0.3.1"
+ ],
+ "locations":[
+ "of:0000000000000003/6",
+ "of:0000000000000004/6"
+ ]
+ }
+ },
+ "00:AA:00:00:00:04/40":{
+ "basic":{
+ "ips":[
+ "10.0.3.2"
+ ],
+ "locations":[
+ "of:0000000000000003/7",
+ "of:0000000000000004/7"
+ ]
+ }
+ }
+ },
+ "ports":{
+ "of:0000000000000001/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000001/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000002/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-untagged":10
+ }
+ ]
+ },
+ "of:0000000000000002/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.2.254/24"
+ ],
+ "vlan-tagged":[
+ 20
+ ]
+ }
+ ]
+ },
+ "of:0000000000000003/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":30
+ }
+ ]
+ },
+ "of:0000000000000003/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 40
+ ]
+ }
+ ]
+ },
+ "of:0000000000000004/6":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-untagged":30
+ }
+ ]
+ },
+ "of:0000000000000004/7":{
+ "interfaces":[
+ {
+ "ips":[
+ "10.0.3.254/24"
+ ],
+ "vlan-tagged":[
+ 40
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file