openvnet
openvnet copied to clipboard
Installing OpenVNet on Ubuntu and running rspec
When trying to install OpenVNet on Ubuntu I came across some issues which were resolved by the following actions. Mostly unconfirmed, but in the end I got rspec running.
Installed missing libraries
sudo apt-get install libmysqlclient-dev
sudo apt-get install libsqlite3-dev
sudo apt-get install libpcap-dev
sudo apt-get install uuid uuid-dev uuid-runtime
sudo apt-get install build-essential gcc
Install zero-mq
sudo add-apt-repository ppa:chris-lea/zeromq
sudo add-apt-repository ppa:chris-lea/libpgm
sudo apt-get update
sudo apt-get install libzmq-dbg libzmq-dev libzmq1
Then install the gem
gem install zmq
Install Redis
sudo apt-get install redis-serve
To run rspec
Test expects mysql to have no root password
bundle exec rake test:db:reset
bundle exec rspec
Since this is focused on running rspec and doesn't actually install open vswitch, this should be a development guide. I'm setting the priority to low as I think usage guides are more important at this point.
I'd like to see an OpenVNet guide for ubuntu/debian...?