Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/5" : { |
| 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" |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000001/6" : { |
| 12 | "interfaces" : [ |
| 13 | { |
| 14 | "ips" : [ "10.0.1.254/24" ], |
Charles Chan | e849c19 | 2016-01-11 18:28:54 -0800 | [diff] [blame] | 15 | "vlan" : "-1" |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 16 | } |
| 17 | ] |
| 18 | }, |
| 19 | "of:0000000000000002/5" : { |
| 20 | "interfaces" : [ |
| 21 | { |
| 22 | "ips" : [ "10.0.2.254/24" ], |
Charles Chan | e849c19 | 2016-01-11 18:28:54 -0800 | [diff] [blame] | 23 | "vlan" : "-1" |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "of:0000000000000002/6" : { |
| 28 | "interfaces" : [ |
| 29 | { |
| 30 | "ips" : [ "10.0.2.254/24" ], |
Charles Chan | e849c19 | 2016-01-11 18:28:54 -0800 | [diff] [blame] | 31 | "vlan" : "-1" |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 32 | } |
| 33 | ] |
| 34 | }, |
| 35 | "of:0000000000000003/5" : { |
| 36 | "interfaces" : [ |
| 37 | { |
| 38 | "ips" : [ "10.0.3.254/24" ], |
Charles Chan | e849c19 | 2016-01-11 18:28:54 -0800 | [diff] [blame] | 39 | "vlan" : "-1" |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 40 | } |
| 41 | ] |
| 42 | }, |
| 43 | "of:0000000000000003/6" : { |
| 44 | "interfaces" : [ |
| 45 | { |
| 46 | "ips" : [ "10.0.3.254/24" ], |
Charles Chan | e849c19 | 2016-01-11 18:28:54 -0800 | [diff] [blame] | 47 | "vlan" : "-1" |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 48 | } |
| 49 | ] |
| 50 | }, |
| 51 | "of:0000000000000004/5" : { |
| 52 | "interfaces" : [ |
| 53 | { |
| 54 | "ips" : [ "10.0.4.254/24" ], |
Charles Chan | e849c19 | 2016-01-11 18:28:54 -0800 | [diff] [blame] | 55 | "vlan" : "-1" |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 56 | } |
| 57 | ] |
| 58 | }, |
| 59 | "of:0000000000000004/6" : { |
| 60 | "interfaces" : [ |
| 61 | { |
| 62 | "ips" : [ "10.0.4.254/24" ], |
Charles Chan | e849c19 | 2016-01-11 18:28:54 -0800 | [diff] [blame] | 63 | "vlan" : "-1" |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 64 | } |
| 65 | ] |
| 66 | } |
| 67 | }, |
| 68 | "devices" : { |
| 69 | "of:0000000000000001" : { |
| 70 | "segmentrouting" : { |
| 71 | "name" : "Leaf-R1", |
| 72 | "nodeSid" : 101, |
| 73 | "routerIp" : "10.0.1.254", |
| 74 | "routerMac" : "00:00:00:00:01:80", |
| 75 | "isEdgeRouter" : true, |
| 76 | "adjacencySids" : [] |
| 77 | } |
| 78 | }, |
| 79 | "of:0000000000000002" : { |
| 80 | "segmentrouting" : { |
| 81 | "name" : "Leaf-R2", |
| 82 | "nodeSid" : 102, |
| 83 | "routerIp" : "10.0.2.254", |
| 84 | "routerMac" : "00:00:00:00:02:80", |
| 85 | "isEdgeRouter" : true, |
| 86 | "adjacencySids" : [] |
| 87 | } |
| 88 | }, |
| 89 | "of:0000000000000003" : { |
| 90 | "segmentrouting" : { |
| 91 | "name" : "Leaf-R3", |
| 92 | "nodeSid" : 103, |
| 93 | "routerIp" : "10.0.3.254", |
| 94 | "routerMac" : "00:00:00:00:03:80", |
| 95 | "isEdgeRouter" : true, |
| 96 | "adjacencySids" : [] |
| 97 | } |
| 98 | }, |
| 99 | "of:0000000000000004" : { |
| 100 | "segmentrouting" : { |
| 101 | "name" : "Leaf-R4", |
| 102 | "nodeSid" : 104, |
| 103 | "routerIp" : "10.0.4.254", |
| 104 | "routerMac" : "00:00:00:00:04:80", |
| 105 | "isEdgeRouter" : true, |
| 106 | "adjacencySids" : [] |
| 107 | } |
| 108 | }, |
| 109 | "of:0000000000000191" : { |
| 110 | "segmentrouting" : { |
| 111 | "name" : "Spine-R1", |
| 112 | "nodeSid" : 105, |
| 113 | "routerIp" : "192.168.0.11", |
| 114 | "routerMac" : "00:00:01:00:11:80", |
| 115 | "isEdgeRouter" : false, |
| 116 | "adjacencySids" : [] |
| 117 | } |
| 118 | }, |
| 119 | "of:0000000000000192" : { |
| 120 | "segmentrouting" : { |
| 121 | "name" : "Spine-R2", |
| 122 | "nodeSid" : 106, |
| 123 | "routerIp" : "192.168.0.22", |
| 124 | "routerMac" : "00:00:01:00:22:80", |
| 125 | "isEdgeRouter" : false, |
| 126 | "adjacencySids" : [] |
| 127 | } |
| 128 | }, |
| 129 | "of:0000000000000193" : { |
| 130 | "segmentrouting" : { |
| 131 | "name" : "Spine-R3", |
| 132 | "nodeSid" : 107, |
| 133 | "routerIp" : "192.168.0.33", |
| 134 | "routerMac" : "00:00:03:00:33:80", |
| 135 | "isEdgeRouter" : false, |
| 136 | "adjacencySids" : [] |
| 137 | } |
| 138 | }, |
| 139 | "of:0000000000000194" : { |
| 140 | "segmentrouting" : { |
| 141 | "name" : "Spine-R4", |
| 142 | "nodeSid" : 108, |
| 143 | "routerIp" : "192.168.0.44", |
| 144 | "routerMac" : "00:00:04:00:44:80", |
| 145 | "isEdgeRouter" : false, |
| 146 | "adjacencySids" : [] |
| 147 | } |
| 148 | } |
| 149 | }, |
| 150 | "hosts" : { |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 151 | "00:00:00:00:00:01/-1" : { |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 152 | "basic": { |
| 153 | "ips": ["10.0.1.1"], |
| 154 | "location": "of:0000000000000001/5" |
| 155 | } |
| 156 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 157 | "00:00:00:00:00:02/-1" : { |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 158 | "basic": { |
| 159 | "ips": ["10.0.1.2"], |
| 160 | "location": "of:0000000000000001/6" |
| 161 | } |
| 162 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 163 | "00:00:00:00:00:03/-1" : { |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 164 | "basic": { |
| 165 | "ips": ["10.0.2.1"], |
| 166 | "location": "of:0000000000000002/5" |
| 167 | } |
| 168 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 169 | "00:00:00:00:00:04/-1" : { |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 170 | "basic": { |
| 171 | "ips": ["10.0.2.2"], |
| 172 | "location": "of:0000000000000002/6" |
| 173 | } |
| 174 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 175 | "00:00:00:00:00:05/-1" : { |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 176 | "basic": { |
| 177 | "ips": ["10.0.3.1"], |
| 178 | "location": "of:0000000000000003/5" |
| 179 | } |
| 180 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 181 | "00:00:00:00:00:06/-1" : { |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 182 | "basic": { |
| 183 | "ips": ["10.0.3.2"], |
| 184 | "location": "of:0000000000000003/6" |
| 185 | } |
| 186 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 187 | "00:00:00:00:00:07/-1" : { |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 188 | "basic": { |
| 189 | "ips": ["10.0.4.1"], |
| 190 | "location": "of:0000000000000004/5" |
| 191 | } |
| 192 | }, |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 193 | "00:00:00:00:00:08/-1" : { |
Charles Chan | f5baee8 | 2015-12-02 15:33:33 -0800 | [diff] [blame] | 194 | "basic": { |
| 195 | "ips": ["10.0.4.2"], |
| 196 | "location": "of:0000000000000004/6" |
| 197 | } |
| 198 | } |
| 199 | } |
| 200 | } |