Scott Baker | d4f59d3 | 2015-09-29 23:07:09 -0700 | [diff] [blame] | 1 | MYIP:=$(shell hostname -i) |
| 2 | |
Andy Bavier | d99c2c0 | 2015-12-08 15:30:15 -0500 | [diff] [blame] | 3 | cloudlab: common_cloudlab xos |
| 4 | |
Andy Bavier | adcb9e8 | 2016-01-11 14:18:44 -0500 | [diff] [blame] | 5 | devstack: upgrade_pkgs common_devstack xos |
Andy Bavier | d99c2c0 | 2015-12-08 15:30:15 -0500 | [diff] [blame] | 6 | |
| 7 | xos: |
Andy Bavier | 5d1c343 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 8 | sudo MYIP=$(MYIP) docker-compose up -d |
Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 9 | bash ../common/wait_for_xos.sh |
Scott Baker | 3377483 | 2016-04-25 20:20:59 -0700 | [diff] [blame] | 10 | sudo docker-compose run xos python /opt/xos/tosca/run.py none /opt/xos/configurations/common/fixtures.yaml |
Scott Baker | 0e09282 | 2016-04-26 15:01:45 -0700 | [diff] [blame] | 11 | 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 Bavier | 5d1c343 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 13 | sudo MYIP=$(MYIP) docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/nodes.yaml |
Scott Baker | d4f59d3 | 2015-09-29 23:07:09 -0700 | [diff] [blame] | 14 | |
Andy Bavier | 5144cc0 | 2016-01-20 13:18:38 -0800 | [diff] [blame] | 15 | containers: |
| 16 | cd ../../../containers/xos; make devel |
| 17 | cd ../../../containers/synchronizer; make |
| 18 | |
Scott Baker | d4f59d3 | 2015-09-29 23:07:09 -0700 | [diff] [blame] | 19 | common_cloudlab: |
| 20 | make -C ../common -f Makefile.cloudlab |
Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 21 | |
Andy Bavier | d99c2c0 | 2015-12-08 15:30:15 -0500 | [diff] [blame] | 22 | common_devstack: |
| 23 | make -C ../common -f Makefile.devstack |
| 24 | |
Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 25 | stop: |
Andy Bavier | 5d1c343 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 26 | sudo MYIP=$(MYIP) docker-compose stop |
Scott Baker | 764884a | 2015-10-01 15:45:57 -0700 | [diff] [blame] | 27 | |
| 28 | showlogs: |
Andy Bavier | 5d1c343 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 29 | sudo MYIP=$(MYIP) docker-compose logs |
Scott Baker | 764884a | 2015-10-01 15:45:57 -0700 | [diff] [blame] | 30 | |
Andy Bavier | 0ef6aad | 2016-01-06 16:46:40 -0500 | [diff] [blame] | 31 | rm: stop |
| 32 | sudo MYIP=$(MYIP) docker-compose rm |
| 33 | |
| 34 | ps: |
| 35 | sudo MYIP=$(MYIP) docker-compose ps |
| 36 | |
Andy Bavier | ebbe44f | 2016-01-08 14:17:43 -0500 | [diff] [blame] | 37 | enter-xos: |
| 38 | sudo docker exec -it devel_xos_1 bash |
| 39 | |
| 40 | enter-synchronizer: |
| 41 | sudo docker exec -it devel_xos_synchronizer_openstack_1 bash |
| 42 | |
Andy Bavier | 5d1c343 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 43 | upgrade_pkgs: |
| 44 | sudo pip install httpie --upgrade |
Scott Baker | fdb653c | 2016-01-14 16:17:47 -0800 | [diff] [blame] | 45 | |
| 46 | rebuild_xos: |
| 47 | make -C ../../../containers/xos devel |
| 48 | |
Andy Bavier | 5144cc0 | 2016-01-20 13:18:38 -0800 | [diff] [blame] | 49 | rebuild_synchronizer: |
Scott Baker | fdb653c | 2016-01-14 16:17:47 -0800 | [diff] [blame] | 50 | make -C ../../../containers/synchronizer |