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