| 43 | |
| 44 | == Scenarios 1 - Single slice with two endpoints using single stitched VLAN (Utah IG to Utah PG) == |
| 45 | |
| 46 | This test verifies the use of 1 slice to connected 2 aggregates via a stitched VLAN. The test included 1 slice named ''2aggr-1lnk'' that used the following topology: |
| 47 | |
| 48 | * Utah PG VM <-Stitched VLAN-> Utah IG VM |
| 49 | |
| 50 | First created a slice: |
| 51 | {{{ |
| 52 | $ omni.py createslice 2aggr-1lnk |
| 53 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 54 | INFO:omni:Using control framework pg |
| 55 | INFO:omni:Created slice with Name 2aggr-1lnk, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+2aggr-1lnk, Expiration 2013-06-08 14:49:52+00:00 |
| 56 | INFO:omni: ------------------------------------------------------------ |
| 57 | INFO:omni: Completed createslice: |
| 58 | |
| 59 | Options as run: |
| 60 | framework: pg |
| 61 | |
| 62 | Args: createslice 2aggr-1lnk |
| 63 | |
| 64 | Result Summary: Created slice with Name 2aggr-1lnk, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+2aggr-1lnk, Expiration 2013-06-08 14:49:52+00:00 |
| 65 | |
| 66 | INFO:omni: ============================================================ |
| 67 | }}} |
| 68 | Then created a sliver using [stitch-pg-utah-ig-utah.rspec]: |
| 69 | {{{ |
| 70 | $ stitcher.py createsliver 2aggr-1lnk stitch-pg-utah-ig-utah.rspec |
| 71 | INFO:stitcher:Loading config file /home/lnevers/.gcf/omni_config |
| 72 | INFO:stitcher:Using control framework pg |
| 73 | INFO:stitcher:<Aggregate urn:publicid:IDN+emulab.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 74 | INFO:stitcher:<Aggregate urn:publicid:IDN+utah.geniracks.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 75 | INFO:stitch.Aggregate:Writing to '/tmp/2aggr-1lnk-createsliver-request-11-emulab-net.xml' |
| 76 | INFO:stitch.Aggregate: |
| 77 | Stitcher doing createsliver at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 78 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 79 | INFO:omni:Using control framework pg |
| 80 | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+2aggr-1lnk expires on 2013-06-08 14:49:52 UTC |
| 81 | INFO:omni:Creating sliver(s) from rspec file /tmp/2aggr-1lnk-createsliver-request-11-emulab-net.xml for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+2aggr-1lnk |
| 82 | INFO:omni: (PG log url - look here for details on any failures: https://www.emulab.net/spewlogfile.php3?logfile=3cfab640a9b72fc769be47b05b1d45ff) |
| 83 | INFO:omni:Got return from CreateSliver for slice 2aggr-1lnk at https://www.emulab.net:12369/protogeni/xmlrpc/am: |
| 84 | INFO:omni:Writing to '2aggr-1lnk-manifest-rspec-www-emulab-net-protogeni.xml' |
| 85 | INFO:omni:<!-- Reserved resources for: |
| 86 | Slice: 2aggr-1lnk |
| 87 | at AM: |
| 88 | URN: unspecified_AM_URN |
| 89 | URL: https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 90 | --> |
| 91 | INFO:omni:Wrote result of createsliver for slice: 2aggr-1lnk at AM: https://www.emulab.net:12369/protogeni/xmlrpc/am to file 2aggr-1lnk-manifest-rspec-www-emulab-net-protogeni.xml |
| 92 | INFO:stitch.Aggregate:Allocation at <Aggregate urn:publicid:IDN+emulab.net+authority+cm> complete. |
| 93 | INFO:stitch.Aggregate:Writing to '/tmp/2aggr-1lnk-createsliver-request-11-utah-geniracks-net.xml' |
| 94 | INFO:stitch.Aggregate: |
| 95 | Stitcher doing createsliver at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 96 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 97 | INFO:omni:Using control framework pg |
| 98 | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+2aggr-1lnk expires on 2013-06-08 14:49:52 UTC |
| 99 | INFO:omni:Creating sliver(s) from rspec file /tmp/2aggr-1lnk-createsliver-request-11-utah-geniracks-net.xml for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+2aggr-1lnk |
| 100 | INFO:omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=a9192390b39f5ee7c3b494ef14f41d8b) |
| 101 | INFO:omni:Got return from CreateSliver for slice 2aggr-1lnk at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am: |
| 102 | INFO:omni:Writing to '2aggr-1lnk-manifest-rspec-utah-geniracks-net-protogeni.xml' |
| 103 | INFO:omni:<!-- Reserved resources for: |
| 104 | Slice: 2aggr-1lnk |
| 105 | at AM: |
| 106 | URN: unspecified_AM_URN |
| 107 | URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 108 | --> |
| 109 | INFO:omni:Wrote result of createsliver for slice: 2aggr-1lnk at AM: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am to file 2aggr-1lnk-manifest-rspec-utah-geniracks-net-protogeni.xml |
| 110 | INFO:stitch.Aggregate:Allocation at <Aggregate urn:publicid:IDN+utah.geniracks.net+authority+cm> complete. |
| 111 | INFO:stitch.launcher:All aggregates are complete. |
| 112 | INFO:stitcher:<?xml version="1.0" ?> |
| 113 | INFO:stitcher: <!-- Reserved resources for: |
| 114 | Slice: 2aggr-1lnk |
| 115 | at AM: |
| 116 | URN: stitching-combined |
| 117 | URL: |
| 118 | --> |
| 119 | INFO:stitcher: |
| 120 | <!-- |
| 121 | Aggregate Details |
| 122 | { |
| 123 | "url": "https://www.emulab.net:12369/protogeni/xmlrpc/am", |
| 124 | "hops_info": [ |
| 125 | { |
| 126 | "path_id": "link", |
| 127 | "path_global_id": null, |
| 128 | "urn": "urn:publicid:IDN+emulab.net+interface+procurveA:3.19", |
| 129 | "vlan_tag": "896", |
| 130 | "id": "1" |
| 131 | } |
| 132 | ], |
| 133 | "urn": "urn:publicid:IDN+emulab.net+authority+cm", |
| 134 | "user_requested": true, |
| 135 | "api_version": 2 |
| 136 | } |
| 137 | { |
| 138 | "url": "https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am", |
| 139 | "hops_info": [ |
| 140 | { |
| 141 | "path_id": "link", |
| 142 | "path_global_id": null, |
| 143 | "urn": "urn:publicid:IDN+utah.geniracks.net+interface+procurve2:1.19", |
| 144 | "vlan_tag": "896", |
| 145 | "id": "2" |
| 146 | } |
| 147 | ], |
| 148 | "urn": "urn:publicid:IDN+utah.geniracks.net+authority+cm", |
| 149 | "user_requested": true, |
| 150 | "api_version": 2 |
| 151 | } |
| 152 | --> |
| 153 | <rspec expires="2013-06-08T14:49:52Z" type="manifest" xmlns="http://www.geni.net/resources/rspec/3" 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"> |
| 154 | <node client_id="pg-utah" component_id="urn:publicid:IDN+emulab.net+node+pc533" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+emulab.net+sliver+133238"> |
| 155 | <sliver_type name="emulab-openvz"/> |
| 156 | <interface client_id="pg-utah:if0" component_id="urn:publicid:IDN+emulab.net+interface+pc533:eth2" mac_address="028d09aad3f8" sliver_id="urn:publicid:IDN+emulab.net+sliver+133241"> |
| 157 | <ip address="10.22.4.1" netmask="255.255.255.0" type="ipv4"/> |
| 158 | </interface> |
| 159 | <rs:vnode name="pcvm533-7" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
| 160 | <host name="pg-utah.2aggr-1lnk.pgeni-gpolab-bbn-com.emulab.net"/> |
| 161 | <services> |
| 162 | <login authentication="ssh-keys" hostname="pc533.emulab.net" port="31546" username="lnevers"/> |
| 163 | </services> |
| 164 | </node> |
| 165 | <node client_id="ig-utah" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20806"> |
| 166 | <sliver_type name="emulab-openvz"/> |
| 167 | <interface client_id="ig-utah:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc1:eth1" mac_address="023ce8e2f400" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20809"> |
| 168 | <ip address="10.22.4.2" netmask="255.255.255.0" type="ipv4"/> |
| 169 | </interface> |
| 170 | <rs:vnode name="pcvm1-4" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
| 171 | <host name="ig-utah.2aggr-1lnk.pgeni-gpolab-bbn-com.utah.geniracks.net"/> |
| 172 | <services> |
| 173 | <login authentication="ssh-keys" hostname="pc1.utah.geniracks.net" port="31546" username="lnevers"/> |
| 174 | </services> |
| 175 | </node> |
| 176 | <link client_id="link" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20808" vlantag="896"> |
| 177 | <!--AM urn:publicid:IDN+emulab.net+authority+cm: sliver_id=urn:publicid:IDN+emulab.net+sliver+133240 vlantag=896--> |
| 178 | <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/> |
| 179 | <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/> |
| 180 | <interface_ref client_id="pg-utah:if0" component_id="urn:publicid:IDN+emulab.net+interface+pc533:eth2" sliver_id="urn:publicid:IDN+emulab.net+sliver+133241"/> |
| 181 | <interface_ref client_id="ig-utah:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc1:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+20809"/> |
| 182 | <property dest_id="ig-utah:if0" source_id="pg-utah:if0"/> |
| 183 | <property dest_id="pg-utah:if0" source_id="ig-utah:if0"/> |
| 184 | </link> |
| 185 | <stitching lastUpdateTime="20130607:06:50:23" xmlns="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/"> |
| 186 | <path id="link"> |
| 187 | <hop id="1"> |
| 188 | <link id="urn:publicid:IDN+emulab.net+interface+procurveA:3.19"> |
| 189 | <trafficEngineeringMetric> |
| 190 | 10 |
| 191 | </trafficEngineeringMetric> |
| 192 | <capacity> |
| 193 | 100000 |
| 194 | </capacity> |
| 195 | <switchingCapabilityDescriptor> |
| 196 | <switchingcapType> |
| 197 | l2sc |
| 198 | </switchingcapType> |
| 199 | <encodingType> |
| 200 | ethernet |
| 201 | </encodingType> |
| 202 | <switchingCapabilitySpecificInfo> |
| 203 | <switchingCapabilitySpecificInfo_L2sc> |
| 204 | <interfaceMTU> |
| 205 | 9000 |
| 206 | </interfaceMTU> |
| 207 | <vlanRangeAvailability> |
| 208 | 896 |
| 209 | </vlanRangeAvailability> |
| 210 | <suggestedVLANRange> |
| 211 | 896 |
| 212 | </suggestedVLANRange> |
| 213 | <vlanTranslation> |
| 214 | false |
| 215 | </vlanTranslation> |
| 216 | </switchingCapabilitySpecificInfo_L2sc> |
| 217 | </switchingCapabilitySpecificInfo> |
| 218 | </switchingCapabilityDescriptor> |
| 219 | </link> |
| 220 | <nextHop> |
| 221 | 2 |
| 222 | </nextHop> |
| 223 | </hop> |
| 224 | <hop id="2"> |
| 225 | <link id="urn:publicid:IDN+utah.geniracks.net+interface+procurve2:1.19"> |
| 226 | <trafficEngineeringMetric> |
| 227 | 10 |
| 228 | </trafficEngineeringMetric> |
| 229 | <capacity> |
| 230 | 100000 |
| 231 | </capacity> |
| 232 | <switchingCapabilityDescriptor> |
| 233 | <switchingcapType> |
| 234 | l2sc |
| 235 | </switchingcapType> |
| 236 | <encodingType> |
| 237 | ethernet |
| 238 | </encodingType> |
| 239 | <switchingCapabilitySpecificInfo> |
| 240 | <switchingCapabilitySpecificInfo_L2sc> |
| 241 | <interfaceMTU> |
| 242 | 9000 |
| 243 | </interfaceMTU> |
| 244 | <vlanRangeAvailability> |
| 245 | 896 |
| 246 | </vlanRangeAvailability> |
| 247 | <suggestedVLANRange> |
| 248 | 896 |
| 249 | </suggestedVLANRange> |
| 250 | <vlanTranslation> |
| 251 | false |
| 252 | </vlanTranslation> |
| 253 | </switchingCapabilitySpecificInfo_L2sc> |
| 254 | </switchingCapabilitySpecificInfo> |
| 255 | </switchingCapabilityDescriptor> |
| 256 | </link> |
| 257 | <nextHop> |
| 258 | null |
| 259 | </nextHop> |
| 260 | </hop> |
| 261 | </path> |
| 262 | </stitching> |
| 263 | </rspec> |
| 264 | |
| 265 | Stitching success: Reserved resources in slice 2aggr-1lnk at 2 Aggregates (including 0 intermediate aggregate(s) not in the original request), creating 1 link(s). |
| 266 | }}} |
| 267 | |
| 268 | Logged into each of the VMs allocated and collected some iperf statistics. From PG Utah to IG Utah: |
| 269 | {{{ |
| 270 | [lnevers@pg-utah ~]$ /usr/bin/iperf -c 10.22.4.2 -t 60 |
| 271 | ------------------------------------------------------------ |
| 272 | Client connecting to 10.22.4.2, TCP port 5001 |
| 273 | TCP window size: 16.0 KByte (default) |
| 274 | ------------------------------------------------------------ |
| 275 | [ 3] local 10.22.4.1 port 48671 connected with 10.22.4.2 port 5001 |
| 276 | [ ID] Interval Transfer Bandwidth |
| 277 | [ 3] 0.0-60.0 sec 687 MBytes 96.0 Mbits/sec |
| 278 | }}} |
| 279 | From IG Utah to PG Utah: |
| 280 | {{{ |
| 281 | [lnevers@ig-utah ~]$ /usr/bin/iperf -c 10.22.4.1 -t 60 |
| 282 | ------------------------------------------------------------ |
| 283 | Client connecting to 10.22.4.1, TCP port 5001 |
| 284 | TCP window size: 16.0 KByte (default) |
| 285 | ------------------------------------------------------------ |
| 286 | [ 3] local 10.22.4.2 port 46759 connected with 10.22.4.1 port 5001 |
| 287 | [ ID] Interval Transfer Bandwidth |
| 288 | [ 3] 0.0-60.0 sec 685 MBytes 95.8 Mbits/sec |
| 289 | }}} |
| 290 | |