190 | | '' ''' 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. |
191 | | |
192 | | 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. |
| 189 | '' ''' 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. In addition OF groups rules will be defined for each of the site to handle traffic for the hosts. Each site Rspec will include a group definition that looks as follows: |
| 190 | |
| 191 | {{{ |
| 192 | <openflow:match> |
| 193 | <openflow:use-group name="group-name" /> |
| 194 | <openflow:packet> |
| 195 | <openflow:dl_type value="0x800,0x806"/> |
| 196 | <openflow:nw_dst value="10.42.11.0/24"/> |
| 197 | <openflow:nw_src value="10.42.11.0/24"/> |
| 198 | </openflow:packet> |
| 199 | </openflow:match> |
| 200 | }}} |
| 201 | ''Note:''' The ''group-name'' above will be replace by the actual group name values defined in flowspec. [[BR]] |
| 202 | ''Note: The address "10.42.11.0/24" was assigned as described in the section XXXX above. |
| 203 | |
| 204 | Now, let map the 3 nodes from the Site's Compute Resource RSpecs to the appropriate OF Switch port and determine how they connect to the GENI CORE network VLAN 3715. |
350 | | '' '''Step 3''' ''. Define OF groups rules: |
351 | | |
352 | | Each of the site will need to define OF rules for handling site traffic for the hosts. Each site Rspec will include: |
353 | | |
354 | | {{{ |
355 | | <openflow:match> |
356 | | <openflow:use-group name="group-name" /> |
357 | | <openflow:packet> |
358 | | <openflow:dl_type value="0x800,0x806"/> |
359 | | <openflow:nw_dst value="10.42.11.0/24"/> |
360 | | <openflow:nw_src value="10.42.11.0/24"/> |
361 | | </openflow:packet> |
362 | | </openflow:match> |
363 | | }}} |
364 | | Note the ''group-name'' above will be replace by the actual group name values defined in the previous step. Here is a summary of groups defined in Step 2: |
365 | | * BBN Site: bbn-1750-nodes, bbn-1750-3715 |
366 | | * Clemson site: clemson-1750-3715 |
367 | | * Wisconsin group name=wisconsin-nodes-1750, wisconsin-1750-3715 |
368 | | |
369 | | '' '''Step 4''' '' Insert request details into OF V3 RSpec template. |
| 359 | '' '''Step 3''' '' Insert request details into OF V3 RSpec template. |
| 396 | |
| 397 | {{{ |
| 398 | #xml |
| 399 | <?xml version="1.1" encoding="UTF-8"?> |
| 400 | <rspec xmlns="http://www.geni.net/resources/rspec/3" |
| 401 | xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" |
| 402 | xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3" |
| 403 | xs:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 404 | http://www.geni.net/resources/rspec/3/request.xsd |
| 405 | http://www.geni.net/resources/rspec/ext/openflow/3 |
| 406 | http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd" |
| 407 | type="request"> |
| 408 | |
| 409 | <openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net"> |
| 410 | <openflow:controller url="tcp:navis.gpolab.bbn.com:33017" type="primary" /> |
| 411 | |
| 412 | <openflow:group name="bbn-1750-nodes"> |
| 413 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:24:a8:c4:b9:00" |
| 414 | component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am" |
| 415 | dpid="06:d6:00:24:a8:c4:b9:00"> |
| 416 | <openflow:port name="32" num="56"/> |
| 417 | <openflow:port name="47" num="71"/> |
| 418 | </openflow:datapath> |
| 419 | </openflow:group> |
| 420 | |
| 421 | <openflow:group name="bbn-1750-3715"> |
| 422 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:12:e2:b8:a5:d0" |
| 423 | component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am" |
| 424 | dpid="06:d6:00:12:e2:b8:a5:d0"> |
| 425 | <openflow:port num="3"/> |
| 426 | <openflow:port num="20"/> |
| 427 | </openflow:datapath> |
| 428 | </openflow:group> |
| 429 | |
| 430 | <openflow:match> |
| 431 | |
| 432 | <openflow:use-group name="bbn-1750-nodes" /> |
| 433 | <openflow:use-group name="bbn-1750-3715" /> |
| 434 | |
| 435 | <openflow:packet> |
| 436 | <openflow:dl_type value="0x800,0x806"/> |
| 437 | <openflow:nw_dst value="10.42.11.0/24"/> |
| 438 | <openflow:nw_src value="10.42.11.0/24"/> |
| 439 | </openflow:packet> |
| 440 | |
| 441 | </openflow:match> |
| 442 | |
| 443 | </openflow:sliver> |
| 444 | </rspec> |
| 445 | }}} |
| 446 | |
| 447 | |
| 448 | __Clemson OpenFlow RSpec_ |
| 449 | |
419 | | <openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net"> |
420 | | <openflow:controller url="tcp:example.geni.net:9933" type="primary" /> |
421 | | |
422 | | |
423 | | <!-- RSpec details from Step 2 and Step 3 --> |
424 | | |
425 | | </openflow:sliver> |
| 463 | <openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net"> |
| 464 | <openflow:controller url="tcp:navis.gpolab.bbn.com:33017" type="primary" /> |
| 465 | |
| 466 | <openflow:group name="clemson-1750-3715"> |
| 467 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam+datapath+06:d6:00:26:f1:3f:e4:80" |
| 468 | component_manager_id="urn:publicid:IDN+openflow:foam:foam+authority+am" dpid="06:d6:00:26:f1:3f:e4:80"> |
| 469 | <openflow:port name="39" num="39"/> |
| 470 | <openflow:port name="43" num="43"/> |
| 471 | </openflow:datapath> |
| 472 | </openflow:group> |
| 473 | |
| 474 | <openflow:match> |
| 475 | <openflow:use-group name="clemson-1750-3715" /> |
| 476 | <openflow:packet> |
| 477 | <openflow:dl_type value="0x800,0x806"/> |
| 478 | <openflow:nw_dst value="10.42.11.0/24"/> |
| 479 | <openflow:nw_src value="10.42.11.0/24"/> |
| 480 | </openflow:packet> |
| 481 | </openflow:match> |
| 482 | |
| 483 | </openflow:sliver> |
| 489 | |
| 490 | |
| 491 | {{{ |
| 492 | #xml |
| 493 | <?xml version="1.1" encoding="UTF-8"?> |
| 494 | <rspec xmlns="http://www.geni.net/resources/rspec/3" |
| 495 | xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" |
| 496 | xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3" |
| 497 | xs:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 498 | http://www.geni.net/resources/rspec/3/request.xsd |
| 499 | http://www.geni.net/resources/rspec/ext/openflow/3 |
| 500 | http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd" |
| 501 | type="request"> |
| 502 | |
| 503 | <openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net"> |
| 504 | <openflow:controller url="tcp:navis.gpolab.bbn.com:33017" type="primary" /> |
| 505 | |
| 506 | <openflow:group name="wisconsin-nodes-1750"> |
| 507 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+datapath+0 |
| 508 | 6:d6:00:23:47:cc:44:00" |
| 509 | component_manager_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+au |
| 510 | thority+am"> |
| 511 | <openflow:port num="1"/> |
| 512 | <openflow:port num="22"/> |
| 513 | </openflow:datapath> |
| 514 | </openflow:group> |
| 515 | |
| 516 | <openflow:group name="wisconsin-1750-3715"> |
| 517 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+datapath+0 |
| 518 | 6:d6:00:21:f7:be:8d:00" |
| 519 | component_manager_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+au |
| 520 | thority+am"> |
| 521 | <openflow:port num="3"/> |
| 522 | <openflow:port num="51"/> |
| 523 | </openflow:datapath> |
| 524 | </openflow:group> |
| 525 | |
| 526 | <openflow:match> |
| 527 | <openflow:use-group name="wisconsin-nodes-1750" /> |
| 528 | <openflow:use-group name="wisconsin-1750-3715" /> |
| 529 | <openflow:packet> |
| 530 | <openflow:dl_type value="0x800,0x806"/> |
| 531 | <openflow:nw_dst value="10.42.11.0/24"/> |
| 532 | <openflow:nw_src value="10.42.11.0/24"/> |
| 533 | </openflow:packet> |
| 534 | </openflow:match> |
| 535 | |
| 536 | |
| 537 | </openflow:sliver> |
| 538 | </rspec> |
| 539 | |
| 540 | }}} |