| 1 | = GR-EXP-2: GRAM Single Site Acceptance Test = |
| 2 | |
| 3 | This page captures status for the test case GR-EXP-2. For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusMay2013 Acceptance Test Status - May 2013] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation. |
| 4 | |
| 5 | ''Last Update: 2013/05/15" |
| 6 | |
| 7 | || '''Step''' || '''State''' ||''' Notes ''' || '''Tickets''' || |
| 8 | || Step 1 ||[[span(Pass, style=background-color: green )]] || || || |
| 9 | || Step 2 ||[[span(Pass, style=background-color: green )]] || || || |
| 10 | || Step 3 ||[[span(In Progress, style=background-color: #63B8FF)]]|| No experimenter customization available (only admin)|| || |
| 11 | || Step 4 ||[[span(In Progress, style=background-color: #63B8FF)]]||Cannot request publically routable IP addresses|| #55 || |
| 12 | || Step 5 ||[[span(Pass, style=background-color: green )]] || || || |
| 13 | || Step 6 ||[[span(Pass, style=background-color: green )]] || || #54 || |
| 14 | || Step 7 ||[[span(Pass, style=background-color: green )]] || Unable to request IP Address || #56 || |
| 15 | || Step 8 ||[[span(Fail, style=background-color: red)]] || No sudo access || #57 || |
| 16 | || Step 9 ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| || #57 || |
| 17 | || Step 10 ||[[span(Pass, style=background-color: green )]]|| || || |
| 18 | || Step 11 ||[[span(Pass, style=background-color: green )]]|| || || |
| 19 | || Step 11 ||[[span(Pass, style=background-color: green )]]|| || || |
| 20 | || Step 12 ||[[span(Pass, style=background-color: green )]]|| || || |
| 21 | || Step 13 ||[[span(Pass, style=background-color: green )]]|| || || |
| 22 | || Step 14 ||[[span(Pass, style=background-color: green )]]|| || || |
| 23 | || Step 15 ||[[span(Pass, style=background-color: green )]]|| || || |
| 24 | || Step 16 ||[[span(Pass, style=background-color: green )]]|| || || |
| 25 | || Step 17 ||[[span(Pass, style=background-color: green )]]|| || || |
| 26 | || Step 18 ||[[span(Pass, style=background-color: green )]]|| || || |
| 27 | || Step 19 ||[[span(Pass, style=background-color: green )]]|| || || |
| 28 | || Step 20 ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Sliver with traffic are not deleted and resources remain available|| #58 || |
| 29 | |
| 30 | [[BR]] |
| 31 | || '''State Legend''' || '''Description''' || |
| 32 | ||[[span(Pass, style=background-color: green )]] || Test completed and met all criteria || |
| 33 | ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented || |
| 34 | ||[[span(Fail, style=background-color: red)]] || Test completed and failed to meet criteria. || |
| 35 | ||[[span(Complete, style=background-color: yellow)]] || Test completed but will require re-execution due to expected changes || |
| 36 | ||[[span(Blocked, style=background-color: orange)]] || Blocked by ticketed issue(s). || |
| 37 | ||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test. || |
| 38 | |
| 39 | = Test Plan Steps = |
| 40 | This test case uses the following aggregate nick_names: |
| 41 | {{{ |
| 42 | gram=,https://128.89.91.170:5001 |
| 43 | }}} |
| 44 | |
| 45 | ''Evaluation Note:'' Experimenters cannot save customized images. Administrator can create a variety of images with customization that can be made available to experimenters. (#50) |
| 46 | |
| 47 | ''Evaluation Note:'' There is only one OS image available to users Ubuntu 12.04. |
| 48 | |
| 49 | ''Evaluation Note:'' Routable IP Addresses not supported (#55) |
| 50 | |
| 51 | '' Evaluation Note:'' Experimenter is not able to request IP addresses (#56) |
| 52 | |
| 53 | '' Evaluation Note'' There is no sudo access, cannot install iperf or load kernel module required in step in this test case. |
| 54 | |
| 55 | |
| 56 | == Step 1. As Experimenter1, request !ListResources from BBN GRAM. == |
| 57 | |
| 58 | As experimenter "lnevers", issued a listresources command to determine available compute resources: |
| 59 | {{{ |
| 60 | $ omni.py listresources -a gram -V3 |
| 61 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 62 | INFO:omni:Using control framework gram |
| 63 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 64 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 65 | INFO:omni:Listed advertised resources at 1 out of 1 possible aggregates. |
| 66 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 67 | INFO:omni:<?xml version="1.0" ?> |
| 68 | INFO:omni: <!-- Resources at AM: |
| 69 | URN: unspecified_AM_URN |
| 70 | URL: https://128.89.91.170:5001 |
| 71 | --> |
| 72 | INFO:omni: <rspec type="advertisement" 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/ad.xsd http://www.geni.net/resources/rspec/ext/opstate/1 http://www.geni.net/resources/rspec/ext/opstate/1/ad.xsd"> <node client_id="VM" component_id="urn:public:geni:gpo:vm+c3d4a519-3a5d-4106-8aee-af7f42ff7292" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" component_name="c3d4a519-3a5d-4106-8aee-af7f42ff7292" exclusive="False"> <node_type type_name="m1.tiny"/> |
| 73 | <node_type type_name="m1.small"/> |
| 74 | <node_type type_name="m1.medium"/> |
| 75 | <node_type type_name="m1.large"/> |
| 76 | <node_type type_name="m1.xlarge"/> |
| 77 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 78 | <sliver_type name="m1.small"/> |
| 79 | <available now="True"/> |
| 80 | </node></rspec> |
| 81 | INFO:omni: ------------------------------------------------------------ |
| 82 | INFO:omni: Completed listresources: |
| 83 | Options as run: |
| 84 | aggregate: ['gram'] |
| 85 | api_version: 3 |
| 86 | framework: gram |
| 87 | Args: listresources |
| 88 | Result Summary: Queried resources from 1 of 1 aggregate(s). |
| 89 | INFO:omni: ============================================================ |
| 90 | }}} |
| 91 | |
| 92 | == Step 2. Review advertisement RSpec for a list of OS images which can be loaded, and identify available resources. == |
| 93 | |
| 94 | The OS available is ''<disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>''. Available resources are |
| 95 | available on ''node client_id="VM"''. |
| 96 | |
| 97 | == Step 3. Verify that the GPO Ubuntu customized image is available in the advertisement RSpec. == |
| 98 | |
| 99 | There is no customization available for experimenters. Administrators can create customized images and make them available to experimenters. |
| 100 | |
| 101 | |
| 102 | == Step 4. Define a request RSpec for two VMs, each with a GPO Ubuntu image. Request a publically routable IP address and public TCP/UDP port mapping for the control interface on each node. == |
| 103 | |
| 104 | Routable IP Addresses is not available, modified experiment to not include Routable IP Address |
| 105 | |
| 106 | Created the following RSpec: |
| 107 | {{{ |
| 108 | <?xml version="1.0" encoding="UTF-8"?> |
| 109 | <rspec type="request" |
| 110 | xmlns="http://www.geni.net/resources/rspec/3" |
| 111 | xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" |
| 112 | xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" |
| 113 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 114 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 115 | http://www.geni.net/resources/rspec/3/request.xsd"> |
| 116 | |
| 117 | <node client_id="exp1-host1" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" > |
| 118 | <sliver_type name="m1.small"> |
| 119 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 120 | </sliver_type> |
| 121 | <interface client_id="exp1-host1:if0" > |
| 122 | <ip address="172.16.1.1" netmask="255.255.0.0" /> |
| 123 | </interface> |
| 124 | </node> |
| 125 | |
| 126 | <node client_id="exp1-host2" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" > |
| 127 | <sliver_type name="m1.small"> |
| 128 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 129 | </sliver_type> |
| 130 | <interface client_id="exp1-host2:if0" > |
| 131 | <ip address="172.16.1.2" netmask="255.255.0.0" /> |
| 132 | </interface> |
| 133 | </node> |
| 134 | |
| 135 | <link client_id="link-0"> |
| 136 | <interface_ref client_id="exp1-host1:if0"/> |
| 137 | <interface_ref client_id="exp1-host2:if0"/> |
| 138 | <property source_id="exp1-host1:if0" dest_id="exp1-host2:if0"/> |
| 139 | <property source_id="exp1-host2:if0" dest_id="exp1-host1:if0"/> |
| 140 | </link> |
| 141 | </rspec> |
| 142 | }}} |
| 143 | |
| 144 | |
| 145 | == Step 5. Create the first slice. == |
| 146 | Created the slice: |
| 147 | {{{ |
| 148 | $ omni.py createslice GR-EXP-2-exp1 |
| 149 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 150 | INFO:omni:Using control framework gram |
| 151 | INFO:omni:Created slice with Name GR-EXP-2-exp1, URN urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1, Expiration 2013-05-15 16:37:21 |
| 152 | INFO:omni: ------------------------------------------------------------ |
| 153 | INFO:omni: Completed createslice: |
| 154 | |
| 155 | Options as run: |
| 156 | framework: gram |
| 157 | |
| 158 | Args: createslice GR-EXP-2-exp1 |
| 159 | |
| 160 | Result Summary: Created slice with Name GR-EXP-2-exp1, URN urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1, Expiration 2013-05-15 16:37:21 |
| 161 | |
| 162 | INFO:omni: ============================================================ |
| 163 | |
| 164 | }}} |
| 165 | |
| 166 | == Step 6. Create a sliver in the first slice, using the RSpec defined in step 4. == |
| 167 | |
| 168 | Allocate the sliver: |
| 169 | {{{ |
| 170 | $ omni.py allocate GR-EXP-2-exp1 -a gram ./GR-EXP-2-exp1.rspec -V3 |
| 171 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 172 | INFO:omni:Using control framework gram |
| 173 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 174 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 expires in <= 3 hours |
| 175 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 expires on 2013-05-15 16:37:21 UTC |
| 176 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 177 | INFO:omni:Allocate slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 at https://128.89.91.170:5001: |
| 178 | INFO:omni:{ |
| 179 | "geni_rspec": "<?xml version=\"1.0\" ?> |
| 180 | INFO:omni: <!-- Reserved resources for: |
| 181 | Slice: GR-EXP-2-exp1 |
| 182 | at AM: |
| 183 | URN: unspecified_AM_URN |
| 184 | URL: https://128.89.91.170:5001 |
| 185 | --> |
| 186 | INFO:omni: <rspec 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\"> \n <node client_id=\"exp1-host1\" component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\" exclusive=\"false\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6a2af27d-23cc-4a6c-9b55-6e940cf88fe0\"> \n <interface client_id=\"exp1-host1:if0\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface655842f8-5d92-465c-b9fc-0f0f472a3395\"/> \n <sliver_type name=\"m1.small\"> \n <disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/> \n </sliver_type> \n <host name=\"exp1-host1\"/> \n </node> \n <node client_id=\"exp1-host2\" component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\" exclusive=\"false\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vma9675a33-1910-4fb1-879e-cc5a00b80ed2\"> \n <interface client_id=\"exp1-host2:if0\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface0dc6ea88-6c25-4f25-a0ac-32d03ce8323f\"/> \n <sliver_type name=\"m1.small\"> \n <disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/> \n </sliver_type> \n <host name=\"exp1-host2\"/> \n </node> \n <link client_id=\"link-0\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+link0275c641-28e8-44b8-8ac5-65845f814c60\"> \n <interface_ref client_id=\"exp1-host1:if0\"/> \n <interface_ref client_id=\"exp1-host2:if0\"/> \n <property dest_id=\"exp1-host2:if0\" source_id=\"exp1-host1:if0\"/> \n <property dest_id=\"exp1-host1:if0\" source_id=\"exp1-host2:if0\"/> \n </link> \n</rspec>", |
| 187 | "geni_slivers": [ |
| 188 | { |
| 189 | "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6a2af27d-23cc-4a6c-9b55-6e940cf88fe0", |
| 190 | "geni_expires": "2013-05-15T14:58:48.137629+00:00", |
| 191 | "geni_allocation_status": "geni_allocated", |
| 192 | "geni_operational_status": "geni_notready", |
| 193 | "geni_error": "" |
| 194 | }, |
| 195 | { |
| 196 | "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vma9675a33-1910-4fb1-879e-cc5a00b80ed2", |
| 197 | "geni_expires": "2013-05-15T14:58:48.137629+00:00", |
| 198 | "geni_allocation_status": "geni_allocated", |
| 199 | "geni_operational_status": "geni_notready", |
| 200 | "geni_error": "" |
| 201 | }, |
| 202 | { |
| 203 | "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+link0275c641-28e8-44b8-8ac5-65845f814c60", |
| 204 | "geni_expires": "2013-05-15T14:58:48.137629+00:00", |
| 205 | "geni_allocation_status": "geni_allocated", |
| 206 | "geni_operational_status": "geni_notready", |
| 207 | "geni_error": "" |
| 208 | } |
| 209 | ] |
| 210 | } |
| 211 | INFO:omni:All slivers expire on '2013-05-15T14:58:48.137629' |
| 212 | INFO:omni: ------------------------------------------------------------ |
| 213 | INFO:omni: Completed allocate: |
| 214 | |
| 215 | Options as run: |
| 216 | aggregate: ['gram'] |
| 217 | api_version: 3 |
| 218 | framework: gram |
| 219 | |
| 220 | Args: allocate GR-EXP-2-exp1 ./GR-EXP-2-exp1.rspec |
| 221 | |
| 222 | Result Summary: Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 expires in <= 3 hours on 2013-05-15 16:37:21 UTC |
| 223 | Allocated slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 at https://128.89.91.170:5001. |
| 224 | Next sliver expiration: 2013-05-15T14:58:48.137629 |
| 225 | INFO:omni: ============================================================ |
| 226 | }}} |
| 227 | |
| 228 | Provision the sliver: |
| 229 | {{{ |
| 230 | $ omni.py provision GR-EXP-2-exp1 -a gram -V3 |
| 231 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 232 | INFO:omni:Using control framework gram |
| 233 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 234 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 expires in <= 3 hours |
| 235 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 expires on 2013-05-15 16:37:21 UTC |
| 236 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 237 | INFO:omni:Provision slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 at https://128.89.91.170:5001 |
| 238 | INFO:omni:{ |
| 239 | "geni_rspec": "<?xml version=\"1.0\" ?> |
| 240 | INFO:omni: <!-- Provision slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 at AM URL https://128.89.91.170:5001 --> |
| 241 | INFO:omni: <rspec 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\"> \n |
| 242 | |
| 243 | <node client_id=\"exp1-host1\" component_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute1\" component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\" exclusive=\"false\" |
| 244 | sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6a2af27d-23cc-4a6c-9b55-6e940cf88fe0\"> |
| 245 | \n <interface client_id=\"exp1-host1:if0\" mac_address=\"fa:16:3e:26:93:4f\" |
| 246 | sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface655842f8-5d92-465c-b9fc-0f0f472a3395\"> |
| 247 | \n <ip address=\"10.0.37.100\" type=\"ip\"/> |
| 248 | |
| 249 | \n </interface> \n <sliver_type name=\"m1.small\"> |
| 250 | \n <disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/> |
| 251 | \n </sliver_type> \n <services> \n |
| 252 | <login authentication=\"ssh-keys\" hostname=\"boscontroller\" port=\"3001\" username=\"lnevers\"/> |
| 253 | \n </services> \n <host name=\"exp1-host1\"/> \n </node> \n |
| 254 | |
| 255 | <node client_id=\"exp1-host2\" component_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2\" component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\" exclusive=\"false\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vma9675a33-1910-4fb1-879e-cc5a00b80ed2\"> |
| 256 | \n <interface client_id=\"exp1-host2:if0\" mac_address=\"fa:16:3e:42:73:c2\" |
| 257 | sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface0dc6ea88-6c25-4f25-a0ac-32d03ce8323f\"> |
| 258 | \n <ip address=\"10.0.37.101\" type=\"ip\"/> \n </interface> \n |
| 259 | <sliver_type name=\"m1.small\"> \n |
| 260 | <disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/> |
| 261 | \n </sliver_type> \n <services> \n |
| 262 | <login authentication=\"ssh-keys\" hostname=\"boscontroller\" port=\"3002\" username=\"lnevers\"/> |
| 263 | \n </services> \n <host name=\"exp1-host2\"/> \n </node> \n |
| 264 | <link client_id=\"link-0\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+link0275c641-28e8-44b8-8ac5-65845f814c60\"> |
| 265 | \n <interface_ref client_id=\"exp1-host1:if0\"/> \n <interface_ref client_id=\"exp1-host2:if0\"/> |
| 266 | \n <property dest_id=\"exp1-host2:if0\" source_id=\"exp1-host1:if0\"/> \n |
| 267 | <property dest_id=\"exp1-host1:if0\" source_id=\"exp1-host2:if0\"/> \n </link> \n</rspec>", |
| 268 | "geni_slivers": [ |
| 269 | { |
| 270 | "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6a2af27d-23cc-4a6c-9b55-6e940cf88fe0", |
| 271 | "geni_expires": "2013-05-15T16:37:21+00:00", |
| 272 | "geni_allocation_status": "geni_provisioned", |
| 273 | "geni_operational_status": "geni_notready", |
| 274 | "geni_error": "" |
| 275 | }, |
| 276 | { |
| 277 | "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vma9675a33-1910-4fb1-879e-cc5a00b80ed2", |
| 278 | "geni_expires": "2013-05-15T16:37:21+00:00", |
| 279 | "geni_allocation_status": "geni_provisioned", |
| 280 | "geni_operational_status": "geni_notready", |
| 281 | "geni_error": "" |
| 282 | }, |
| 283 | { |
| 284 | "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+link0275c641-28e8-44b8-8ac5-65845f814c60", |
| 285 | "geni_expires": "2013-05-15T16:37:21+00:00", |
| 286 | "geni_allocation_status": "geni_provisioned", |
| 287 | "geni_operational_status": "geni_ready", |
| 288 | "geni_error": "" |
| 289 | } |
| 290 | ] |
| 291 | } |
| 292 | INFO:omni:All slivers expire on '2013-05-15T16:37:21' |
| 293 | INFO:omni: ------------------------------------------------------------ |
| 294 | INFO:omni: Completed provision: |
| 295 | |
| 296 | Options as run: |
| 297 | aggregate: ['gram'] |
| 298 | api_version: 3 |
| 299 | framework: gram |
| 300 | |
| 301 | Args: provision GR-EXP-2-exp1 |
| 302 | |
| 303 | Result Summary: Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 expires in <= 3 hours on 2013-05-15 16:37:21 UTC |
| 304 | Provisioned slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-2-exp1 at https://128.89.91.170:5001. |
| 305 | Next sliver expiration: 2013-05-15T16:37:21 |
| 306 | INFO:omni: ============================================================ |
| 307 | |
| 308 | }}} |
| 309 | |
| 310 | From the above manifest it is possible to see that exp1-host1 is allocated on boscompute1 and is accessible via the boscontroller on port 30001: |
| 311 | {{{ |
| 312 | component_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute1\" |
| 313 | <login authentication=\"ssh-keys\" hostname=\"boscontroller\" port=\"3001\" username=\"lnevers\"/> |
| 314 | }}} |
| 315 | From the above manifest it is possible to see that exp1-host2 is allocated on boscompute2 and is accessible via the boscontroller on port 30002: |
| 316 | {{{ |
| 317 | component_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2\" |
| 318 | <login authentication=\"ssh-keys\" hostname=\"boscontroller\" port=\"3002\" username=\"lnevers\"/> |
| 319 | }}} |
| 320 | |
| 321 | |
| 322 | == Step 7. Log in to each of the systems, and send traffic to the other system sharing a VLAN. == |
| 323 | |
| 324 | Logged into to exp1-host1 and pinged exp1-host2: |
| 325 | {{{ |
| 326 | $ ssh 128.89.91.170 -p 3001 |
| 327 | Warning: Permanently added '[128.89.91.170]:3001' (RSA) to the list of known hosts. |
| 328 | Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-41-virtual x86_64) |
| 329 | |
| 330 | * Documentation: https://help.ubuntu.com/ |
| 331 | |
| 332 | System information as of Wed May 15 14:50:16 UTC 2013 |
| 333 | |
| 334 | System load: 0.15 Processes: 68 |
| 335 | Usage of /: 3.9% of 19.67GB Users logged in: 0 |
| 336 | Memory usage: 2% IP address for eth0: 192.168.10.5 |
| 337 | Swap usage: 0% IP address for eth1: 10.0.37.100 |
| 338 | |
| 339 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 340 | |
| 341 | Get cloud support with Ubuntu Advantage Cloud Guest: |
| 342 | http://www.ubuntu.com/business/services/cloud |
| 343 | |
| 344 | Use Juju to deploy your cloud instances and workloads: |
| 345 | https://juju.ubuntu.com/#cloud-precise |
| 346 | |
| 347 | 0 packages can be updated. |
| 348 | 0 updates are security updates. |
| 349 | |
| 350 | |
| 351 | The programs included with the Ubuntu system are free software; |
| 352 | the exact distribution terms for each program are described in the |
| 353 | individual files in /usr/share/doc/*/copyright. |
| 354 | |
| 355 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 356 | applicable law. |
| 357 | |
| 358 | lnevers@exp1-host1:~$ ping exp1-host2 |
| 359 | PING exp1-host2-link-0 (10.0.37.101) 56(84) bytes of data. |
| 360 | 64 bytes from exp1-host2-link-0 (10.0.37.101): icmp_req=1 ttl=64 time=2.72 ms |
| 361 | 64 bytes from exp1-host2-link-0 (10.0.37.101): icmp_req=2 ttl=64 time=0.822 ms |
| 362 | 64 bytes from exp1-host2-link-0 (10.0.37.101): icmp_req=3 ttl=64 time=0.812 ms |
| 363 | 64 bytes from exp1-host2-link-0 (10.0.37.101): icmp_req=4 ttl=64 time=1.00 ms |
| 364 | 64 bytes from exp1-host2-link-0 (10.0.37.101): icmp_req=5 ttl=64 time=0.832 ms |
| 365 | ^C |
| 366 | --- exp1-host2-link-0 ping statistics --- |
| 367 | 5 packets transmitted, 5 received, 0% packet loss, time 4006ms |
| 368 | rtt min/avg/max/mdev = 0.812/1.238/2.723/0.746 ms |
| 369 | }}} |
| 370 | |
| 371 | Logged into to exp1-host2 and pinged exp1-host1: |
| 372 | {{{ |
| 373 | $ ssh 128.89.91.170 -p 3002 |
| 374 | Warning: Permanently added '[128.89.91.170]:3002' (RSA) to the list of known hosts. |
| 375 | Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-41-virtual x86_64) |
| 376 | |
| 377 | * Documentation: https://help.ubuntu.com/ |
| 378 | |
| 379 | System information as of Wed May 15 14:50:31 UTC 2013 |
| 380 | |
| 381 | System load: 0.3 Processes: 68 |
| 382 | Usage of /: 3.9% of 19.67GB Users logged in: 0 |
| 383 | Memory usage: 2% IP address for eth0: 192.168.10.6 |
| 384 | Swap usage: 0% IP address for eth1: 10.0.37.101 |
| 385 | |
| 386 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 387 | |
| 388 | Get cloud support with Ubuntu Advantage Cloud Guest: |
| 389 | http://www.ubuntu.com/business/services/cloud |
| 390 | |
| 391 | Use Juju to deploy your cloud instances and workloads: |
| 392 | https://juju.ubuntu.com/#cloud-precise |
| 393 | |
| 394 | 0 packages can be updated. |
| 395 | 0 updates are security updates. |
| 396 | |
| 397 | |
| 398 | The programs included with the Ubuntu system are free software; |
| 399 | the exact distribution terms for each program are described in the |
| 400 | individual files in /usr/share/doc/*/copyright. |
| 401 | |
| 402 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 403 | applicable law. |
| 404 | |
| 405 | lnevers@exp1-host2:~$ /sbin/ifconfig |
| 406 | eth0 Link encap:Ethernet HWaddr fa:16:3e:01:4b:ea |
| 407 | inet addr:192.168.10.6 Bcast:192.168.10.255 Mask:255.255.255.0 |
| 408 | inet6 addr: fe80::f816:3eff:fe01:4bea/64 Scope:Link |
| 409 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 410 | RX packets:300 errors:0 dropped:0 overruns:0 frame:0 |
| 411 | TX packets:224 errors:0 dropped:0 overruns:0 carrier:0 |
| 412 | collisions:0 txqueuelen:1000 |
| 413 | RX bytes:40779 (40.7 KB) TX bytes:24975 (24.9 KB) |
| 414 | |
| 415 | eth1 Link encap:Ethernet HWaddr fa:16:3e:42:73:c2 |
| 416 | inet addr:10.0.37.101 Bcast:10.0.37.255 Mask:255.255.255.0 |
| 417 | inet6 addr: fe80::f816:3eff:fe42:73c2/64 Scope:Link |
| 418 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 419 | RX packets:65 errors:0 dropped:0 overruns:0 frame:0 |
| 420 | TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 |
| 421 | collisions:0 txqueuelen:1000 |
| 422 | RX bytes:10989 (10.9 KB) TX bytes:942 (942.0 B) |
| 423 | |
| 424 | lo Link encap:Local Loopback |
| 425 | inet addr:127.0.0.1 Mask:255.0.0.0 |
| 426 | inet6 addr: ::1/128 Scope:Host |
| 427 | UP LOOPBACK RUNNING MTU:16436 Metric:1 |
| 428 | RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
| 429 | TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 |
| 430 | collisions:0 txqueuelen:0 |
| 431 | RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
| 432 | |
| 433 | lnevers@exp1-host2:~$ |
| 434 | }}} |
| 435 | |
| 436 | ''Note:'' Allocated nodes did not use requested IP address. |
| 437 | |
| 438 | |
| 439 | == Step 8. Using root privileges on one of the VMs load a Kernel module. If not supported on !OpenStack nodes, testing will proceed past this step. == |
| 440 | |
| 441 | The following commands are executed: |
| 442 | {{{ |
| 443 | # lsmod |
| 444 | # modprobe dummy |
| 445 | # lsmod |grep dummy |
| 446 | # modprobe -r dummy |
| 447 | # lsmod |grep dummy |
| 448 | }}} |
| 449 | |
| 450 | |
| 451 | The above commands cannot be executed, because there is no sudo access on the allocated nodes. |
| 452 | |
| 453 | == Step 9. Run a netcat listener and bind to port XYZ on each of the VMs in the BBN GRAM rack. == |
| 454 | |
| 455 | In cases where there are no routable IP addresses available this test is modified to exchange iperf traffic between two hosts. |
| 456 | But iperf is not installed and there is no sudo access for installing packages (ticket #57.) Therefore going back to |
| 457 | netcat scenario. |
| 458 | |
| 459 | On exp1-host1 start the listener: |
| 460 | {{{ |
| 461 | lnevers@exp1-host2:~$ nc -l 5000 |
| 462 | }}} |
| 463 | |
| 464 | |
| 465 | == Step 10. Send traffic to port XYZ on each of the VMs in the GRAM rack over the control network from any commodity Internet host. == |
| 466 | On the host exp1-host2 send traffic: |
| 467 | {{{ |
| 468 | lnevers@exp1-host1:~$ nc exp1-host2 5000 |
| 469 | hello this is exp1-host1 |
| 470 | goodbye! |
| 471 | lnevers@exp1-host1:~$ |
| 472 | }}} |
| 473 | |
| 474 | Verified that the text appeared on the exp1-host1 listener: |
| 475 | {{{{ |
| 476 | lnevers@exp1-host2:~$ nc -l 5000 |
| 477 | hello this is exp1-host1 |
| 478 | goodbye! |
| 479 | lnevers@exp1-host2:~$ |
| 480 | }}} |
| 481 | |
| 482 | == Step 11. As Experimenter2, request !ListResources from Site2 GRAM. == |
| 483 | |
| 484 | As experimenter lnevers2, issued a listresources for GRAM: |
| 485 | {{{ |
| 486 | lnevers2@arendia:~$ omni.py listresources -a gram2 -V2 |
| 487 | INFO:omni:Loading config file /home/lnevers2/.gcf/omni_config |
| 488 | INFO:omni:Using control framework gram |
| 489 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 490 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 491 | INFO:omni:Listed advertised resources at 1 out of 1 possible aggregates. |
| 492 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 493 | INFO:omni:<?xml version="1.0" ?> |
| 494 | INFO:omni: <!-- Resources at AM: |
| 495 | URN: unspecified_AM_URN |
| 496 | URL: https://128.89.91.170:5002 |
| 497 | --> |
| 498 | INFO:omni: <rspec type="advertisement" 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/ad.xsd http://www.geni.net/resources/rspec/ext/opstate/1 http://www.geni.net/resources/rspec/ext/opstate/1/ad.xsd"> <node client_id="VM" component_id="urn:public:geni:gpo:vm+a1b409dd-a6e7-4c49-bed1-313bb3e0bbb1" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" component_name="a1b409dd-a6e7-4c49-bed1-313bb3e0bbb1" exclusive="False"> <node_type type_name="m1.tiny"/> |
| 499 | <node_type type_name="m1.small"/> |
| 500 | <node_type type_name="m1.medium"/> |
| 501 | <node_type type_name="m1.large"/> |
| 502 | <node_type type_name="m1.xlarge"/> |
| 503 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 504 | <sliver_type name="m1.small"/> |
| 505 | <available now="True"/> |
| 506 | </node></rspec> |
| 507 | INFO:omni: ------------------------------------------------------------ |
| 508 | INFO:omni: Completed listresources: |
| 509 | |
| 510 | Options as run: |
| 511 | aggregate: ['gram2'] |
| 512 | framework: gram |
| 513 | |
| 514 | Args: listresources |
| 515 | |
| 516 | Result Summary: Queried resources from 1 of 1 aggregate(s). |
| 517 | |
| 518 | INFO:omni: ============================================================ |
| 519 | lnevers2@arendia:~$ |
| 520 | }}} |
| 521 | |
| 522 | |
| 523 | == Step 12. Define a request RSpec for two physical nodes, both using the uploaded GPO Ubuntu images. If not available, VMs and other images will be used. == |
| 524 | |
| 525 | The following RSpec was defined: |
| 526 | {{{ |
| 527 | <?xml version="1.0" encoding="UTF-8"?> |
| 528 | <rspec type="request" |
| 529 | xmlns="http://www.geni.net/resources/rspec/3" |
| 530 | xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" |
| 531 | xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" |
| 532 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 533 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 534 | http://www.geni.net/resources/rspec/3/request.xsd"> |
| 535 | |
| 536 | <node client_id="exp2-host1" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" > |
| 537 | <sliver_type name="m1.small"> |
| 538 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 539 | </sliver_type> |
| 540 | <interface client_id="exp2-host1:if0" > |
| 541 | <ip address="172.16.2.1" netmask="255.255.0.0" /> |
| 542 | </interface> |
| 543 | </node> |
| 544 | |
| 545 | <node client_id="exp2-host2" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" > |
| 546 | <sliver_type name="m1.small"> |
| 547 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 548 | </sliver_type> |
| 549 | <interface client_id="exp2-host2:if0" > |
| 550 | <ip address="172.16.2.2" netmask="255.255.0.0" /> |
| 551 | </interface> |
| 552 | </node> |
| 553 | |
| 554 | <link client_id="link-0"> |
| 555 | <interface_ref client_id="exp2-host1:if0"/> |
| 556 | <interface_ref client_id="exp2-host2:if0"/> |
| 557 | <property source_id="exp2-host1:if0" dest_id="exp1-host2:if0"/> |
| 558 | <property source_id="exp2-host2:if0" dest_id="exp1-host1:if0"/> |
| 559 | </link> |
| 560 | </rspec> |
| 561 | }}} |
| 562 | |
| 563 | == Step 13. Create the second slice. == |
| 564 | |
| 565 | Created slice: |
| 566 | {{{ |
| 567 | $ omni.py createslice GR-EXP-1-exp2 |
| 568 | INFO:omni:Loading config file /home/lnevers2/.gcf/omni_config |
| 569 | INFO:omni:Using control framework gram |
| 570 | INFO:omni:Created slice with Name GR-EXP-1-exp2, URN urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1-exp2, Expiration 2013-05-15 18:00:45 |
| 571 | INFO:omni: ------------------------------------------------------------ |
| 572 | INFO:omni: Completed createslice: |
| 573 | |
| 574 | Options as run: |
| 575 | framework: gram |
| 576 | |
| 577 | Args: createslice GR-EXP-1-exp2 |
| 578 | |
| 579 | Result Summary: Created slice with Name GR-EXP-1-exp2, URN urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1-exp2, Expiration 2013-05-15 18:00:45 |
| 580 | |
| 581 | INFO:omni: ============================================================ |
| 582 | }}} |
| 583 | |
| 584 | == Step 14. Create a sliver in the second slice, using the RSpec defined in step 12. == |
| 585 | |
| 586 | Created sliver: |
| 587 | {{{ |
| 588 | $ omni.py createsliver -a gram2 -V2 GR-EXP-1-exp2 ./GR-EXP-2-exp2.rspec |
| 589 | INFO:omni:Loading config file /home/lnevers2/.gcf/omni_config |
| 590 | INFO:omni:Using control framework gram |
| 591 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 592 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1-exp2 expires in <= 3 hours |
| 593 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1-exp2 expires on 2013-05-15 18:00:45 UTC |
| 594 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 595 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 596 | INFO:omni:Creating sliver(s) from rspec file ./GR-EXP-2-exp2.rspec for slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1-exp2 |
| 597 | INFO:omni:Got return from CreateSliver for slice GR-EXP-1-exp2 at https://128.89.91.170:5002: |
| 598 | INFO:omni:<?xml version="1.0" ?> |
| 599 | INFO:omni: <!-- Reserved resources for: |
| 600 | Slice: GR-EXP-1-exp2 |
| 601 | at AM: |
| 602 | URN: unspecified_AM_URN |
| 603 | URL: https://128.89.91.170:5002 |
| 604 | --> |
| 605 | INFO:omni: |
| 606 | <rspec 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"> |
| 607 | <node client_id="exp2-host1" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vmd040c8a2-6e2e-43cd-8409-c77d941c0df7"> |
| 608 | <interface client_id="exp2-host1:if0" mac_address="fa:16:3e:a1:56:86" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface875bbcc8-52e2-4631-909f-9b55f7a1792e"> |
| 609 | <ip address="10.0.38.100" type="ip"/> |
| 610 | </interface> |
| 611 | <sliver_type name="m1.small"> |
| 612 | <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 613 | </sliver_type> |
| 614 | <services> |
| 615 | <login authentication="ssh-keys" hostname="boscontroller" port="3005" username="lnevers2"/> |
| 616 | </services> |
| 617 | <host name="exp2-host1"/> |
| 618 | </node> |
| 619 | <node client_id="exp2-host2" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute1" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vmb29aa77d-1148-4aa7-9a22-be88407e1cc5"> |
| 620 | <interface client_id="exp2-host2:if0" mac_address="fa:16:3e:77:36:97" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface21e0ccc1-2e5f-4060-8418-27a84e88a302"> |
| 621 | <ip address="10.0.38.101" type="ip"/> |
| 622 | </interface> |
| 623 | <sliver_type name="m1.small"> |
| 624 | <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 625 | </sliver_type> |
| 626 | <services> |
| 627 | <login authentication="ssh-keys" hostname="boscontroller" port="3006" username="lnevers2"/> |
| 628 | </services> |
| 629 | <host name="exp2-host2"/> |
| 630 | </node> |
| 631 | <link client_id="link-0" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+link83582ee4-4853-494f-a6f8-0caf6391c759"> |
| 632 | <interface_ref client_id="exp2-host1:if0"/> |
| 633 | <interface_ref client_id="exp2-host2:if0"/> |
| 634 | <property dest_id="exp1-host2:if0" source_id="exp2-host1:if0"/> |
| 635 | <property dest_id="exp1-host1:if0" source_id="exp2-host2:if0"/> |
| 636 | </link> |
| 637 | </rspec> |
| 638 | |
| 639 | INFO:omni: ------------------------------------------------------------ |
| 640 | INFO:omni: Completed createsliver: |
| 641 | |
| 642 | Options as run: |
| 643 | aggregate: ['gram2'] |
| 644 | framework: gram |
| 645 | |
| 646 | Args: createsliver GR-EXP-1-exp2 ./GR-EXP-2-exp2.rspec |
| 647 | |
| 648 | Result Summary: Got Reserved resources RSpec from 128-89-91-170-5002 |
| 649 | INFO:omni: ============================================================ |
| 650 | }}} |
| 651 | |
| 652 | == Step 15. Log in to each of the systems, and send traffic to the other system. == |
| 653 | Once sliver was ready used login information from the manifest: |
| 654 | {{{ |
| 655 | |
| 656 | == Step 16. Verify that experimenters 1 and 2 cannot use the control plane to access each other's resources. == |
| 657 | |
| 658 | == Step 17. Review system statistics and VM isolation and network isolation on data plane. == |
| 659 | Reviewed system statistics on allocated nodes: |
| 660 | {{{ |
| 661 | lnevers2@exp2-host2:~$ vmstat -s |
| 662 | 2051764 K total memory |
| 663 | 275148 K used memory |
| 664 | 40336 K active memory |
| 665 | 182508 K inactive memory |
| 666 | 1776616 K free memory |
| 667 | 11356 K buffer memory |
| 668 | 197008 K swap cache |
| 669 | 0 K total swap |
| 670 | 0 K used swap |
| 671 | 0 K free swap |
| 672 | 657 non-nice user cpu ticks |
| 673 | 527 nice user cpu ticks |
| 674 | 376 system cpu ticks |
| 675 | 65975 idle cpu ticks |
| 676 | 351 IO-wait cpu ticks |
| 677 | 0 IRQ cpu ticks |
| 678 | 0 softirq cpu ticks |
| 679 | 0 stolen cpu ticks |
| 680 | 214454 pages paged in |
| 681 | 387044 pages paged out |
| 682 | 0 pages swapped in |
| 683 | 0 pages swapped out |
| 684 | 14350 interrupts |
| 685 | 31139 CPU context switches |
| 686 | 1368633739 boot time |
| 687 | 1610 forks |
| 688 | |
| 689 | lnevers2@exp2-host2:~$ top |
| 690 | |
| 691 | top - 16:14:41 up 12 min, 1 user, load average: 0.08, 0.03, 0.03 |
| 692 | Tasks: 60 total, 1 running, 59 sleeping, 0 stopped, 0 zombie |
| 693 | Cpu(s): 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st |
| 694 | Mem: 2051764k total, 275172k used, 1776592k free, 11380k buffers |
| 695 | Swap: 0k total, 0k used, 0k free, 197116k cached |
| 696 | |
| 697 | PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND |
| 698 | 1621 lnevers2 20 0 17312 1224 944 R 0.3 0.1 0:00.01 top |
| 699 | 1 root 20 0 24276 2280 1360 S 0.0 0.1 0:00.61 init |
| 700 | 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd |
| 701 | 3 root 20 0 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd/0 |
| 702 | 5 root 20 0 0 0 0 S 0.0 0.0 0:00.09 kworker/u:0 |
| 703 | 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 |
| 704 | 7 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 |
| 705 | 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset |
| 706 | 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper |
| 707 | 10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs |
| 708 | 11 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns |
| 709 | 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 sync_supers |
| 710 | 13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default |
| 711 | 14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
| 712 | 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd |
| 713 | 16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ata_sff |
| 714 | 17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd |
| 715 | 18 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 md |
| 716 | 19 root 20 0 0 0 0 S 0.0 0.0 0:00.13 kworker/0:1 |
| 717 | 22 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khungtaskd |
| 718 | 23 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0 |
| 719 | 24 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd |
| 720 | 25 root 39 19 0 0 0 S 0.0 0.0 0:00.00 khugepaged |
| 721 | 26 root 20 0 0 0 0 S 0.0 0.0 0:00.00 fsnotify_mark |
| 722 | 27 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ecryptfs-kthrea |
| 723 | 28 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 crypto |
| 724 | 36 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kthrotld |
| 725 | 37 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0 |
| 726 | 38 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1 |
| 727 | }}} |
| 728 | |
| 729 | |
| 730 | == Step 18. Verify that each VM has a distinct MAC address for that interface. == |
| 731 | |
| 732 | Verified that MAC addresses are unique and match the value in the manifest. |
| 733 | |
| 734 | The manifest shows for exp2-host1: |
| 735 | {{{ |
| 736 | <interface client_id="exp2-host1:if0" mac_address="fa:16:3e:a1:56:86" |
| 737 | }}} |
| 738 | |
| 739 | The host exp2-host1 had the following: |
| 740 | {{{ |
| 741 | lnevers2@arendia:~$ ssh 128.89.91.170 -p 3005 |
| 742 | ... |
| 743 | lnevers2@exp2-host1:~$ ifconfig eth1 |
| 744 | eth1 Link encap:Ethernet HWaddr fa:16:3e:a1:56:86 |
| 745 | inet addr:10.0.38.100 Bcast:10.0.38.255 Mask:255.255.255.0 |
| 746 | inet6 addr: fe80::f816:3eff:fea1:5686/64 Scope:Link |
| 747 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 748 | RX packets:152 errors:0 dropped:0 overruns:0 frame:0 |
| 749 | TX packets:32 errors:0 dropped:0 overruns:0 carrier:0 |
| 750 | collisions:0 txqueuelen:1000 |
| 751 | RX bytes:23766 (23.7 KB) TX bytes:5076 (5.0 KB) |
| 752 | }}} |
| 753 | All interfaces on exp2-host1 have unique MAC addresses: |
| 754 | {{{ |
| 755 | lnevers2@exp2-host1:~$ ifconfig |grep HW |
| 756 | eth0 Link encap:Ethernet HWaddr fa:16:3e:fa:e1:42 |
| 757 | eth1 Link encap:Ethernet HWaddr fa:16:3e:a1:56:86 |
| 758 | }}} |
| 759 | |
| 760 | The manifest shows for exp2-host2: |
| 761 | {{{ |
| 762 | <interface client_id="exp2-host2:if0" mac_address="fa:16:3e:77:36:97" |
| 763 | }}} |
| 764 | |
| 765 | The host exp2-host2 had the following: |
| 766 | {{{ |
| 767 | lnevers2@arendia:~$ ssh 128.89.91.170 -p 3006 |
| 768 | ... |
| 769 | lnevers2@exp2-host2:~$ ifconfig eth1 |
| 770 | eth1 Link encap:Ethernet HWaddr fa:16:3e:77:36:97 |
| 771 | inet addr:10.0.38.101 Bcast:10.0.38.255 Mask:255.255.255.0 |
| 772 | inet6 addr: fe80::f816:3eff:fe77:3697/64 Scope:Link |
| 773 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 774 | RX packets:106 errors:0 dropped:0 overruns:0 frame:0 |
| 775 | TX packets:23 errors:0 dropped:0 overruns:0 carrier:0 |
| 776 | collisions:0 txqueuelen:1000 |
| 777 | RX bytes:17059 (17.0 KB) TX bytes:4398 (4.3 KB) |
| 778 | }}} |
| 779 | |
| 780 | All interfaces on exp2-host2 have unique MAC addresses: |
| 781 | {{{ |
| 782 | lnevers2@exp2-host2:~$ ifconfig |grep HW |
| 783 | eth0 Link encap:Ethernet HWaddr fa:16:3e:04:3b:13 |
| 784 | eth1 Link encap:Ethernet HWaddr fa:16:3e:77:36:97 |
| 785 | }}} |
| 786 | |
| 787 | == Step 19. Verify that VMs' MAC addresses are learned on the data plane switch. == |
| 788 | |
| 789 | Ability to exchange traffic betweent the hosts demonstrates that MAC addresses are learned. |
| 790 | |
| 791 | |
| 792 | == Step 20. Stop traffic and delete slivers. == |
| 793 | |
| 794 | Deleted the two slivers, one sliver had an active ping, while the other was idle. |
| 795 | Resources were deleted for the idle sliver, but no deleted for the sliver that had |
| 796 | an active ping. |
| 797 | |