blob: db78402e8cf2612a2cf6dfe73a3cdd790d255126 [file] [log] [blame]
MYIP:=$(shell hostname -i)
cloudlab: common_cloudlab xos
devstack: upgrade_pkgs common_devstack devstack_net_fix xos
xos:
sudo MYIP=$(MYIP) docker-compose up -d
bash ../common/wait_for_xos.sh
sudo MYIP=$(MYIP) docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/common/base.yaml
sudo MYIP=$(MYIP) docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/nodes.yaml
common_cloudlab:
make -C ../common -f Makefile.cloudlab
common_devstack:
make -C ../common -f Makefile.devstack
stop:
sudo MYIP=$(MYIP) docker-compose stop
showlogs:
sudo MYIP=$(MYIP) docker-compose logs
devstack_net_fix:
sudo ../devstack/net-fix.sh
sudo bash -c "source ../common/admin-openrc.sh; neutron subnet-update private-subnet --dns-nameservers list=true 8.8.8.8 8.8.4.4"
upgrade_pkgs:
sudo pip install httpie --upgrade