2272 | | For this scenario, the initial plan was to have a stitching path added to the RSpec requesting both a valid and an invalid VLAN. |
2273 | | Working on figuring out the syntax. (TODO) |
2274 | | |
| 2272 | For this scenario, the initial plan was to have a stitching path added to the RSpec requesting both a valid and an invalid VLAN, |
| 2273 | but command line options are available to exclude/include path information such as VLANs. The following stitcher command line |
| 2274 | options were used for this test: |
| 2275 | {{{ |
| 2276 | --excludehop=HOP_EXCLUDE Hop URN to exclude from any path |
| 2277 | --includehop=HOP_INCLUDE Hop URN to include on every path - use with caution |
| 2278 | }}} |
| 2279 | |
| 2280 | Before running the invalid scenarios, verified the ability to exclude valid VLANs between GPO IG and PG Utah: |
| 2281 | {{{ |
| 2282 | |
| 2283 | $ stitcher.py createsliver lnpath ./stitch-ig-gpo-pg-utah.rspec --excludehop urn:publicid:IDN+emulab.net+interface+procurve-pgeni-atla:3.21=867-868 |
| 2284 | 10:31:42 INFO stitcher: Loading config file /home/lnevers/.gcf/omni_config |
| 2285 | 10:31:42 INFO stitcher: Using control framework portal |
| 2286 | 10:31:42 INFO stitcher: Checking that slice lnpath is valid... |
| 2287 | 10:31:43 INFO stitcher: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnpath expires on 2013-08-06 14:17:28 UTC |
| 2288 | 10:31:44 INFO stitcher: <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm> speaks AM API v3, but sticking with v2 |
| 2289 | 10:31:44 INFO stitcher: <Aggregate urn:publicid:IDN+emulab.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 2290 | 10:31:44 INFO stitch.Aggregate: Writing to '/tmp/lnpath-createsliver-request-11-instageni-gpolab-bbn-com.xml' |
| 2291 | 10:31:44 INFO stitch.Aggregate: |
| 2292 | Stitcher doing createsliver at https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am |
| 2293 | 10:31:57 INFO stitch.Aggregate: Allocation at <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm> complete. |
| 2294 | 10:31:57 WARNING stitch.Aggregate: Slivers at PG Utah may not be requested initially for > 5 days. PG Utah slivers will expire earlier than at other aggregates - requested expiration being reset from 2013-08-06T14:17:28Z to 2013-08-04T14:11:57Z |
| 2295 | 10:31:57 INFO stitch.Aggregate: Writing to '/tmp/lnpath-createsliver-request-11-emulab-net.xml' |
| 2296 | 10:31:57 INFO stitch.Aggregate: |
| 2297 | Stitcher doing createsliver at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 2298 | 10:32:36 INFO stitch.Aggregate: Allocation at <Aggregate urn:publicid:IDN+emulab.net+authority+cm> complete. |
| 2299 | 10:32:36 INFO stitch.Aggregate: Writing to '/tmp/lnpath-createsliver-request-11-ion-internet2-edu.xml' |
| 2300 | 10:32:36 INFO stitch.Aggregate: |
| 2301 | Stitcher doing createsliver at http://geni-am.net.internet2.edu:12346 |
| 2302 | 10:33:19 INFO stitch.Aggregate: DCN AM <Aggregate urn:publicid:IDN+ion.internet2.edu+authority+am>: must wait for status ready.... |
| 2303 | 10:33:19 INFO stitch.Aggregate: Pause to let circuit become ready... |
| 2304 | 10:33:56 INFO stitch.Aggregate: DCN circuit 23731 is ready |
| 2305 | 10:34:04 INFO stitch.Aggregate: Allocation at <Aggregate urn:publicid:IDN+ion.internet2.edu+authority+am> complete. |
| 2306 | 10:34:04 INFO stitch.launcher: All aggregates are complete. |
| 2307 | }}} |
| 2308 | |
| 2309 | Verified that exclude VLANs (867-868) were not used for the hop ''procurve-pgeni-atla:3.21'' in the request RSpec: |
| 2310 | {{{ |
| 2311 | <hop id="4"><link id="urn:publicid:IDN+emulab.net+interface+procurve-pgeni-atla:3.21"> |
| 2312 | <trafficEngineeringMetric>10</trafficEngineeringMetric> |
| 2313 | <capacity>100000</capacity> |
| 2314 | <switchingCapabilityDescriptor><switchingcapType>l2sc</switchingcapType> |
| 2315 | <encodingType>ethernet</encodingType><switchingCapabilitySpecificInfo> |
| 2316 | <switchingCapabilitySpecificInfo_L2sc><interfaceMTU>9000</interfaceMTU> |
| 2317 | <vlanRangeAvailability>750-866,869-1000</vlanRangeAvailability> <<<<===== EXCLUDED VLANs ARE NOT PART OF RANGE! |
| 2318 | <suggestedVLANRange>947</suggestedVLANRange><vlanTranslation>false</vlanTranslation> |
| 2319 | </switchingCapabilitySpecificInfo_L2sc></switchingCapabilitySpecificInfo> |
| 2320 | </switchingCapabilityDescriptor></link><nextHop>null</nextHop></hop> |
| 2321 | }}} |
| 2322 | |
| 2323 | |
| 2324 | Delete the previous sliver and recreate, but this time exclude and invalid VLAN range: |
| 2325 | {{{ |
| 2326 | $ stitcher.py createsliver lnpath stitch-ig-gpo-pg-utah.rspec --excludehop urn:publicid:IDN+emulab.net+interface+procurve-pgeni-atla:3.21=99867-99868 |
| 2327 | ... |
| 2328 | |
| 2329 | 10:43:34 INFO stitch.launcher: All aggregates are complete. |
| 2330 | }}} |
| 2331 | |
| 2332 | No error is reported and a VLAN within the advertised range is assigned. The request RSpec for ION was reviewed and shows |
| 2333 | the available VLAN range being requested: |
| 2334 | |
| 2335 | {{{ |
| 2336 | <hop id="4"><link id="urn:publicid:IDN+emulab.net+interface+procurve-pgeni-atla:3.21"> |
| 2337 | <trafficEngineeringMetric>10</trafficEngineeringMetric><capacity>100000</capacity> |
| 2338 | <switchingCapabilityDescriptor><switchingcapType>l2sc</switchingcapType> |
| 2339 | <encodingType>ethernet</encodingType><switchingCapabilitySpecificInfo> |
| 2340 | <switchingCapabilitySpecificInfo_L2sc><interfaceMTU>9000</interfaceMTU> |
| 2341 | <vlanRangeAvailability>750-1000</vlanRangeAvailability> <<<<=== INVALID REQUEST DOES NOT IMPACT REQUESTED RANGE |
| 2342 | <suggestedVLANRange>913</suggestedVLANRange><vlanTranslation>false</vlanTranslation> |
| 2343 | </switchingCapabilitySpecificInfo_L2sc></switchingCapabilitySpecificInfo> |
| 2344 | </switchingCapabilityDescriptor></link><nextHop>null</nextHop></hop></path></stitching> |
| 2345 | }}} |
| 2346 | |
| 2347 | |