Setup MSB and AAI
Since MultiCloud depends on MSB and AAI, please refer to their wiki page to setup these services.
Run MultiCloud Broker
MultiCloud Broker is a forwarder, which will forward requests to correct adapter through MSB.
Broker is written by python, using django framework. It requires python 2.7 env.
git clone http://gerrit.onap.org/r/multicloud/framework
cd framework/multivimbroker/
sudo pip install -r requirements.txt
Edit configuration file "multivimbroker/pub/config/config.py", change MSB and AAI address. Then start service.
python manage.py runserver 9001
Now the broker is running on port 9001, verify it by sending a request.
curl http://127.0.0.1:9001/api/multicloud/v0/swagger.json
Do some changes and git review your patch.
Run MultiCloud VIO plugin
vio plugin is written by python using django framework. It requires python 2.7 env.
git clone http://gerrit.onap.org/r/multicloud/openstack/vmware
cd vmware/vio/
sudo pip install -r requirements.txt
Edit configuration file "vio/pub/config/config.py", change MSB and AAI address. Then start service.
python manage.py runserver 9004
Verify API
curl http://127.0.0.1:9004/api/multicloud-vio/v0/swagger.json
Do some changes and git review your patch.
Run MultiCloud Ocata plugin
Ocata plugin is written by python using django framework. It requires python 2.7 env.
git clone http://gerrit.onap.org/r/multicloud/openstack
cd openstack/ocata/
sudo pip install -r requirements.txt
Edit configuration file "ocata/pub/config/config.py", change MSB and AAI address.
Edit configuration file "../newton/pub/config/config.py", change MSB and AAI address.
Then start service.
memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=../newton
python manage.py runserver 9006
Verify API
curl http://127.0.0.1:9006/api/multicloud-ocata/v0/swagger.json
Do some changes and git review your patch.
Run MultiCloud Wind River plugin
Wind River plugin is written by python using django framework. It requires python 2.7 env.
git clone http://gerrit.onap.org/r/multicloud/openstack
cd openstack/windriver/
sudo pip install -r requirements.txt
Edit configuration file "titanium_cloud/pub/config/config.py", change MSB and AAI address.
Edit configuration file "../newton/pub/config/config.py", change MSB and AAI address.
Then start service.
memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=../newton
python manage.py runserver 9005
Verify API
curl http://127.0.0.1:9005/api/multicloud-titanium_cloud/v0/swagger.json
Do some changes and git review your patch.
More MultiCloud API can refer to API document.