Json formatiing
- To reduce file churn when running tests, sort and format json files
- Add xconnect json files I forgot to add to last patch
Change-Id: I66dd757a871a50e99c78b298c5106038e9ca5eff
(cherry picked from commit 312199d2e17692f129267c3c59ba03f2cd1bef44)
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE42.json b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE42.json
index 4a1fc53..97e17af 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE42.json
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/CASE42.json
@@ -1,80 +1,102 @@
{
- "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]
- }
- ]
- }
- },
- "hosts" : {
- "00:AA:00:00:00:01/None": {
- "basic": {
- "ips": ["10.0.2.1"],
- "locations": ["of:0000000000000001/2", "of:0000000000000002/2"]
+ "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"
}
},
- "00:AA:00:00:00:02/10" : {
- "basic": {
- "ips": ["10.0.2.2"],
- "locations": ["of:0000000000000001/3", "of:0000000000000002/3"]
+ "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"
}
}
},
- "devices" : {
- "of:0000000000000001" : {
- "segmentrouting" : {
- "ipv4NodeSid" : 201,
- "ipv4Loopback" : "192.168.0.1",
- "routerMac" : "00:00:00:00:00:01",
- "isEdgeRouter" : true,
- "pairDeviceId" : "of:0000000000000002",
- "pairLocalPort" : 1,
- "adjacencySids" : []
- },
- "basic" : {
- "driver" : "ofdpa-ovs"
+ "hosts":{
+ "00:AA:00:00:00:01/None":{
+ "basic":{
+ "ips":[
+ "10.0.2.1"
+ ],
+ "locations":[
+ "of:0000000000000001/2",
+ "of:0000000000000002/2"
+ ]
}
},
- "of:0000000000000002" : {
- "segmentrouting" : {
- "ipv4NodeSid" : 202,
- "ipv4Loopback" : "192.168.0.2",
- "routerMac" : "00:00:00:00:00:01",
- "isEdgeRouter" : true,
- "pairDeviceId" : "of:0000000000000001",
- "pairLocalPort" : 1,
- "adjacencySids" : []
- },
- "basic" : {
- "driver" : "ofdpa-ovs"
+ "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