Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 3 | "of:0000000000000001/1" : { |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 4 | "interfaces" : [ |
| 5 | { |
| 6 | "ips" : [ "10.0.1.254/24" ] |
| 7 | } |
| 8 | ] |
| 9 | }, |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 10 | "of:0000000000000001/2" : { |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 11 | "interfaces" : [ |
| 12 | { |
| 13 | "ips" : [ "10.0.1.254/24" ] |
| 14 | } |
| 15 | ] |
| 16 | }, |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 17 | "of:0000000000000001/3" : { |
| 18 | "interfaces" : [ |
| 19 | { |
| 20 | "ips" : [ "10.0.1.254/24" ] |
| 21 | } |
| 22 | ] |
| 23 | }, |
| 24 | "of:0000000000000001/4" : { |
| 25 | "interfaces" : [ |
| 26 | { |
| 27 | "ips" : [ "10.0.1.254/24" ] |
| 28 | } |
| 29 | ] |
| 30 | }, |
| 31 | "of:0000000000000002/1" : { |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 32 | "interfaces" : [ |
| 33 | { |
| 34 | "ips" : [ "10.0.2.254/24" ] |
| 35 | } |
| 36 | ] |
| 37 | }, |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 38 | "of:0000000000000002/2" : { |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 39 | "interfaces" : [ |
| 40 | { |
| 41 | "ips" : [ "10.0.2.254/24" ] |
| 42 | } |
| 43 | ] |
| 44 | }, |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 45 | "of:0000000000000003/1" : { |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 46 | "interfaces" : [ |
| 47 | { |
| 48 | "ips" : [ "10.0.3.254/24" ] |
| 49 | } |
| 50 | ] |
| 51 | }, |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 52 | "of:0000000000000003/2" : { |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 53 | "interfaces" : [ |
| 54 | { |
| 55 | "ips" : [ "10.0.3.254/24" ] |
| 56 | } |
| 57 | ] |
| 58 | }, |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 59 | "of:0000000000000004/1" : { |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 60 | "interfaces" : [ |
| 61 | { |
| 62 | "ips" : [ "10.0.4.254/24" ] |
| 63 | } |
| 64 | ] |
| 65 | }, |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 66 | "of:0000000000000004/2" : { |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 67 | "interfaces" : [ |
| 68 | { |
| 69 | "ips" : [ "10.0.4.254/24"] |
| 70 | } |
| 71 | ] |
| 72 | } |
| 73 | }, |
| 74 | "devices" : { |
| 75 | "of:0000000000000001" : { |
| 76 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 77 | "segmentrouting" : { |
| 78 | "name" : "Leaf-R1", |
| 79 | "nodeSid" : 1, |
| 80 | "routerIp" : "192.168.0.1", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 81 | "routerMac" : "10:00:00:00:00:01", |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 82 | "isEdgeRouter" : true, |
| 83 | "adjacencySids" : [] |
| 84 | } |
| 85 | }, |
| 86 | "of:0000000000000002" : { |
| 87 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 88 | "segmentrouting" : { |
| 89 | "name" : "Leaf-R2", |
| 90 | "nodeSid" : 2, |
| 91 | "routerIp" : "192.168.0.2", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 92 | "routerMac" : "10:00:00:00:00:02", |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 93 | "isEdgeRouter" : true, |
| 94 | "adjacencySids" : [] |
| 95 | } |
| 96 | }, |
| 97 | "of:0000000000000003" : { |
| 98 | "basic" :{ "driver" : "ofdpa-cpqd" }, |
| 99 | "segmentrouting" : { |
| 100 | "name" : "Leaf-R3", |
| 101 | "nodeSid" : 3, |
| 102 | "routerIp" : "192.168.0.3", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 103 | "routerMac" : "10:00:00:00:00:03", |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 104 | "isEdgeRouter" : true, |
| 105 | "adjacencySids" : [] |
| 106 | } |
| 107 | }, |
| 108 | "of:0000000000000004" : { |
| 109 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 110 | "segmentrouting" : { |
| 111 | "name" : "Leaf-R4", |
| 112 | "nodeSid" : 4, |
| 113 | "routerIp" : "192.168.0.4", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 114 | "routerMac" : "10:00:00:00:00:04", |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 115 | "isEdgeRouter" : true, |
| 116 | "adjacencySids" : [] |
| 117 | } |
| 118 | }, |
| 119 | "of:0000000000000101" : { |
| 120 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 121 | "segmentrouting" : { |
| 122 | "name" : "Spine-R1", |
| 123 | "nodeSid" : 101, |
| 124 | "routerIp" : "192.168.0.101", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 125 | "routerMac" : "10:00:00:00:01:01", |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 126 | "isEdgeRouter" : false, |
| 127 | "adjacencySids" : [] |
| 128 | } |
| 129 | }, |
| 130 | "of:0000000000000102" : { |
| 131 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 132 | "segmentrouting" : { |
| 133 | "name" : "Spine-R2", |
| 134 | "nodeSid" : 102, |
| 135 | "routerIp" : "192.168.0.102", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 136 | "routerMac" : "10:00:00:00:01:02", |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 137 | "isEdgeRouter" : false, |
| 138 | "adjacencySids" : [] |
| 139 | } |
| 140 | }, |
| 141 | "of:0000000000000103" : { |
| 142 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 143 | "segmentrouting" : { |
| 144 | "name" : "Spine-R3", |
| 145 | "nodeSid" : 103, |
| 146 | "routerIp" : "192.168.0.103", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 147 | "routerMac" : "10:00:00:00:01:03", |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 148 | "isEdgeRouter" : false, |
| 149 | "adjacencySids" : [] |
| 150 | } |
| 151 | }, |
| 152 | "of:0000000000000104" : { |
| 153 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 154 | "segmentrouting" : { |
| 155 | "name" : "Spine-R4", |
| 156 | "nodeSid" : 104, |
| 157 | "routerIp" : "192.168.0.104", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 158 | "routerMac" : "10:00:00:00:01:04", |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 159 | "isEdgeRouter" : false, |
| 160 | "adjacencySids" : [] |
| 161 | } |
| 162 | } |
| 163 | }, |
| 164 | "hosts" : { |
| 165 | "00:00:00:00:00:01/-1" : { |
| 166 | "basic": { |
| 167 | "ips": ["10.0.1.1"], |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 168 | "location": "of:0000000000000001/1" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 169 | } |
| 170 | }, |
| 171 | "00:00:00:00:00:02/-1" : { |
| 172 | "basic": { |
| 173 | "ips": ["10.0.1.2"], |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 174 | "location": "of:0000000000000001/2" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 175 | } |
| 176 | }, |
| 177 | "00:00:00:00:00:03/-1" : { |
| 178 | "basic": { |
| 179 | "ips": ["10.0.2.1"], |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 180 | "location": "of:0000000000000002/1" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 181 | } |
| 182 | }, |
| 183 | "00:00:00:00:00:04/-1" : { |
| 184 | "basic": { |
| 185 | "ips": ["10.0.2.2"], |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 186 | "location": "of:0000000000000002/2" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 187 | } |
| 188 | }, |
| 189 | "00:00:00:00:00:05/-1" : { |
| 190 | "basic": { |
| 191 | "ips": ["10.0.3.1"], |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 192 | "location": "of:0000000000000003/1" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 193 | } |
| 194 | }, |
| 195 | "00:00:00:00:00:06/-1" : { |
| 196 | "basic": { |
| 197 | "ips": ["10.0.3.2"], |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 198 | "location": "of:0000000000000003/2" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 199 | } |
| 200 | }, |
| 201 | "00:00:00:00:00:07/-1" : { |
| 202 | "basic": { |
| 203 | "ips": ["10.0.4.1"], |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 204 | "location": "of:0000000000000004/1" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 205 | } |
| 206 | }, |
| 207 | "00:00:00:00:00:08/-1" : { |
| 208 | "basic": { |
| 209 | "ips": ["10.0.4.2"], |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 210 | "location": "of:0000000000000004/2" |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 211 | } |
| 212 | } |
Flavio Castro | e168f7f | 2016-06-24 15:53:12 -0700 | [diff] [blame] | 213 | }, |
| 214 | "apps": { |
| 215 | "org.onosproject.segmentrouting": { |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 216 | "xconnect": { |
| 217 | "of:0000000000000001": [ |
| 218 | { |
| 219 | "vlan": 5, |
| 220 | "ports": [5,7], |
| 221 | "name": "OLT 1" |
| 222 | }, |
| 223 | { |
| 224 | "vlan": 10, |
| 225 | "ports": [5,8], |
| 226 | "name": "OLT 2" |
| 227 | } |
| 228 | ] |
| 229 | } |
Flavio Castro | e168f7f | 2016-06-24 15:53:12 -0700 | [diff] [blame] | 230 | } |
Flavio Castro | 96eaa2e | 2016-04-23 16:24:47 -0700 | [diff] [blame] | 231 | } |
| 232 | } |