-
Notifications
You must be signed in to change notification settings - Fork 0
/
json_example.json
88 lines (85 loc) · 2.13 KB
/
json_example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"comment": "Multilayer topology description and configuration",
"restrictLinks": false,
"restrictSwitches": false,
"switchConfig": [
{
"allowed": true,
"latitude": 80.8,
"longitude": 90.1,
"name": "Dallas-W1",
"nodeDpid": "00:00:ff:ff:ff:ff:ff:02",
"params": {
"numRegen": 2
},
"type": "Roadm"
},
{
"allowed": true,
"latitude": 80.8,
"longitude": 90.1,
"name": "NYC-W10",
"nodeDpid": "00:00:ff:ff:ff:ff:ff:03",
"params": {
"numRegen": 3
},
"type": "Roadm"
}
],
"linkConfig": [
{
"allowed": true,
"nodeDpid1": "00:00:ff:ff:ff:ff:ff:02",
"nodeDpid2": "00:00:ff:ff:ff:ff:ff:03",
"params": {
"distKms": 5000,
"nodeName1": "Dallas-W1",
"nodeName2": "NYC-W10",
"numWaves": 80,
"port1": 20,
"port2": 21
},
"type": "wdmLink"
},
{
"allowed": true,
"nodeDpid1": "00:00:ff:ff:ff:ff:ff:00",
"nodeDpid2": "00:00:ff:ff:ff:ff:ff:02",
"params": {
"nodeName1": "Dallas-R1",
"nodeName2": "Dallas-W1",
"port1": 33,
"port2": 10
},
"type": "pktOptLink"
},
{
"allowed": true,
"nodeDpid1": "00:00:ff:ff:ff:ff:ff:00",
"nodeDpid2": "00:00:ff:ff:ff:ff:ff:01",
"params": {
"port1": 6,
"port2": 1
},
"type": "pktLink"
}
],
"opticalReachabilty": [
[
"Dallas-W1",
"NYC-W10"
],
[
"NYC-W10",
"Dallas-W1"
],
[
"Dallas-W2",
"SFO-W3"
],
[
"SFO-W3",
"Dallas-W2"
]
]
}