blob: 5e0c05154876d292879c547575a672498971c27f [file] [log] [blame]
Saurav Das428ebc92015-09-30 10:00:49 -07001{
2 "ports" : {
Charles Chand6d581a2015-11-18 16:51:08 -08003 "of:0000000000000002/1" : {
4 "interfaces" : [
5 {
6 "ips" : [ "192.168.10.101/24" ],
7 "mac" : "08:9e:01:82:38:68",
8 "vlan" : "100"
9 }
10 ]
11 },
12 "of:0000000000000002/2" : {
13 "interfaces" : [
14 {
15 "ips" : [ "192.168.20.101/24" ],
16 "mac" : "08:9e:01:82:38:68",
17 "vlan" : "200"
18 }
19 ]
20 }
Saurav Das428ebc92015-09-30 10:00:49 -070021 },
Charles Chan4636be02015-10-07 14:21:45 -070022 "devices" : {
Charles Chand6d581a2015-11-18 16:51:08 -080023 "of:0000000000000002" : {
24 "segmentrouting" : {
Charles Chan4636be02015-10-07 14:21:45 -070025 "name" : "Leaf-R1",
26 "nodeSid" : 101,
27 "routerIp" : "10.0.1.254",
28 "routerMac" : "00:00:00:00:01:80",
29 "isEdgeRouter" : true,
30 "adjacencySids" : [
Charles Chan531a78b2015-12-01 10:00:51 -080031 { "adjSids" : 100, "ports" : [2, 3] },
32 { "adjSids" : 200, "ports" : [4, 5] }
Charles Chan4636be02015-10-07 14:21:45 -070033 ]
34 }
Charles Chand6d581a2015-11-18 16:51:08 -080035 },
36 "of:0000000000000191" : {
37 "segmentrouting" : {
Charles Chan4636be02015-10-07 14:21:45 -070038 "name" : "Spine-R1",
39 "nodeSid" : 105,
40 "routerIp" : "192.168.0.11",
41 "routerMac" : "00:00:01:00:11:80",
42 "isEdgeRouter" : false
43 }
Charles Chand6d581a2015-11-18 16:51:08 -080044 }
Charles Chan4636be02015-10-07 14:21:45 -070045 },
Saurav Das428ebc92015-09-30 10:00:49 -070046 "apps" : {
Charles Chand6d581a2015-11-18 16:51:08 -080047 "org.onosproject.router" : {
48 "bgp" : {
49 "bgpSpeakers" : [
50 {
51 "connectPoint" : "of:00000000000000aa/10",
52 "peers" : [
53 "192.168.10.1"
54 ]
55 },
56 {
57 "connectPoint" : "of:00000000000000aa/20",
58 "peers" : [
59 "192.168.20.1"
60 ]
61 }
62 ]
63 }
64 }
65 },
66 "hosts" : {
67 "00:00:00:00:00:01/4093": {
68 "basic": {
69 "ips": [
70 "10.0.1.1"
71 ],
72 "location": "of:0000000000000001/3"
73 }
74 },
75 "00:00:00:00:00:02/4093": {
76 "basic": {
77 "ips": [
78 "10.0.1.2"
79 ],
80 "location": "of:0000000000000001/4"
81 }
82 }
Saurav Das428ebc92015-09-30 10:00:49 -070083 }
84}
HIGUCHI Yutad9fe3a32015-11-24 18:52:25 -080085