Charles Chan | a8c31b1 | 2016-04-18 20:16:14 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/5" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "ips" : [ "10.0.1.254/24" ] |
| 7 | }, |
| 8 | { |
| 9 | "vlan" : "20" |
| 10 | }, |
| 11 | { |
| 12 | "vlan" : "10" |
| 13 | }, |
| 14 | { |
| 15 | "vlan" : "222" |
| 16 | }, |
| 17 | { |
| 18 | "ips" : [ |
| 19 | "A.A.A.146/32", "A.A.A.147/32", "A.A.A.148/32", "A.A.A.149/32", |
| 20 | "A.A.A.150/32", "A.A.A.151/32", "A.A.A.152/32", "A.A.A.153/32" |
| 21 | ] |
| 22 | } |
| 23 | ] |
| 24 | }, |
| 25 | "of:0000000000000001/7" : { |
| 26 | "interfaces" : [ |
| 27 | { |
| 28 | "ips" : [ "10.0.1.254/24" ] |
| 29 | } |
| 30 | ] |
| 31 | }, |
| 32 | "of:0000000000000001/65" : { |
| 33 | "interfaces" : [ |
| 34 | { |
| 35 | "name" : "fujitsu-olt", |
| 36 | "vlan" : "20" |
| 37 | } |
| 38 | ] |
| 39 | }, |
| 40 | "of:0000000000000001/73" : { |
| 41 | "interfaces" : [ |
| 42 | { |
| 43 | "name" : "pmc-olt", |
| 44 | "vlan" : "10" |
| 45 | }, |
| 46 | { |
| 47 | "vlan" : "222" |
| 48 | } |
| 49 | ] |
| 50 | }, |
| 51 | "of:0000000000000002/5" : { |
| 52 | "interfaces" : [ |
| 53 | { |
| 54 | "ips" : [ "10.0.2.254/24" ] |
| 55 | }, |
| 56 | { |
| 57 | "ips" : [ "A.A.A.130/32", "A.A.A.131/32" ] |
| 58 | } |
| 59 | ] |
| 60 | }, |
| 61 | "of:0000000000000002/32" : { |
| 62 | "interfaces" : [ |
| 63 | { |
| 64 | "name" : "internet-router", |
| 65 | "ips" : [ "10.231.254.202/30" ], |
| 66 | "mac" : "00:16:3e:4b:5a:04" |
| 67 | } |
| 68 | ], |
| 69 | "pimInterface" : { |
| 70 | "interfaceName" : "internet-router", |
| 71 | "enabled" : true, |
| 72 | "helloInterval" : 1, |
| 73 | "holdTime" : 3, |
| 74 | "propagationDelay" : 500, |
| 75 | "overrideInterval" : 2500 |
| 76 | } |
| 77 | } |
| 78 | }, |
| 79 | "devices" : { |
| 80 | "of:0000000000000001" : { |
| 81 | "segmentrouting" : { |
| 82 | "name" : "Leaf-R1", |
| 83 | "nodeSid" : 101, |
| 84 | "routerIp" : "10.0.1.254", |
| 85 | "routerMac" : "00:00:00:00:01:80", |
| 86 | "isEdgeRouter" : true, |
| 87 | "adjacencySids" : [] |
| 88 | } |
| 89 | }, |
| 90 | "of:0000000000000002" : { |
| 91 | "segmentrouting" : { |
| 92 | "name" : "Leaf-R2", |
| 93 | "nodeSid" : 102, |
| 94 | "routerIp" : "10.0.2.254", |
| 95 | "routerMac" : "00:00:00:00:02:80", |
| 96 | "isEdgeRouter" : true, |
| 97 | "adjacencySids" : [] |
| 98 | } |
| 99 | }, |
| 100 | "of:0000000000000191" : { |
| 101 | "segmentrouting" : { |
| 102 | "name" : "Spine-R1", |
| 103 | "nodeSid" : 103, |
| 104 | "routerIp" : "192.168.0.11", |
| 105 | "routerMac" : "00:00:01:00:11:80", |
| 106 | "isEdgeRouter" : false, |
| 107 | "adjacencySids" : [] |
| 108 | } |
| 109 | }, |
| 110 | "of:0000000000000192" : { |
| 111 | "segmentrouting" : { |
| 112 | "name" : "Spine-R2", |
| 113 | "nodeSid" : 104, |
| 114 | "routerIp" : "192.168.0.22", |
| 115 | "routerMac" : "00:00:01:00:22:80", |
| 116 | "isEdgeRouter" : false, |
| 117 | "adjacencySids" : [] |
| 118 | } |
| 119 | } |
| 120 | }, |
| 121 | "hosts" : { |
| 122 | "00:02:c9:1e:b1:20/-1" : { |
| 123 | "basic": { |
| 124 | "ips": ["10.0.1.1"], |
| 125 | "location": "of:0000000000000001/5" |
| 126 | } |
| 127 | }, |
| 128 | "00:02:c9:1e:b4:e0/-1" : { |
| 129 | "basic": { |
| 130 | "ips": ["10.0.1.2"], |
| 131 | "location": "of:0000000000000001/7" |
| 132 | } |
| 133 | }, |
| 134 | "00:02:c9:1e:b4:60/-1" : { |
| 135 | "basic": { |
| 136 | "ips": ["10.0.2.1"], |
| 137 | "location": "of:0000000000000002/5" |
| 138 | } |
| 139 | }, |
| 140 | "fa:16:3e:f9:2d:96/-1" : { |
| 141 | "basic": { |
| 142 | "ips": ["A.A.A.130"], |
| 143 | "location": "of:0000000000000002/5" |
| 144 | } |
| 145 | }, |
| 146 | "FA:16:3E:2D:11:D4/-1" : { |
| 147 | "basic": { |
| 148 | "ips": ["A.A.A.134"], |
| 149 | "location": "of:0000000000000002/5" |
| 150 | } |
| 151 | }, |
| 152 | "02:42:cf:8d:c0:92/-1" : { |
| 153 | "basic": { |
| 154 | "ips": ["A.A.A.146"], |
| 155 | "location": "of:0000000000000001/5" |
| 156 | } |
| 157 | }, |
| 158 | "02:42:cf:8d:c0:93/-1" : { |
| 159 | "basic": { |
| 160 | "ips": ["A.A.A.147"], |
| 161 | "location": "of:0000000000000001/5" |
| 162 | } |
| 163 | }, |
| 164 | "02:42:cf:8d:c0:94/-1" : { |
| 165 | "basic": { |
| 166 | "ips": ["A.A.A.148"], |
| 167 | "location": "of:0000000000000001/5" |
| 168 | } |
| 169 | }, |
| 170 | "02:42:cf:8d:c0:95/-1" : { |
| 171 | "basic": { |
| 172 | "ips": ["A.A.A.149"], |
| 173 | "location": "of:0000000000000001/5" |
| 174 | } |
| 175 | }, |
| 176 | "02:42:cf:8d:c0:96/-1" : { |
| 177 | "basic": { |
| 178 | "ips": ["A.A.A.150"], |
| 179 | "location": "of:0000000000000001/5" |
| 180 | } |
| 181 | }, |
| 182 | "02:42:cf:8d:c0:97/-1" : { |
| 183 | "basic": { |
| 184 | "ips": ["A.A.A.151"], |
| 185 | "location": "of:0000000000000001/5" |
| 186 | } |
| 187 | }, |
| 188 | "02:42:cf:8d:c0:98/-1" : { |
| 189 | "basic": { |
| 190 | "ips": ["A.A.A.152"], |
| 191 | "location": "of:0000000000000001/5" |
| 192 | } |
| 193 | }, |
| 194 | "02:42:cf:8d:c0:99/-1" : { |
| 195 | "basic": { |
| 196 | "ips": ["A.A.A.153"], |
| 197 | "location": "of:0000000000000001/5" |
| 198 | } |
| 199 | } |
| 200 | }, |
| 201 | "links" : { |
| 202 | "of:0000000000000001/1-of:0000000000000191/1" : { |
| 203 | "basic" : {} |
| 204 | }, |
| 205 | "of:0000000000000001/3-of:0000000000000192/1" : { |
| 206 | "basic" : {} |
| 207 | }, |
| 208 | "of:0000000000000002/1-of:0000000000000191/3" : { |
| 209 | "basic" : {} |
| 210 | }, |
| 211 | "of:0000000000000002/3-of:0000000000000192/3" : { |
| 212 | "basic" : {} |
| 213 | }, |
| 214 | "of:0000000000000191/1-of:0000000000000001/1" : { |
| 215 | "basic" : {} |
| 216 | }, |
| 217 | "of:0000000000000192/1-of:0000000000000001/3" : { |
| 218 | "basic" : {} |
| 219 | }, |
| 220 | "of:0000000000000191/3-of:0000000000000002/1" : { |
| 221 | "basic" : {} |
| 222 | }, |
| 223 | "of:0000000000000192/3-of:0000000000000002/3" : { |
| 224 | "basic" : {} |
| 225 | } |
| 226 | }, |
| 227 | "apps" : { |
| 228 | "org.onosproject.core" : { |
| 229 | "core" : { |
| 230 | "linkDiscoveryMode" : "STRICT" |
| 231 | } |
| 232 | }, |
| 233 | "org.onosproject.segmentrouting" : { |
| 234 | "segmentrouting" : { |
| 235 | "vRouterMacs" : [ |
| 236 | "a4:23:05:34:56:78", "a4:23:05:34:56:79" |
| 237 | ], |
| 238 | "vRouterId" : "of:0000000000000002", |
| 239 | "suppressSubnet" : [ |
| 240 | "of:0000000000000002/31", "of:0000000000000002/32" |
| 241 | ], |
| 242 | "suppressHost" : [ |
| 243 | "of:0000000000000001/65", "of:0000000000000001/73", |
| 244 | "of:0000000000000002/31", "of:0000000000000002/32" |
| 245 | ] |
| 246 | } |
| 247 | }, |
| 248 | "org.onosproject.router" : { |
| 249 | "router" : { |
| 250 | "controlPlaneConnectPoint" : "of:0000000000000002/31", |
| 251 | "ospfEnabled" : "true", |
| 252 | "pimEnabled" : "true", |
| 253 | "interfaces" : [ "internet-router" ] |
| 254 | } |
| 255 | } |
| 256 | } |
| 257 | } |