This configuration launches an XOS that can control multiple CORD PODs. Each POD is configured as a separate Site in Global XOS.
service-profile/globalxos
folderopencloud.yaml
to declare sites and admin login credentials for each sitemake
commandA Vagrant environment is provided with an ubuntu_14.04 box (ubuntu/trusty64). There are two boxes: global
and arizona
. The global
box runs Global XOS while the arizona
box runs a sample L-XOS site.
The global
XOS is available on localhost:9999
. The arizona
XOS is available on localhost:9990
.
It will also share the service-profile
and xos
folders with the Vagrant box. These two directories are intended to be side by side.
How to set it up:
service-profile
and xos
repositories from Vagrantcd service-profile/globalxos/
vagrant up
arizona
Vagrant box: vagrant ssh arizona
cd service-profile/frontend; make local_containers; make; make mock-cord-pod
arizona
Vagrant boxglobal
Vagrant box: vagrant ssh global
cd service-profile/globalxos; make local_containers; make
If all goes well, the Global XOS should now be able to configure the frontend XOS running in the arizona
box.
Stop the containers: make stop
Restart the containers: make stop; make
Delete the containers and relaunch them: make rm; make
Build the containers from scratch using the local XOS source tree: make local_containers
View logs: make showlogs
See what containers are running: make ps
You can find Swagger documentation at: http://0.0.0.0:9999/docs/