forked from stratum/stratum
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnetcfg.json
122 lines (122 loc) · 2.84 KB
/
netcfg.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"devices": {
"device:leaf1": {
"basic": {
"managementAddress": "grpc://mininet:50001?device_id=1",
"driver": "stratum-bmv2",
"pipeconf": "org.onosproject.pipelines.fabric"
},
"segmentrouting": {
"name": "leaf1",
"ipv4NodeSid": 100,
"ipv4Loopback": "192.168.0.100",
"ipv6NodeSid": 101,
"ipv6Loopback": "2000::c0a8:0100",
"routerMac": "00:00:00:00:01:00",
"isEdgeRouter": true,
"adjacencySids": []
}
},
"device:leaf2": {
"basic": {
"managementAddress": "grpc://mininet:50002?device_id=1",
"driver": "stratum-bmv2",
"pipeconf": "org.onosproject.pipelines.fabric"
},
"segmentrouting": {
"name": "leaf2",
"ipv4NodeSid": 200,
"ipv4Loopback": "192.168.0.200",
"ipv6NodeSid": 201,
"ipv6Loopback": "2000::c0a8:0200",
"routerMac": "00:00:00:00:02:00",
"isEdgeRouter": true,
"adjacencySids": []
}
},
"device:spine1": {
"basic": {
"managementAddress": "grpc://mininet:50003?device_id=1",
"driver": "stratum-bmv2",
"pipeconf": "org.onosproject.pipelines.fabric"
},
"segmentrouting": {
"name": "spine1",
"ipv4NodeSid": 110,
"ipv4Loopback": "192.168.0.110",
"ipv6NodeSid": 110,
"ipv6Loopback": "2000::c0a8:0110",
"routerMac": "00:00:00:00:01:10",
"isEdgeRouter": false,
"adjacencySids": []
}
},
"device:spine2": {
"basic": {
"managementAddress": "grpc://mininet:50004?device_id=1",
"driver": "stratum-bmv2",
"pipeconf": "org.onosproject.pipelines.fabric"
},
"segmentrouting": {
"name": "spine2",
"ipv4NodeSid": 210,
"ipv4Loopback": "192.168.0.210",
"ipv6NodeSid": 211,
"ipv6Loopback": "2000::c0a8:0210",
"routerMac": "00:00:00:00:02:10",
"isEdgeRouter": false,
"adjacencySids": []
}
}
},
"ports": {
"device:leaf1/3": {
"interfaces": [
{
"name": "h1",
"ips": [
"10.0.2.254/24"
],
"vlan-untagged": 10
}
]
},
"device:leaf1/4": {
"interfaces": [
{
"name": "h2",
"ips": [
"10.0.2.254/24"
],
"vlan-tagged": [
10
]
}
]
},
"device:leaf2/3": {
"interfaces": [
{
"name": "h3",
"ips": [
"10.0.3.254/24"
],
"vlan-untagged": 20
}
]
},
"device:leaf2/4": {
"interfaces": [
{
"name": "h4",
"ips": [
"10.0.3.254/24"
],
"vlan-tagged": [
20
]
}
]
}
}
}