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