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