Installation¶
git clone https://git.openstack.org/openstack-dev/devstack
Copy one of the following as your local.conf to your devstack folder
DevStack Multi Node Configuration
Run ./stack.sh
Once the script has finished successfully, Dragonflow is ready to move packets. You can see Testing and Debugging to test and troubleshoot the deployment.
Automated setup using Vagrant + Virtualbox¶
This will create a 3 node devstack (controller + two computes), where Dragonflow is used as the Open vSwitch backend.
Vagrant allows to configure the provider on which the virtual machines are created. Virtualbox is the default provider used to launch the VM’s on a developer computer, but other providers can be used: VMWare, AWS, OpenStack, containers stuff, ...
Quick Start¶
- Install Virtualbox (https://www.virtualbox.org/wiki/Downloads) and Vagrant (https://www.vagrantup.com/downloads.html).
- Configure
git clone https://git.openstack.org/openstack/dragonflow
cd dragonflow
vagrant plugin install vagrant-cachier
vagrant plugin install vagrant-vbguest
- Adjust the settings in vagrant/provisioning/virtualbox.conf.yml if needed (5GB RAM is the minimum to get 1 VM running on the controller node)
- Launch the VM’s: vagrant up
... This may take a while, once it is finished:
- you can ssh into the virtual machines: vagrant ssh devstack_controller, vagrant ssh devstack_compute1 or vagrant ssh devstack_compute2
- you can access the horizon dashboard at http://controller.devstack.dev
- the dragonflow folder is shared between the host and the two nodes (at /home/vagrant/dragonflow)