blob: 7ba4f8b6bb978c8a5f5d3320576825352bc1166c [file] [log] [blame]
You Wang53dba1e2018-02-02 17:45:44 -08001{
2 "ports" : {
3 "of:0000000000000001/3" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.0.2.254/24" ],
7 "vlan-untagged": 20
8 }
9 ]
10 },
11 "of:0000000000000001/4" : {
12 "interfaces" : [
13 {
14 "ips" : [ "10.0.2.254/24" ],
15 "vlan-untagged": 20
16 }
17 ]
18 },
19 "of:0000000000000002/3" : {
20 "interfaces" : [
21 {
22 "ips" : [ "10.0.3.254/24" ],
23 "vlan-untagged": 30
24 }
25 ]
26 },
27 "of:0000000000000002/4" : {
28 "interfaces" : [
29 {
30 "ips" : [ "10.0.3.254/24" ],
31 "vlan-untagged": 30
32 }
33 ]
34 },
35 "of:0000000000000002/5" : {
36 "interfaces" : [
37 {
38 "ips" : [ "10.0.3.254/24" ],
39 "vlan-untagged": 30
40 }
41 ]
42 },
43 "of:0000000000000002/6" : {
44 "interfaces" : [
45 {
46 "ips" : [ "10.0.1.254/24" ],
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"]
108 }
109 ],
110 "indirect": [
111 {
112 "dhcpServerConnectPoint": "of:0000000000000002/5",
113 "serverIps": ["10.0.3.252"]
114 }
115 ]
116 }
117 }
118}