Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/3" : { |
| 4 | "interfaces" : [ |
| 5 | { |
Charles Chan | a8c31b1 | 2016-04-18 20:16:14 -0700 | [diff] [blame] | 6 | "ips" : [ "10.0.1.254/24" ] |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 7 | } |
| 8 | ] |
| 9 | }, |
| 10 | "of:0000000000000001/4" : { |
| 11 | "interfaces" : [ |
| 12 | { |
Charles Chan | a8c31b1 | 2016-04-18 20:16:14 -0700 | [diff] [blame] | 13 | "ips" : [ "10.0.1.254/24" ] |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 14 | } |
| 15 | ] |
| 16 | }, |
| 17 | "of:0000000000000002/3" : { |
| 18 | "interfaces" : [ |
| 19 | { |
Charles Chan | a8c31b1 | 2016-04-18 20:16:14 -0700 | [diff] [blame] | 20 | "ips" : [ "10.0.2.254/24" ] |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 21 | } |
| 22 | ] |
| 23 | }, |
| 24 | "of:0000000000000002/4" : { |
| 25 | "interfaces" : [ |
| 26 | { |
Charles Chan | a8c31b1 | 2016-04-18 20:16:14 -0700 | [diff] [blame] | 27 | "ips" : [ "10.0.2.254/24" ] |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 28 | } |
| 29 | ] |
| 30 | } |
| 31 | }, |
| 32 | "devices" : { |
| 33 | "of:0000000000000001" : { |
| 34 | "segmentrouting" : { |
| 35 | "name" : "Leaf-R1", |
| 36 | "nodeSid" : 101, |
| 37 | "routerIp" : "10.0.1.254", |
| 38 | "routerMac" : "00:00:00:00:01:80", |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 39 | "isEdgeRouter" : true, |
| 40 | "adjacencySids" : [] |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 41 | } |
| 42 | }, |
| 43 | "of:0000000000000002" : { |
| 44 | "segmentrouting" : { |
| 45 | "name" : "Leaf-R2", |
| 46 | "nodeSid" : 102, |
| 47 | "routerIp" : "10.0.2.254", |
| 48 | "routerMac" : "00:00:00:00:02:80", |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 49 | "isEdgeRouter" : true, |
| 50 | "adjacencySids" : [] |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 51 | } |
| 52 | }, |
| 53 | "of:0000000000000191" : { |
| 54 | "segmentrouting" : { |
| 55 | "name" : "Spine-R1", |
| 56 | "nodeSid" : 103, |
| 57 | "routerIp" : "192.168.0.11", |
| 58 | "routerMac" : "00:00:01:00:11:80", |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 59 | "isEdgeRouter" : false, |
| 60 | "adjacencySids" : [] |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 61 | } |
| 62 | }, |
| 63 | "of:0000000000000192" : { |
| 64 | "segmentrouting" : { |
| 65 | "name" : "Spine-R2", |
| 66 | "nodeSid" : 104, |
| 67 | "routerIp" : "192.168.0.22", |
| 68 | "routerMac" : "00:00:01:00:22:80", |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 69 | "isEdgeRouter" : false, |
| 70 | "adjacencySids" : [] |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 71 | } |
| 72 | } |
| 73 | }, |
| 74 | "hosts" : { |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 75 | "00:00:00:00:00:01/-1" : { |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 76 | "basic": { |
| 77 | "ips": ["10.0.1.1"], |
| 78 | "location": "of:0000000000000001/3" |
| 79 | } |
| 80 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 81 | "00:00:00:00:00:02/-1" : { |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 82 | "basic": { |
| 83 | "ips": ["10.0.1.2"], |
| 84 | "location": "of:0000000000000001/4" |
| 85 | } |
| 86 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 87 | "00:00:00:00:00:03/-1" : { |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 88 | "basic": { |
| 89 | "ips": ["10.0.2.1"], |
| 90 | "location": "of:0000000000000002/3" |
| 91 | } |
| 92 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 93 | "00:00:00:00:00:04/-1" : { |
Charles Chan | d6d581a | 2015-11-18 16:51:08 -0800 | [diff] [blame] | 94 | "basic": { |
| 95 | "ips": ["10.0.2.2"], |
| 96 | "location": "of:0000000000000002/4" |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | } |