blob: 1e650f3d6dde2a8df453dc96a6373d9d8cfea9a6 [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
Andy Bavier5d1c3432016-01-05 09:56:05 -050010 sudo MYIP=$(MYIP) docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/common/base.yaml
11 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 -070012
Andy Bavier5144cc02016-01-20 13:18:38 -080013containers:
14 cd ../../../containers/xos; make devel
15 cd ../../../containers/synchronizer; make
16
Scott Bakerd4f59d32015-09-29 23:07:09 -070017common_cloudlab:
18 make -C ../common -f Makefile.cloudlab
Scott Bakera6a43722015-09-30 20:34:05 -070019
Andy Bavierd99c2c02015-12-08 15:30:15 -050020common_devstack:
21 make -C ../common -f Makefile.devstack
22
Scott Bakera6a43722015-09-30 20:34:05 -070023stop:
Andy Bavier5d1c3432016-01-05 09:56:05 -050024 sudo MYIP=$(MYIP) docker-compose stop
Scott Baker764884a2015-10-01 15:45:57 -070025
26showlogs:
Andy Bavier5d1c3432016-01-05 09:56:05 -050027 sudo MYIP=$(MYIP) docker-compose logs
Scott Baker764884a2015-10-01 15:45:57 -070028
Andy Bavier0ef6aad2016-01-06 16:46:40 -050029rm: stop
30 sudo MYIP=$(MYIP) docker-compose rm
31
32ps:
33 sudo MYIP=$(MYIP) docker-compose ps
34
Andy Bavierebbe44f2016-01-08 14:17:43 -050035enter-xos:
36 sudo docker exec -it devel_xos_1 bash
37
38enter-synchronizer:
39 sudo docker exec -it devel_xos_synchronizer_openstack_1 bash
40
Andy Bavier5d1c3432016-01-05 09:56:05 -050041upgrade_pkgs:
42 sudo pip install httpie --upgrade
Scott Bakerfdb653c2016-01-14 16:17:47 -080043
44rebuild_xos:
45 make -C ../../../containers/xos devel
46
Andy Bavier5144cc02016-01-20 13:18:38 -080047rebuild_synchronizer:
Scott Bakerfdb653c2016-01-14 16:17:47 -080048 make -C ../../../containers/synchronizer