Changes between Version 83 and Version 84 of GENIExperimenter/ExperimentExample-OF-FOAM
- Timestamp:
- 04/20/12 10:56:49 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/ExperimentExample-OF-FOAM
v83 v84 372 372 === Step 3: Generate OpenFlow V3 RSpec === 373 373 374 This section uses guidelines from the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs#WritingOpenFlowv3requestrspecs Writing OF V3 RSpec] page to merge information from Step 2and generate the complete BBN, Clemson, Wisconsin and NLR !OpenFlow request RSpecs.374 This section uses guidelines from the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs#WritingOpenFlowv3requestrspecs Writing OF V3 RSpec] page to merge information from [wiki:GENIExperimenter/ExperimentExample-OF-FOAM#Step2:DeterminesitespecificOpenFlowdetails Step 2] and generate the complete BBN, Clemson, Wisconsin and NLR !OpenFlow request RSpecs. 375 375 376 376 The following !OpenFlow V3 RSpec template is used to start each RSpec: 377 377 378 378 {{{ 379 # xml379 #!xml 380 380 <?xml version="1.1" encoding="UTF-8"?> 381 381 <rspec xmlns="http://www.geni.net/resources/rspec/3" … … 391 391 <openflow:controller url="tcp:example.geni.net:9933" type="primary" /> 392 392 393 394 393 <!-- RSpec details from Step 2 here --> 395 394 … … 405 404 Note: If you do not have an !OpenFlow controller, you can set one up as shown [http://groups.geni.net/geni/wiki/OpenFlow/GeniBackboneTest#SetupyourOpenFlowcontroller here]. 406 405 407 After you have defined the email, experiment description, and controller details, use the modified !OpenFlow V3 RSpec template to generate the 3 site !OpenFlow Rspecs. The !OpenFlow RSpecs are generated by combining 408 details from Step 2 with the modified template. Following are the completed site !OpenFlow RSpecs for the 3 sites in this experiment: 406 The modified !OpenFlow V3 Rspec template is shown below with the setting changes specific to our experiment: 407 {{{ 408 #!xml 409 <?xml version="1.1" encoding="UTF-8"?> 410 <rspec xmlns="http://www.geni.net/resources/rspec/3" 411 xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" 412 xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3" 413 xs:schemaLocation="http://www.geni.net/resources/rspec/3 414 http://www.geni.net/resources/rspec/3/request.xsd 415 http://www.geni.net/resources/rspec/ext/openflow/3 416 http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd" 417 type="request"> 418 419 <openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net"> 420 <openflow:controller url="tcp:navis.gpolab.bbn.com:33017" type="primary" /> 421 422 <!-- RSpec details from Step 2 here --> 423 424 </openflow:sliver> 425 </rspec> 426 }}} 427 428 Using the modified !OpenFlow V3 RSpec template we generate the 3 site !OpenFlow Rspecs by combining details from wiki:GENIExperimenter/ExperimentExample-OF-FOAM#Step2:DeterminesitespecificOpenFlowdetails Step 2] with the modified template. Following are the completed site !OpenFlow RSpecs for the 3 sites in this experiment: 409 429 410 430 ==== BBN OpenFlow RSpec ==== 411 431 412 432 {{{ 413 # xml433 #!xml 414 434 <?xml version="1.1" encoding="UTF-8"?> 415 435 <rspec xmlns="http://www.geni.net/resources/rspec/3" … … 465 485 466 486 {{{ 467 # xml487 #!xml 468 488 <?xml version="1.1" encoding="UTF-8"?> 469 489 <rspec xmlns="http://www.geni.net/resources/rspec/3" … … 504 524 505 525 {{{ 506 # xml526 #!xml 507 527 <?xml version="1.1" encoding="UTF-8"?> 508 528 <rspec xmlns="http://www.geni.net/resources/rspec/3" … … 557 577 558 578 {{{ 559 # xml579 #!xml 560 580 <?xml version="1.1" encoding="UTF-8"?> 561 581 <rspec xmlns="http://www.geni.net/resources/rspec/3" … … 595 615 == Create Slice and Request Resources == 596 616 597 Using the RSpecs that define the required OF flowspace, you can now request OF resources with Omni. First create a slice using your GPO Clearinghouse credentials as defined in the omni_config. Note that the slice name should be meaningful to you and then create a sliver for each resource aggregate. In this example there are 4 OF aggregates (one per site plus one for the GENI core) and 3 compute resource aggregates (3 MyPLC), which maps to creating 7 slivers, and the following commands are executed:617 Using the RSpecs that define the OF flowspace and compute resource for our experiment, we can now set up the experimennt with Omni. First create a slice using your GPO Clearinghouse credentials as defined in the omni_config. Note that the slice name should be meaningful to you and then create a sliver for each resource aggregate. In this example there are 4 OF aggregates (one per site plus one for the GENI core) and 3 compute resource aggregates (3 MyPLC), which maps to creating 7 slivers, and the following commands are executed: XXXX 598 618 {{{ 599 619 $ cd gcf-1.6.1