Version 1 (modified by 12 years ago) (diff) | ,
---|
This page describes how to run an OpenFlow tutorial in Mesoscale that gets around the manual approval process. We expect that this won't be needed any more after Foam 1.8 is installed in the sites.
In summary the idea is to create a big slice that will contain all the flowspace for the tutorial and as the controller for that slice use a FlowVisor (called tutorial-fv from now on) that is controlled by FOAM (called tutorial-foam).
This wiki page provides step-by-step instructions.
1. Install a FV, FOAM on a new machine
First start by installing FOAM and FV on a new machine. Currently it is not easy to run two instances of FOAM on the same machine so use a dedicated machine for this.
Instructions about installing Flowvisor
Instructions about installing FOAM
OPTIONAL : Turn auto-approval on
If the users of the tutorial are going to create safe slivers (e.g. no loops), or if they are using precanned rspecs that are tested and safe then you can turn auto-approval on in FOAM, so that the administrator does not have to manually approve all the slices during the tutorial.
To do this, you will need to install curl :
sudo apt-get install curl
And then execute this command:
curl -kn -u foamadmin:<passwd> https://localhost:3626/admin/set-config -X POST -H "Content-Type: application/json" -d '{"key":"auto_approve","value":true}'
The result should look like:
{"msg": "", "retcode": 0, "value": {"status": "success"}}
Attachments (11)
- openflow-bbn-tut13foam.rspec (10.5 KB) - added by 12 years ago.
- openflow-gatech-tut13foam.rspec (9.5 KB) - added by 12 years ago.
- openflow-indiana-tut13foam.rspec (10.0 KB) - added by 12 years ago.
- openflow-internet2-tut13foam.rspec (11.4 KB) - added by 12 years ago.
- openflow-nlr-tut13foam.rspec (11.2 KB) - added by 12 years ago.
- openflow-stanford-tut13foam.rspec (11.3 KB) - added by 12 years ago.
- openflow-washington-tut13foam.rspec (9.3 KB) - added by 12 years ago.
- openflow-rutgers-tut13foam.rspec (9.4 KB) - added by 12 years ago.
- openflow-clemson-tut13foam.rspec (9.4 KB) - added by 12 years ago.
- openflow-wisconsin-tut13foam.rspec (10.0 KB) - added by 12 years ago.
- openflow-tutorial-template.rspec (21.3 KB) - added by 12 years ago.
Download all attachments as: .zip