Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A single node OpenStack installation with Floodlight as its quantum neutron backend.
  • Via the OpenStack Horizon GUI, tenants, virtual networks, and virtual instances can be created. See Verify OpenStack and Floodlight Installation for usage examples.

...

You will need to run a Floodlight controller for the OpenStack Quantum Neutron networking support to work.  The floodlight controller can be running on a separate floodlight VM you downloaded earlier, or you can download the floodlight source as a zip file, unzip it, compile and run it with the following simple steps on your Ubuntu VM:

Code Block
xml
xml
Make sure you have Internet connectivity before proceeding.

$ sudo apt-get update
$ sudo apt-get install zip default-jdk ant
$ wget --no-check-certificate https://github.com/floodlight/floodlight/archive/master.zip
$ unzip master.zip
$ cd floodlight-master; ant
$ java -jar target/floodlight.jar -cf src/main/resources/quantumneutron.properties

To confirm the VirtualNetworkFilter is successfully activated, do the following on your Ubuntu VM:

Code Block
xml
xml
$ curl 127.0.0.1:8080/networkService/v1.1
{"status":"ok"}

Installing OpenStack with the RestProxy

...

Neutron Plugin using Devstack

Once Floodlight is confirmed running, we are ready to install OpenStack using the install-devstack script. The following steps 1) configures OVS switch on the VM to listen to floodlight and 2) installs OpenStack and the BigSwitch REST proxy plugin on the VM.

...

Code Block
xml
xml
disable_service n-net
enable_service q-svc
enable_service q-dhcp
enable_service quantumneutron
enable_service bigswitch_floodlight
Q_PLUGIN=bigswitch_floodlight
Q_USE_NAMESPACE=False
NOVA_USE_QUANTUMNEUTRON_API=v2
SCHEDULER=nova.scheduler.simple.SimpleScheduler
MYSQL_PASSWORD=<password>
RABBIT_PASSWORD=<password>
ADMIN_PASSWORD=<password>
SERVICE_PASSWORD=<password>
SERVICE_TOKEN=tokentoken
DEST=/opt/stack
SCREEN_LOGDIR=$DEST/logs/screen
SYSLOG=True
#IP:Port for the BSN controller
#if more than one, separate with commas
BS_FL_CONTROLLERS_PORT=<ip_address:port>
BS_FL_CONTROLLER_TIMEOUT=10

...