summaryrefslogtreecommitdiffstats
path: root/tests/topotests/cspf_topo1/reference/sharp-ted.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/cspf_topo1/reference/sharp-ted.json')
-rw-r--r--tests/topotests/cspf_topo1/reference/sharp-ted.json858
1 files changed, 858 insertions, 0 deletions
diff --git a/tests/topotests/cspf_topo1/reference/sharp-ted.json b/tests/topotests/cspf_topo1/reference/sharp-ted.json
new file mode 100644
index 0000000..359b655
--- /dev/null
+++ b/tests/topotests/cspf_topo1/reference/sharp-ted.json
@@ -0,0 +1,858 @@
+{
+ "ted":{
+ "name":"Sharp",
+ "key":1,
+ "verticesCount":4,
+ "edgesCount":14,
+ "subnetsCount":22,
+ "vertices":[
+ {
+ "vertex-id":1,
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "name":"r1",
+ "router-id":"10.0.255.1",
+ "router-id-v6":"2001:db8::1"
+ },
+ {
+ "vertex-id":2,
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "name":"r2",
+ "router-id":"10.0.255.2",
+ "router-id-v6":"2001:db8::2"
+ },
+ {
+ "vertex-id":3,
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "name":"r3",
+ "router-id":"10.0.255.3",
+ "router-id-v6":"2001:db8::3"
+ },
+ {
+ "vertex-id":4,
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "name":"r4",
+ "router-id":"10.0.255.4",
+ "router-id-v6":"2001:db8::4",
+ "segment-routing":{
+ "srgb-size":10000,
+ "srgb-lower":10000,
+ "algorithms":[
+ {
+ "0":"SPF"
+ }
+ ],
+ "srlb-size":1000,
+ "srlb-lower":5000,
+ "msd":12
+ }
+ }
+ ],
+ "edges":[
+ {
+ "edge-id":"2001:db8:1::1:1",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0001",
+ "local-vertex-id":1,
+ "remote-vertex-id":2,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":10,
+ "local-address-v6":"2001:db8:1::1:1",
+ "remote-address-v6":"2001:db8:1::1:2",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":20000
+ }
+ },
+ {
+ "edge-id":"2001:db8:1::1:2",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "local-vertex-id":2,
+ "remote-vertex-id":1,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":10,
+ "local-address-v6":"2001:db8:1::1:2",
+ "remote-address-v6":"2001:db8:1::1:1",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":20000
+ }
+ },
+ {
+ "edge-id":"2001:db8:3::3:2",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "local-vertex-id":2,
+ "remote-vertex-id":3,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":40,
+ "local-address-v6":"2001:db8:3::3:2",
+ "remote-address-v6":"2001:db8:3::3:3",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":40000
+ }
+ },
+ {
+ "edge-id":"2001:db8:3::3:3",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0003",
+ "local-vertex-id":3,
+ "remote-vertex-id":2,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":25,
+ "admin-group":32,
+ "local-address-v6":"2001:db8:3::3:3",
+ "remote-address-v6":"2001:db8:3::3:2",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":25000
+ }
+ },
+ {
+ "edge-id":"2001:db8:5::3:4",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0004",
+ "local-vertex-id":4,
+ "remote-vertex-id":3,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":10,
+ "local-address-v6":"2001:db8:5::3:4",
+ "remote-address-v6":"2001:db8:5::4:3",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":10000
+ },
+ "segment-routing":[
+ {
+ "flags":"0xb0",
+ "weight":0
+ }
+ ]
+ },
+ {
+ "edge-id":"2001:db8:5::4:3",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0003",
+ "local-vertex-id":3,
+ "remote-vertex-id":4,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":10,
+ "local-address-v6":"2001:db8:5::4:3",
+ "remote-address-v6":"2001:db8:5::3:4",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":10000
+ }
+ },
+ {
+ "edge-id":"10.0.0.1",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0001",
+ "local-vertex-id":1,
+ "remote-vertex-id":2,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":20,
+ "local-address":"10.0.0.1",
+ "remote-address":"10.0.0.2",
+ "max-link-bandwidth":99999997952,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":10000,
+ "available-bandwidth":125000000.0
+ }
+ },
+ {
+ "edge-id":"10.0.0.2",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "local-vertex-id":2,
+ "remote-vertex-id":1,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":20,
+ "local-address":"10.0.0.2",
+ "remote-address":"10.0.0.1",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":10000
+ }
+ },
+ {
+ "edge-id":"10.0.1.1",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0001",
+ "local-vertex-id":1,
+ "remote-vertex-id":2,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":10,
+ "local-address":"10.0.1.1",
+ "remote-address":"10.0.1.2",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":20000
+ }
+ },
+ {
+ "edge-id":"10.0.1.2",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "local-vertex-id":2,
+ "remote-vertex-id":1,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":10,
+ "local-address":"10.0.1.2",
+ "remote-address":"10.0.1.1",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":20000
+ }
+ },
+ {
+ "edge-id":"10.0.3.2",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "local-vertex-id":2,
+ "remote-vertex-id":3,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":40,
+ "local-address":"10.0.3.2",
+ "remote-address":"10.0.3.3",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":40000
+ }
+ },
+ {
+ "edge-id":"10.0.3.3",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0003",
+ "local-vertex-id":3,
+ "remote-vertex-id":2,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":25,
+ "admin-group":32,
+ "local-address":"10.0.3.3",
+ "remote-address":"10.0.3.2",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":25000
+ }
+ },
+ {
+ "edge-id":"10.0.4.2",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "local-vertex-id":2,
+ "remote-vertex-id":4,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":25,
+ "local-address":"10.0.4.2",
+ "remote-address":"10.0.4.4",
+ "max-link-bandwidth":99999997952,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":25000,
+ "utilized-bandwidth":125000000.0
+ }
+ },
+ {
+ "edge-id":"10.0.4.4",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0004",
+ "local-vertex-id":4,
+ "remote-vertex-id":2,
+ "metric":10,
+ "edge-attributes":{
+ "te-metric":40,
+ "local-address":"10.0.4.4",
+ "remote-address":"10.0.4.2",
+ "max-link-bandwidth":1250000,
+ "max-resv-link-bandwidth":1250000,
+ "unreserved-bandwidth":[
+ {
+ "class-type-0":1250000
+ },
+ {
+ "class-type-1":1250000
+ },
+ {
+ "class-type-2":1250000
+ },
+ {
+ "class-type-3":1250000
+ },
+ {
+ "class-type-4":1250000
+ },
+ {
+ "class-type-5":1250000
+ },
+ {
+ "class-type-6":1250000
+ },
+ {
+ "class-type-7":1250000
+ }
+ ],
+ "delay":40000
+ },
+ "segment-routing":[
+ {
+ "flags":"0x30",
+ "weight":0
+ }
+ ]
+ }
+ ],
+ "subnets":[
+ {
+ "subnet-id":"10.0.0.1/24",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0001",
+ "vertex-id":1,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.0.2/24",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "vertex-id":2,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.1.1/24",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0001",
+ "vertex-id":1,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.1.2/24",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "vertex-id":2,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.3.2/24",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "vertex-id":2,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.3.3/24",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0003",
+ "vertex-id":3,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.4.2/24",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "vertex-id":2,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.4.4/24",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0004",
+ "vertex-id":4,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.255.1/32",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0001",
+ "vertex-id":1,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.255.2/32",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "vertex-id":2,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.255.3/32",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0003",
+ "vertex-id":3,
+ "metric":10
+ },
+ {
+ "subnet-id":"10.0.255.4/32",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0004",
+ "vertex-id":4,
+ "metric":10,
+ "segment-routing":{
+ "pref-sid":400,
+ "algo":0,
+ "flags":"0x60"
+ }
+ },
+ {
+ "subnet-id":"2001:db8:1::1:1/64",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0001",
+ "vertex-id":1,
+ "metric":10
+ },
+ {
+ "subnet-id":"2001:db8:1::1:2/64",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "vertex-id":2,
+ "metric":10
+ },
+ {
+ "subnet-id":"2001:db8:3::3:2/64",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "vertex-id":2,
+ "metric":10
+ },
+ {
+ "subnet-id":"2001:db8:3::3:3/64",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0003",
+ "vertex-id":3,
+ "metric":10
+ },
+ {
+ "subnet-id":"2001:db8:5::3:4/64",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0004",
+ "vertex-id":4,
+ "metric":10
+ },
+ {
+ "subnet-id":"2001:db8:5::4:3/64",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0003",
+ "vertex-id":3,
+ "metric":10
+ },
+ {
+ "subnet-id":"2001:db8::1/128",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0001",
+ "vertex-id":1,
+ "metric":10
+ },
+ {
+ "subnet-id":"2001:db8::2/128",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0002",
+ "vertex-id":2,
+ "metric":10
+ },
+ {
+ "subnet-id":"2001:db8::3/128",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0003",
+ "vertex-id":3,
+ "metric":10
+ },
+ {
+ "subnet-id":"2001:db8::4/128",
+ "status":"Sync",
+ "origin":"ISIS_L2",
+ "advertised-router":"0000.0000.0004",
+ "vertex-id":4,
+ "metric":10
+ }
+ ]
+ }
+}