Changes between Version 31 and Version 32 of GEC17Agenda/AdvancedOpenFlow/Procedure/Execute
- Timestamp:
- 03/09/14 18:25:50 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC17Agenda/AdvancedOpenFlow/Procedure/Execute
v31 v32 20 20 === 2.1. Start a naive OpenFlow controller === 21 21 An example OpenFlow Controller that assigns incoming TCP connections to alternating paths '''based on total number of flows''' (round robin) is already downloaded for you. You can find it (load-balancer.rb) in the home directory on node "Switch". [[BR]] 22 - '''2.1.1''' Log on to node "Switch" . For the tutorial to do that we are going to use the `readyToLogin.py` omni script. 23 - '''2.1.1.1''' Open a terminal window 24 - '''2.1.1.2''' Run: 25 {{{ 26 readyToLogin.py -a EG-AM SLICENAME 27 }}} 28 - '''2.1.1.3''' Find the line that corresponds to the switch node and copy and paste it 29 - '''2.1.2''' Check that all interfaces are configured: Issue `/sbin/ifconfig` and make sure eth1, eth2, eth3 are up and assigned with valid IP addresses. [[BR]] 30 - '''2.1.3''' Start the example Load Balancer by executing the following : 22 - '''2.1.1''' Check that all interfaces are configured: Issue `/sbin/ifconfig` and make sure eth1, eth2, eth3 are up and assigned with valid IP addresses. [[BR]] 23 - '''2.1.2''' Start the example Load Balancer by executing the following : 31 24 32 25 On the Aggregator Node run … … 41 34 trema run /root/load-balancer.rb 42 35 }}} 43 - '''2.1. 4''' After you started your Load Balancer, you should be able to see the following (Switch id may vary):36 - '''2.1.3''' After you started your Load Balancer, you should be able to see the following (Switch id may vary): 44 37 {{{ 45 38 OpenFlow Load Balancer Conltroller Started! … … 49 42 50 43 === 2.2. Configure !LabWiki to orchestrate and monitor your experiment === 51 - '''2.2.1''' Log on to !LabWiki on http://emmy9.casa.umass.edu:4609 , on the `Prepare` Column, create a new Ruby script by clicking on the '+' at the topof the column. [[BR]]44 - '''2.2.1''' Log on to !LabWiki on http://emmy9.casa.umass.edu:4609 , on the `Prepare` Column, create a new Ruby script by clicking on the "*" at the top-left of the column. [[BR]] 52 45 53 46 [[Image(LabWiki_newscript.png)]] 54 47 55 Type a name for the script, eg. advOF-script and save it as a Rubyfile. Enter the name of the script you just created, in the prepare column. It is now ready for editing.48 Type a name for the script, eg. advOF-script and save it as an OEDL file. Enter the name of the script you just created, in the prepare column. It is now ready for editing. 56 49 57 50 [[Image(LabWiki_newscriptsel.png)]]