187 | | '' ''' Step 2''' ''. Review [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] to determine MyPLC hosts mapping to the Site's OpenFlow switch. In the [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] page, select the OF Aggregate link for BBN, Clemson and Wisconsin and use the OF site diagrams to determine which ports and DPID should be used in the OF RSpec. |
188 | | |
189 | | Let map the 3 nodes from the Site's compute resources RSpec. |
| 187 | '' ''' Step 2''' ''. Define site specific OF details based on [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] and MyPLC hosts mapping to the Site's OpenFlow switch. This step walk through how the site details are defined. In the [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] page, select the OF Aggregate link for BBN, Clemson and Wisconsin and use the OF site diagrams to determine which ports and DPID should be used in the OF RSpec. |
| 188 | |
| 189 | Let map the 3 nodes from the Site's compute resources RSpec to the appropriate OF Switch port and determine how they connect to the GENI CORE network VLAN 3715. |
207 | | Now we have all the information needed to define the OF resource details. These are the RSpec lines that define the ports on habanero: |
208 | | {{{ |
209 | | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:24:a8:c4:b9:00" component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am" dpid="06:d6:00:24:a8:c4:b9:00"> |
210 | | <openflow:port name="32" num="56"/> |
211 | | <openflow:port name="47" num="71"/> |
| 206 | Now we have all the information needed to define the BBN OF resource request RSpec. These are lines that define the ports on habanero: |
| 207 | {{{ |
| 208 | |
| 209 | <openflow:group name="habanero-1750-nodes"> |
| 210 | |
| 211 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:24:a8:c4:b9:00" |
| 212 | component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am" |
| 213 | dpid="06:d6:00:24:a8:c4:b9:00"> |
| 214 | <openflow:port name="32" num="56"/> |
| 215 | <openflow:port name="47" num="71"/> |
| 216 | </openflow:datapath> |
| 217 | </openflow:group> |
| 218 | |
233 | | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam+datapath+06:d6:00:26:f1:3f:e4:80" component_manager_i |
234 | | d="urn:publicid:IDN+openflow:foam:foam+authority+am" dpid="06:d6:00:26:f1:3f:e4:80"> |
235 | | <openflow:port name="39" num="39"/> |
236 | | <openflow:port name="43" num="43"/> |
237 | | }}} |
238 | | |
239 | | To complete the RSpec see ''Step 3'' |
240 | | |
241 | | To define the OF RSpec for the Wisonsin site we need to review the [http://groups.geni.net/geni/wiki/GeniAggregate/WisconsinOpenFlow Winsconsin OF Aggregate] diagram. The compute resource used at the Wisconsin site is the node wings-openflow-2.wail.wisc.edu. The Wisconsin OF aggregate diagram only shows the MAC address for the OF switch to determine the DPID simply combine the hexadecimal value for 1750 (06d6) and the MAC address (00:23:47:CC:44:00) to create the DPID (06:d6:00:23:47:CC:44:00). |
| 246 | |
| 247 | <openflow:group name="clemson-1750-3715"> |
| 248 | |
| 249 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam+datapath+06:d6:00:26:f1:3f:e4:80" |
| 250 | component_manager_id="urn:publicid:IDN+openflow:foam:foam+authority+am" dpid="06:d6:00:26:f1:3f:e4:80"> |
| 251 | <openflow:port name="39" num="39"/> |
| 252 | <openflow:port name="43" num="43"/> |
| 253 | </openflow:datapath> |
| 254 | </openflow:group> |
| 255 | |
| 256 | }}} |
| 257 | |
| 258 | To complete the Clemson OF RSpec see ''Step 3'' |
| 259 | |
| 260 | __Wisconsin OF AGGREGATE__ [[BR]] |
| 261 | |
| 262 | To define the OF RSpec for the Wisconsin site review the [http://groups.geni.net/geni/wiki/GeniAggregate/WisconsinOpenFlow Winsconsin OF Aggregate] diagram. The compute resource used at the Wisconsin site is the node wings-openflow-2.wail.wisc.edu. The Wisconsin OF aggregate diagram only shows the MAC address for the OF switch to determine the DPID simply combine the hexadecimal value for 1750 (06d6) and the MAC address (00:23:47:CC:44:00) to create the DPID (06:d6:00:23:47:CC:44:00). |
246 | | These are the lines from the Advertisement that should be used in the request RSpec: |
247 | | {{{ |
248 | | |
249 | | |
250 | | }}} |
251 | | |
252 | | To complete the RSpec see ''Step 3'' |
253 | | |
254 | | |
255 | | |
256 | | |
257 | | '' '''Step 3''' ''. Merge Step 1 and 2 to generate request RSpecs. |
| 267 | These are the lines from the Wisconsin OF Advertisement that should be used in the OF request RSpec: |
| 268 | {{{ |
| 269 | <openflow:group name="wisconsin-nodes-1750"> |
| 270 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+datapath+06:d6:00:23:47:cc:44:00" |
| 271 | component_manager_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+authority+am"> |
| 272 | <openflow:port num="1"/> |
| 273 | <openflow:port num="22"/> |
| 274 | </openflow:datapath> |
| 275 | </openflow:group> |
| 276 | |
| 277 | <openflow:group name="wisconsin-1750-3715"> |
| 278 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+datapath+06:d6:00:21:f7:be:8d:00" |
| 279 | component_manager_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+authority+am"> |
| 280 | <openflow:port num="3"/> |
| 281 | <openflow:port num="51"/> |
| 282 | </openflow:datapath> |
| 283 | </openflow:group> |
| 284 | |
| 285 | |
| 286 | }}} |
| 287 | |
| 288 | To complete the Wisconsin OF RSpec see ''Step 3'' |
| 289 | |
| 290 | |
| 291 | |
| 292 | '' '''Step 3''' ''. Define OF groups and merge with Switch details from step 2: |
| 293 | |
| 295 | |
| 296 | '' '''Step 4''' '' Insert request details into OF V3 RSpec template. |
| 297 | |
| 298 | {{{ |
| 299 | <?xml version="1.1" encoding="UTF-8"?> |
| 300 | <rspec xmlns="http://www.geni.net/resources/rspec/3" |
| 301 | xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" |
| 302 | xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3" |
| 303 | xs:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 304 | http://www.geni.net/resources/rspec/3/request.xsd |
| 305 | http://www.geni.net/resources/rspec/ext/openflow/3 |
| 306 | http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd" |
| 307 | type="request"> |
| 308 | |
| 309 | <openflow:sliver email="user@geni.net" description="My GENI experiment" ref="http://www.geni.net"> |
| 310 | |
| 311 | <!-- RSpec details from Step 2 and Step 3 --> |
| 312 | |
| 313 | </openflow:sliver> |
| 314 | </rspec> |
| 315 | }}} |