blob: 5c3f13af01f6b2f1a042ce558a77421355e2bfa4 [file] [log] [blame]
You Wang53dba1e2018-02-02 17:45:44 -08001{
2 "ports" : {
3 "of:0000000000000001/3" : {
4 "interfaces" : [
5 {
6 "ips" : [ "2000::2ff/120" ],
7 "vlan-untagged": 40
8 }
9 ]
10 },
11 "of:0000000000000001/4" : {
12 "interfaces" : [
13 {
14 "ips" : [ "2000::2ff/120" ],
15 "vlan-untagged": 40
16 }
17 ]
18 },
19 "of:0000000000000002/3" : {
20 "interfaces" : [
21 {
22 "ips" : [ "2000::3ff/120" ],
23 "vlan-untagged": 50
24 }
25 ]
26 },
27 "of:0000000000000002/4" : {
28 "interfaces" : [
29 {
30 "ips" : [ "2000::3ff/120" ],
31 "vlan-untagged": 50
32 }
33 ]
34 },
35 "of:0000000000000002/5" : {
36 "interfaces" : [
37 {
38 "ips" : [ "10.0.3.254/24", "2000::3ff/120" ],
39 "vlan-untagged": 30
40 }
41 ]
42 },
43 "of:0000000000000002/6" : {
44 "interfaces" : [
45 {
46 "ips" : [ "10.0.1.254/24", "2000::1ff/120" ],
47 "vlan-untagged": 10
48 }
49 ]
50 }
51 },
52 "devices" : {
53 "of:0000000000000001" : {
54 "segmentrouting" : {
55 "ipv4NodeSid" : 1,
56 "ipv4Loopback" : "192.168.0.1",
57 "routerMac" : "00:00:00:00:00:01",
58 "isEdgeRouter" : true,
59 "adjacencySids" : []
60 },
61 "basic" : {
62 "driver" : "ofdpa-ovs"
63 }
64 },
65 "of:0000000000000002" : {
66 "segmentrouting" : {
67 "ipv4NodeSid" : 2,
68 "ipv4Loopback" : "192.168.0.2",
69 "routerMac" : "00:00:00:00:00:02",
70 "isEdgeRouter" : true,
71 "adjacencySids" : []
72 },
73 "basic" : {
74 "driver" : "ofdpa-ovs"
75 }
76 },
77 "of:0000000000000101" : {
78 "segmentrouting" : {
79 "ipv4NodeSid" : 101,
80 "ipv4Loopback" : "192.168.0.101",
81 "routerMac" : "00:00:00:00:01:01",
82 "isEdgeRouter" : false,
83 "adjacencySids" : []
84 },
85 "basic" : {
86 "driver" : "ofdpa-ovs"
87 }
88 },
89 "of:0000000000000102" : {
90 "segmentrouting" : {
91 "ipv4NodeSid" : 102,
92 "ipv4Loopback" : "192.168.0.102",
93 "routerMac" : "00:00:00:00:01:02",
94 "isEdgeRouter" : false,
95 "adjacencySids" : []
96 },
97 "basic" : {
98 "driver" : "ofdpa-ovs"
99 }
100 }
101 },
102 "apps" : {
103 "org.onosproject.dhcprelay" : {
104 "default": [
105 {
106 "dhcpServerConnectPoint": "of:0000000000000002/5",
107 "serverIps": ["10.0.3.253", "2000::3fd"],
108 "relayAgentIps": {
109 "of:0000000000000001": {
110 "ipv4": "10.0.2.254",
111 "ipv6": "2000::2ff/120"
112 },
113 "of:0000000000000002": {
114 "ipv4": "10.0.3.254",
115 "ipv6": "2000::3ff/120"
116 }
117 }
118 }
119 ],
120 "indirect": [
121 {
122 "dhcpServerConnectPoint": "of:0000000000000002/5",
123 "serverIps": ["10.0.3.252", "2000::3fc"],
124 "relayAgentIps": {
125 "of:0000000000000001": {
126 "ipv4": "10.0.2.254",
127 "ipv6": "2000::2ff/120"
128 },
129 "of:0000000000000002": {
130 "ipv4": "10.0.3.254",
131 "ipv6": "2000::3ff/120"
132 }
133 }
134 }
135 ]
136 }
137 }
138}