...
The following instructions are for installing Floodlight (latest build) and OpenStack (FolsomGrizzly) on a Ubuntu VM using devstack scripts developed by Big Switch.
...
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.
If you want the OpenStack
...
Grizzly release:
Code Block | ||||
---|---|---|---|---|
| ||||
$ wget https://github.com/bigswitchopenstack-dev/devstack/archive/floodlightstable/folsomgrizzly.zip $ unzip folsomgrizzly.zip $ cd devstack-floodlightstable-folsomgrizzly |
Use
...
your
...
favorite
...
editor
...
to create a file named localrc and fill in the following. Remember to replace <password> to your chosen password and update 'BS_FL_CONTROLLERS_PORT=<floodlight
...
IP
...
address>:8080'.
...
If
...
you
...
have
...
run
...
floodlight
...
in
...
the
...
same
...
VM,
...
them
...
use
...
127.0.0.1
...
for
...
<floodlight
...
IP
...
address>;
...
otherwise,
...
use
...
the IP address of whichever VM or host where you run floodlight.
Code Block | ||||
---|---|---|---|---|
| ||||
disable_service n-net
enable_service q-svc
enable_service q-dhcp
enable_service quantum
enable_service bigswitch_floodlight
Q_PLUGIN=bigswitch_floodlight
Q_USE_NAMESPACE=False
NOVA_USE_QUANTUM_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
|
Then:
Code Block | ||||
---|---|---|---|---|
| ||||
$ ./stack.sh
|
| Note that OpenStack installation is a LONG process that cannot be interrupted. Any interruption or loss of network connectivity results in unknown states that cannot be resumed. It is recommended that you take a "snapshot" using VirtualBox before you begin the installation, such that you can easily power down and restore the original snapshot if indeed the process is interrupted. install-devstack.sh requires uninterrupted IP connectivity to run. |
...