This configuration can be used to do basic end-to-end development of XOS. It launches an XOS container, runs the XOS develserver, and configures XOS to talk to an OpenStack backend.
The configuration can be either run on CloudLab (controlling an OpenStack backend set up by a CloudLab profile) or used with a basic DevStack configuration.
To get started on CloudLab:
ctl:~$ git clone https://github.com/open-cloud/xos.git ctl:~$ cd xos/xos/configurations/devel/ ctl:~/xos/xos/configurations/devel$ make cloudlab
The following instructions can be used to install DevStack and XOS together on a single node. This setup has been run successfully in a VirtualBox VM with 2 CPUs and 4096 GB RAM.
First, if you happen to be installing DevStack on a CloudLab node, you can configure about 1TB of unallocated disk space for DevStack as follows:
~$ sudo mkdir -p /opt/stack ~$ sudo /usr/testbed/bin/mkextrafs /opt/stack
To install DevStack and XOS:
~$ git clone https://github.com/open-cloud/xos.git ~$ git clone https://git.openstack.org/openstack-dev/devstack ~$ cd devstack ~/devstack$ cp ../xos/xos/configurations/devstack/local.conf . ~/devstack$ ./stack.sh ~/devstack$ cd ../xos/xos/configurations/devel/ ~/xos/xos/configurations/devel$ make devstack
Note that there are some issues with the networking setup in this configuration; you will be able to create VMs but they are not accessible on the network. However it is possible to log into a VM by first entering the appropriate network namespace.
XOS will be set up with a single Deployment and Site. It should be in a state where you can create slices and associate instances with them.