68 | | |
69 | | == Scenarios 2 - Single slice with two endpoints using multiple stitched VLANs == |
| 69 | == Scenario 2 - Single slice with two endpoints using multiple stitched VLANs (Utah IG to Utah PG) = |
| 70 | |
| 71 | This test verifies the use of 1 slice to connected 2 aggregates via 2 stitched VLANs. The test included 1 slice named ''1sl-2aggr-2lnk'' that used the following topology: |
| 72 | |
| 73 | * (Utah PG VM1 <- VLAN1 -> Utah IG VM1) + (Utah PG VM1 <- VLAN2 -> Utah IG VM1) |
| 74 | |
| 75 | First created a slice: |
| 76 | {{{ |
| 77 | $ omni.py createslice pg-utah-ig-utah-2l |
| 78 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 79 | INFO:omni:Using control framework pg |
| 80 | INFO:omni:Created slice with Name pg-utah-ig-utah-2l, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+pg-utah-ig-utah-2l, Expiration 2013-06-08 13:43:03+00:00 |
| 81 | INFO:omni: ------------------------------------------------------------ |
| 82 | INFO:omni: Completed createslice: |
| 83 | |
| 84 | Options as run: |
| 85 | framework: pg |
| 86 | |
| 87 | Args: createslice pg-utah-ig-utah-2l |
| 88 | |
| 89 | Result Summary: Created slice with Name pg-utah-ig-utah-2l, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+pg-utah-ig-utah-2l, Expiration 2013-06-08 13:43:03+00:00 |
| 90 | |
| 91 | INFO:omni: ============================================================ |
| 92 | }}} |
| 93 | |
| 94 | Then created a sliver using [stitch-pg-utah-ig-utah-2links-capacity.rspec] |
| 95 | {{{ |
| 96 | $ stitcher.py pg-utah-ig-utah-2l ./stitch-pg-utah-ig-utah-2links-capacity.rspec |
| 97 | INFO:stitcher:Loading config file /home/lnevers/.gcf/omni_config |
| 98 | INFO:stitcher:Using control framework pg |
| 99 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 100 | INFO:omni:Using control framework pg |
| 101 | ERROR:omni:Unknown function: pg-utah-ig-utah-2l |
| 102 | Unknown function: pg-utah-ig-utah-2l |
| 103 | lnevers@arendia:~/gcf-2.3.1/stitch-test$ stitcher.py createsliver pg-utah-ig-utah-2l ./stitch-pg-utah-ig-utah-2links-capacity.rspec |
| 104 | INFO:stitcher:Loading config file /home/lnevers/.gcf/omni_config |
| 105 | INFO:stitcher:Using control framework pg |
| 106 | INFO:stitcher:<Aggregate urn:publicid:IDN+emulab.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 107 | INFO:stitcher:<Aggregate urn:publicid:IDN+utah.geniracks.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 108 | INFO:stitch.Aggregate:Writing to '/tmp/pg-utah-ig-utah-2l-createsliver-request-11-emulab-net.xml' |
| 109 | INFO:stitch.Aggregate: |
| 110 | Stitcher doing createsliver at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 111 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 112 | INFO:omni:Using control framework pg |
| 113 | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+pg-utah-ig-utah-2l expires on 2013-06-08 13:43:03 UTC |
| 114 | INFO:omni:Creating sliver(s) from rspec file /tmp/pg-utah-ig-utah-2l-createsliver-request-11-emulab-net.xml for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+pg-utah-ig-utah-2l |
| 115 | INFO:omni: (PG log url - look here for details on any failures: https://www.emulab.net/spewlogfile.php3?logfile=650c8977ea997c58f46e5b565ed206fb) |
| 116 | INFO:omni:Got return from CreateSliver for slice pg-utah-ig-utah-2l at https://www.emulab.net:12369/protogeni/xmlrpc/am: |
| 117 | INFO:omni:Writing to 'pg-utah-ig-utah-2l-manifest-rspec-www-emulab-net-protogeni.xml' |
| 118 | INFO:omni:<!-- Reserved resources for: |
| 119 | Slice: pg-utah-ig-utah-2l |
| 120 | at AM: |
| 121 | URN: unspecified_AM_URN |
| 122 | URL: https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 123 | --> |
| 124 | INFO:omni:Wrote result of createsliver for slice: pg-utah-ig-utah-2l at AM: https://www.emulab.net:12369/protogeni/xmlrpc/am to file pg-utah-ig-utah-2l-manifest-rspec-www-emulab-net-protogeni.xml |
| 125 | INFO:stitch.Aggregate:Allocation at <Aggregate urn:publicid:IDN+emulab.net+authority+cm> complete. |
| 126 | INFO:stitch.Aggregate:Writing to '/tmp/pg-utah-ig-utah-2l-createsliver-request-11-utah-geniracks-net.xml' |
| 127 | INFO:stitch.Aggregate: |
| 128 | Stitcher doing createsliver at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 129 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 130 | INFO:omni:Using control framework pg |
| 131 | |
| 132 | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+pg-utah-ig-utah-2l expires on 2013-06-08 13:43:03 UTC |
| 133 | INFO:omni:Creating sliver(s) from rspec file /tmp/pg-utah-ig-utah-2l-createsliver-request-11-utah-geniracks-net.xml for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+pg-utah-ig-utah-2l |
| 134 | INFO:omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=8f4328f9091463f05c4e73ad3587ac4e) |
| 135 | INFO:omni:Got return from CreateSliver for slice pg-utah-ig-utah-2l at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am: |
| 136 | INFO:omni:Writing to 'pg-utah-ig-utah-2l-manifest-rspec-utah-geniracks-net-protogeni.xml' |
| 137 | INFO:omni:<!-- Reserved resources for: |
| 138 | Slice: pg-utah-ig-utah-2l |
| 139 | at AM: |
| 140 | URN: unspecified_AM_URN |
| 141 | URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 142 | --> |
| 143 | INFO:omni:Wrote result of createsliver for slice: pg-utah-ig-utah-2l at AM: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am to file pg-utah-ig-utah-2l-manifest-rspec-utah-geniracks-net-protogeni.xml |
| 144 | INFO:stitch.Aggregate:Allocation at <Aggregate urn:publicid:IDN+utah.geniracks.net+authority+cm> complete. |
| 145 | INFO:stitch.launcher:All aggregates are complete. |
| 146 | INFO:stitcher:<?xml version="1.0" ?> |
| 147 | INFO:stitcher: <!-- Reserved resources for: |
| 148 | Slice: pg-utah-ig-utah-2l |
| 149 | at AM: |
| 150 | URN: stitching-combined |
| 151 | URL: |
| 152 | --> |
| 153 | INFO:stitcher: |
| 154 | <!-- |
| 155 | Aggregate Details |
| 156 | { |
| 157 | "url": "https://www.emulab.net:12369/protogeni/xmlrpc/am", |
| 158 | "hops_info": [ |
| 159 | { |
| 160 | "path_id": "link0", |
| 161 | "path_global_id": null, |
| 162 | "urn": "urn:publicid:IDN+emulab.net+interface+procurveA:3.19", |
| 163 | "vlan_tag": "885", |
| 164 | "id": "1" |
| 165 | }, |
| 166 | { |
| 167 | "path_id": "link1", |
| 168 | "path_global_id": null, |
| 169 | "urn": "urn:publicid:IDN+emulab.net+interface+procurveA:3.19", |
| 170 | "vlan_tag": "775", |
| 171 | "id": "1" |
| 172 | } |
| 173 | ], |
| 174 | "urn": "urn:publicid:IDN+emulab.net+authority+cm", |
| 175 | "user_requested": true, |
| 176 | "api_version": 2 |
| 177 | } |
| 178 | { |
| 179 | "url": "https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am", |
| 180 | "hops_info": [ |
| 181 | { |
| 182 | "path_id": "link0", |
| 183 | "path_global_id": null, |
| 184 | "urn": "urn:publicid:IDN+utah.geniracks.net+interface+procurve2:1.19", |
| 185 | "vlan_tag": "885", |
| 186 | "id": "2" |
| 187 | }, |
| 188 | { |
| 189 | "path_id": "link1", |
| 190 | "path_global_id": null, |
| 191 | "urn": "urn:publicid:IDN+utah.geniracks.net+interface+procurve2:1.19", |
| 192 | "vlan_tag": "775", |
| 193 | "id": "2" |
| 194 | } |
| 195 | ], |
| 196 | "urn": "urn:publicid:IDN+utah.geniracks.net+authority+cm", |
| 197 | "user_requested": true, |
| 198 | "api_version": 2 |
| 199 | } |
| 200 | --> |
| 201 | <rspec expires="2013-06-08T13:43:03Z" type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" xmlns:stitch="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd"> |
| 202 | <node client_id="pg-utah" component_id="urn:publicid:IDN+emulab.net+node+pc403" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+emulab.net+sliver+133228"> |
| 203 | <sliver_type name="emulab-openvz"/> |
| 204 | <interface client_id="pg-utah:if0" component_id="urn:publicid:IDN+emulab.net+interface+pc403:eth2" mac_address="026681e578a2" sliver_id="urn:publicid:IDN+emulab.net+sliver+133233"> |
| 205 | <ip address="192.168.4.1" netmask="255.255.255.0" type="ipv4"/> |
| 206 | </interface> |
| 207 | <interface client_id="pg-utah:if1"> |
| 208 | <ip address="192.168.5.1" netmask="255.255.255.0" type="ipv4"/> |
| 209 | </interface> |
| 210 | <rs:vnode name="pcvm403-3" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
| 211 | <host name="pg-utah.pg-utah-ig-utah-2l.pgeni-gpolab-bbn-com.emulab.net"/> |
| 212 | <services> |
| 213 | <login authentication="ssh-keys" hostname="pc403.emulab.net" port="32314" username="lnevers"/> |
| 214 | </services> |
| 215 | </node> |
| 216 | <node client_id="ig-utah" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc5" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20800"> |
| 217 | <sliver_type name="emulab-openvz"/> |
| 218 | <interface client_id="ig-utah:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:eth1" mac_address="02a57ef32aca" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20805"> |
| 219 | <ip address="192.168.4.2" netmask="255.255.255.0" type="ipv4"/> |
| 220 | </interface> |
| 221 | <interface client_id="ig-utah:if1"> |
| 222 | <ip address="192.168.5.2" netmask="255.255.255.0" type="ipv4"/> |
| 223 | </interface> |
| 224 | <rs:vnode name="pcvm5-2" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
| 225 | <host name="ig-utah.pg-utah-ig-utah-2l.pgeni-gpolab-bbn-com.utah.geniracks.net"/> |
| 226 | <services> |
| 227 | <login authentication="ssh-keys" hostname="pc5.utah.geniracks.net" port="32058" username="lnevers"/> |
| 228 | </services> |
| 229 | </node> |
| 230 | <link client_id="link0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20802" vlantag="885"> |
| 231 | <!--AM urn:publicid:IDN+emulab.net+authority+cm: sliver_id=urn:publicid:IDN+emulab.net+sliver+133230 vlantag=885--> |
| 232 | <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/> |
| 233 | <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/> |
| 234 | <interface_ref client_id="pg-utah:if0" component_id="urn:publicid:IDN+emulab.net+interface+pc403:eth2" sliver_id="urn:publicid:IDN+emulab.net+sliver+133231"/> |
| 235 | <interface_ref client_id="ig-utah:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20803"/> |
| 236 | <property capacity="100000" dest_id="ig-utah:if0" source_id="pg-utah:if0"/> |
| 237 | <property capacity="100000" dest_id="pg-utah:if0" source_id="ig-utah:if0"/> |
| 238 | </link> |
| 239 | <link client_id="link1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20804" vlantag="775"> |
| 240 | <!--AM urn:publicid:IDN+emulab.net+authority+cm: sliver_id=urn:publicid:IDN+emulab.net+sliver+133232 vlantag=775--> |
| 241 | <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/> |
| 242 | <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/> |
| 243 | <interface_ref client_id="pg-utah:if0" component_id="urn:publicid:IDN+emulab.net+interface+pc403:eth2" sliver_id="urn:publicid:IDN+emulab.net+sliver+133233"/> |
| 244 | <interface_ref client_id="ig-utah:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20805"/> |
| 245 | <property capacity="100000" dest_id="ig-utah:if0" source_id="pg-utah:if0"/> |
| 246 | <property capacity="100000" dest_id="pg-utah:if0" source_id="ig-utah:if0"/> |
| 247 | </link> |
| 248 | <stitching lastUpdateTime="20130607:05:44:14" xmlns="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/"> |
| 249 | <path id="link0"> |
| 250 | <hop id="1"> |
| 251 | <link id="urn:publicid:IDN+emulab.net+interface+procurveA:3.19"> |
| 252 | <trafficEngineeringMetric> |
| 253 | 10 |
| 254 | </trafficEngineeringMetric> |
| 255 | <capacity> |
| 256 | 100000 |
| 257 | </capacity> |
| 258 | <switchingCapabilityDescriptor> |
| 259 | <switchingcapType> |
| 260 | l2sc |
| 261 | </switchingcapType> |
| 262 | <encodingType> |
| 263 | ethernet |
| 264 | </encodingType> |
| 265 | <switchingCapabilitySpecificInfo> |
| 266 | <switchingCapabilitySpecificInfo_L2sc> |
| 267 | <interfaceMTU> |
| 268 | 9000 |
| 269 | </interfaceMTU> |
| 270 | <vlanRangeAvailability> |
| 271 | 885 |
| 272 | </vlanRangeAvailability> |
| 273 | <suggestedVLANRange> |
| 274 | 885 |
| 275 | </suggestedVLANRange> |
| 276 | <vlanTranslation> |
| 277 | false |
| 278 | </vlanTranslation> |
| 279 | </switchingCapabilitySpecificInfo_L2sc> |
| 280 | </switchingCapabilitySpecificInfo> |
| 281 | </switchingCapabilityDescriptor> |
| 282 | </link> |
| 283 | <nextHop> |
| 284 | 2 |
| 285 | </nextHop> |
| 286 | </hop> |
| 287 | <hop id="2"> |
| 288 | <link id="urn:publicid:IDN+utah.geniracks.net+interface+procurve2:1.19"> |
| 289 | <trafficEngineeringMetric> |
| 290 | 10 |
| 291 | </trafficEngineeringMetric> |
| 292 | <capacity> |
| 293 | 100000 |
| 294 | </capacity> |
| 295 | <switchingCapabilityDescriptor> |
| 296 | <switchingcapType> |
| 297 | l2sc |
| 298 | </switchingcapType> |
| 299 | <encodingType> |
| 300 | ethernet |
| 301 | </encodingType> |
| 302 | <switchingCapabilitySpecificInfo> |
| 303 | <switchingCapabilitySpecificInfo_L2sc> |
| 304 | <interfaceMTU> |
| 305 | 9000 |
| 306 | </interfaceMTU> |
| 307 | <vlanRangeAvailability> |
| 308 | 885 |
| 309 | </vlanRangeAvailability> |
| 310 | <suggestedVLANRange> |
| 311 | 885 |
| 312 | </suggestedVLANRange> |
| 313 | <vlanTranslation> |
| 314 | false |
| 315 | </vlanTranslation> |
| 316 | </switchingCapabilitySpecificInfo_L2sc> |
| 317 | </switchingCapabilitySpecificInfo> |
| 318 | </switchingCapabilityDescriptor> |
| 319 | </link> |
| 320 | <nextHop> |
| 321 | null |
| 322 | </nextHop> |
| 323 | </hop> |
| 324 | </path> |
| 325 | <path id="link1"> |
| 326 | <hop id="1"> |
| 327 | <link id="urn:publicid:IDN+emulab.net+interface+procurveA:3.19"> |
| 328 | <trafficEngineeringMetric> |
| 329 | 10 |
| 330 | </trafficEngineeringMetric> |
| 331 | <capacity> |
| 332 | 100000 |
| 333 | </capacity> |
| 334 | <switchingCapabilityDescriptor> |
| 335 | <switchingcapType> |
| 336 | l2sc |
| 337 | </switchingcapType> |
| 338 | <encodingType> |
| 339 | ethernet |
| 340 | </encodingType> |
| 341 | <switchingCapabilitySpecificInfo> |
| 342 | <switchingCapabilitySpecificInfo_L2sc> |
| 343 | <interfaceMTU> |
| 344 | 9000 |
| 345 | </interfaceMTU> |
| 346 | <vlanRangeAvailability> |
| 347 | 775 |
| 348 | </vlanRangeAvailability> |
| 349 | <suggestedVLANRange> |
| 350 | 775 |
| 351 | </suggestedVLANRange> |
| 352 | <vlanTranslation> |
| 353 | false |
| 354 | </vlanTranslation> |
| 355 | </switchingCapabilitySpecificInfo_L2sc> |
| 356 | </switchingCapabilitySpecificInfo> |
| 357 | </switchingCapabilityDescriptor> |
| 358 | </link> |
| 359 | <nextHop> |
| 360 | 2 |
| 361 | </nextHop> |
| 362 | </hop> |
| 363 | <hop id="2"> |
| 364 | <link id="urn:publicid:IDN+utah.geniracks.net+interface+procurve2:1.19"> |
| 365 | <trafficEngineeringMetric> |
| 366 | 10 |
| 367 | </trafficEngineeringMetric> |
| 368 | <capacity> |
| 369 | 100000 |
| 370 | </capacity> |
| 371 | <switchingCapabilityDescriptor> |
| 372 | <switchingcapType> |
| 373 | l2sc |
| 374 | </switchingcapType> |
| 375 | <encodingType> |
| 376 | ethernet |
| 377 | </encodingType> |
| 378 | <switchingCapabilitySpecificInfo> |
| 379 | <switchingCapabilitySpecificInfo_L2sc> |
| 380 | <interfaceMTU> |
| 381 | 9000 |
| 382 | </interfaceMTU> |
| 383 | <vlanRangeAvailability> |
| 384 | 775 |
| 385 | </vlanRangeAvailability> |
| 386 | <suggestedVLANRange> |
| 387 | 775 |
| 388 | </suggestedVLANRange> |
| 389 | <vlanTranslation> |
| 390 | false |
| 391 | </vlanTranslation> |
| 392 | </switchingCapabilitySpecificInfo_L2sc> |
| 393 | </switchingCapabilitySpecificInfo> |
| 394 | </switchingCapabilityDescriptor> |
| 395 | </link> |
| 396 | <nextHop> |
| 397 | null |
| 398 | </nextHop> |
| 399 | </hop> |
| 400 | </path> |
| 401 | </stitching> |
| 402 | </rspec> |
| 403 | |
| 404 | Stitching success: Reserved resources in slice pg-utah-ig-utah-2l at 2 Aggregates (including 0 intermediate aggregate(s) not in the original request), creating 2 link(s). |
| 405 | }}} |
| 406 | |
| 407 | Determined login for Utah IG VM: |
| 408 | {{{ |
| 409 | $ readyToLogin.py -a ig-utah pg-utah-ig-utah-2l |
| 410 | ... |
| 411 | ig-utah's geni_status is: ready (am_status:ready) |
| 412 | User lnevers logs in to ig-utah using: |
| 413 | ssh -p 32058 -i /home/lnevers/.ssh/id_rsa lnevers@pc5.utah.geniracks.net |
| 414 | }}} |
| 415 | |
| 416 | Determined login for Utah PG VM: |
| 417 | {{{ |
| 418 | $ readyToLogin.py -a pg-utah pg-utah-ig-utah-2l |
| 419 | ... |
| 420 | pg-utah's geni_status is: ready (am_status:ready) |
| 421 | User lnevers logs in to pg-utah using: |
| 422 | ssh -p 32314 -i /home/lnevers/.ssh/id_rsa lnevers@pc403.emulab.net |
| 423 | }}} |
| 424 | |
| 425 | Logged in to each host and found duplicate IP addresses assigned. Ticket #. |
| 426 | |
| 427 | |
| 428 | |
| 429 | == Scenario 2 - Single slice with two endpoints using multiple stitched VLANs (Utah IG to GPO IG) == |