Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 3 | "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 Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame] | 21 | }, |
Charles Chan | 4636be0 | 2015-10-07 14:21:45 -0700 | [diff] [blame] | 22 | "devices" : { |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 23 | "of:0000000000000002" : { |
| 24 | "segmentrouting" : { |
Charles Chan | 4636be0 | 2015-10-07 14:21:45 -0700 | [diff] [blame] | 25 | "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 Chan | 531a78b | 2015-12-01 10:00:51 -0800 | [diff] [blame] | 31 | { "adjSids" : 100, "ports" : [2, 3] }, |
| 32 | { "adjSids" : 200, "ports" : [4, 5] } |
Charles Chan | 4636be0 | 2015-10-07 14:21:45 -0700 | [diff] [blame] | 33 | ] |
| 34 | } |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 35 | }, |
| 36 | "of:0000000000000191" : { |
| 37 | "segmentrouting" : { |
Charles Chan | 4636be0 | 2015-10-07 14:21:45 -0700 | [diff] [blame] | 38 | "name" : "Spine-R1", |
| 39 | "nodeSid" : 105, |
| 40 | "routerIp" : "192.168.0.11", |
| 41 | "routerMac" : "00:00:01:00:11:80", |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 42 | "isEdgeRouter" : false, |
| 43 | "adjacencySids" : [] |
Charles Chan | 4636be0 | 2015-10-07 14:21:45 -0700 | [diff] [blame] | 44 | } |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 45 | } |
Charles Chan | 4636be0 | 2015-10-07 14:21:45 -0700 | [diff] [blame] | 46 | }, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame] | 47 | "apps" : { |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 48 | "org.onosproject.router" : { |
| 49 | "bgp" : { |
| 50 | "bgpSpeakers" : [ |
| 51 | { |
| 52 | "connectPoint" : "of:00000000000000aa/10", |
| 53 | "peers" : [ |
| 54 | "192.168.10.1" |
| 55 | ] |
| 56 | }, |
| 57 | { |
| 58 | "connectPoint" : "of:00000000000000aa/20", |
| 59 | "peers" : [ |
| 60 | "192.168.20.1" |
| 61 | ] |
| 62 | } |
| 63 | ] |
| 64 | } |
| 65 | } |
| 66 | }, |
| 67 | "hosts" : { |
| 68 | "00:00:00:00:00:01/4093": { |
| 69 | "basic": { |
| 70 | "ips": [ |
| 71 | "10.0.1.1" |
| 72 | ], |
| 73 | "location": "of:0000000000000001/3" |
| 74 | } |
| 75 | }, |
| 76 | "00:00:00:00:00:02/4093": { |
| 77 | "basic": { |
| 78 | "ips": [ |
| 79 | "10.0.1.2" |
| 80 | ], |
| 81 | "location": "of:0000000000000001/4" |
| 82 | } |
| 83 | } |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame] | 84 | } |
| 85 | } |
HIGUCHI Yuta | d9fe3a3 | 2015-11-24 18:52:25 -0800 | [diff] [blame] | 86 | |