blob: e55f38b81aa8606e7a98be2830bb1a9de13be658 [file] [log] [blame]
Scott Bakerd4f59d32015-09-29 23:07:09 -07001MYIP:=$(shell hostname -i)
2
Andy Bavierd99c2c02015-12-08 15:30:15 -05003cloudlab: common_cloudlab xos
4
Andy Bavieradcb9e82016-01-11 14:18:44 -05005devstack: upgrade_pkgs common_devstack xos
Andy Bavierd99c2c02015-12-08 15:30:15 -05006
7xos:
Andy Bavier5d1c3432016-01-05 09:56:05 -05008 sudo MYIP=$(MYIP) docker-compose up -d
Scott Bakera6a43722015-09-30 20:34:05 -07009 bash ../common/wait_for_xos.sh
Scott Baker33774832016-04-25 20:20:59 -070010 sudo docker-compose run xos python /opt/xos/tosca/run.py none /opt/xos/configurations/common/fixtures.yaml
Scott Baker0e092822016-04-26 15:01:45 -070011 sudo docker-compose run xos python /opt/xos/tosca/run.py none /opt/xos/configurations/common/mydeployment.yaml
12 sudo MYIP=$(MYIP) docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/common/cloudlab-openstack.yaml
Andy Bavier5d1c3432016-01-05 09:56:05 -050013 sudo MYIP=$(MYIP) docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/nodes.yaml
Scott Bakerd4f59d32015-09-29 23:07:09 -070014
Andy Bavier5144cc02016-01-20 13:18:38 -080015containers:
16 cd ../../../containers/xos; make devel
17 cd ../../../containers/synchronizer; make
18
Scott Bakerd4f59d32015-09-29 23:07:09 -070019common_cloudlab:
20 make -C ../common -f Makefile.cloudlab
Scott Bakera6a43722015-09-30 20:34:05 -070021
Andy Bavierd99c2c02015-12-08 15:30:15 -050022common_devstack:
23 make -C ../common -f Makefile.devstack
24
Scott Bakera6a43722015-09-30 20:34:05 -070025stop:
Andy Bavier5d1c3432016-01-05 09:56:05 -050026 sudo MYIP=$(MYIP) docker-compose stop
Scott Baker764884a2015-10-01 15:45:57 -070027
28showlogs:
Andy Bavier5d1c3432016-01-05 09:56:05 -050029 sudo MYIP=$(MYIP) docker-compose logs
Scott Baker764884a2015-10-01 15:45:57 -070030
Andy Bavier0ef6aad2016-01-06 16:46:40 -050031rm: stop
32 sudo MYIP=$(MYIP) docker-compose rm
33
34ps:
35 sudo MYIP=$(MYIP) docker-compose ps
36
Andy Bavierebbe44f2016-01-08 14:17:43 -050037enter-xos:
38 sudo docker exec -it devel_xos_1 bash
39
40enter-synchronizer:
41 sudo docker exec -it devel_xos_synchronizer_openstack_1 bash
42
Andy Bavier5d1c3432016-01-05 09:56:05 -050043upgrade_pkgs:
44 sudo pip install httpie --upgrade
Scott Bakerfdb653c2016-01-14 16:17:47 -080045
46rebuild_xos:
47 make -C ../../../containers/xos devel
48
Andy Bavier5144cc02016-01-20 13:18:38 -080049rebuild_synchronizer:
Scott Bakerfdb653c2016-01-14 16:17:47 -080050 make -C ../../../containers/synchronizer