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 |
Andy Bavier | 5d1c343 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 10 | 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 Baker | d4f59d3 | 2015-09-29 23:07:09 -0700 | [diff] [blame] | 12 | |
Andy Bavier | 5144cc0 | 2016-01-20 13:18:38 -0800 | [diff] [blame] | 13 | containers: |
| 14 | cd ../../../containers/xos; make devel |
| 15 | cd ../../../containers/synchronizer; make |
| 16 | |
Scott Baker | d4f59d3 | 2015-09-29 23:07:09 -0700 | [diff] [blame] | 17 | common_cloudlab: |
| 18 | make -C ../common -f Makefile.cloudlab |
Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 19 | |
Andy Bavier | d99c2c0 | 2015-12-08 15:30:15 -0500 | [diff] [blame] | 20 | common_devstack: |
| 21 | make -C ../common -f Makefile.devstack |
| 22 | |
Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 23 | stop: |
Andy Bavier | 5d1c343 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 24 | sudo MYIP=$(MYIP) docker-compose stop |
Scott Baker | 764884a | 2015-10-01 15:45:57 -0700 | [diff] [blame] | 25 | |
| 26 | showlogs: |
Andy Bavier | 5d1c343 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 27 | sudo MYIP=$(MYIP) docker-compose logs |
Scott Baker | 764884a | 2015-10-01 15:45:57 -0700 | [diff] [blame] | 28 | |
Andy Bavier | 0ef6aad | 2016-01-06 16:46:40 -0500 | [diff] [blame] | 29 | rm: stop |
| 30 | sudo MYIP=$(MYIP) docker-compose rm |
| 31 | |
| 32 | ps: |
| 33 | sudo MYIP=$(MYIP) docker-compose ps |
| 34 | |
Andy Bavier | ebbe44f | 2016-01-08 14:17:43 -0500 | [diff] [blame] | 35 | enter-xos: |
| 36 | sudo docker exec -it devel_xos_1 bash |
| 37 | |
| 38 | enter-synchronizer: |
| 39 | sudo docker exec -it devel_xos_synchronizer_openstack_1 bash |
| 40 | |
Andy Bavier | 5d1c343 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 41 | upgrade_pkgs: |
| 42 | sudo pip install httpie --upgrade |
Scott Baker | fdb653c | 2016-01-14 16:17:47 -0800 | [diff] [blame] | 43 | |
| 44 | rebuild_xos: |
| 45 | make -C ../../../containers/xos devel |
| 46 | |
Andy Bavier | 5144cc0 | 2016-01-20 13:18:38 -0800 | [diff] [blame] | 47 | rebuild_synchronizer: |
Scott Baker | fdb653c | 2016-01-14 16:17:47 -0800 | [diff] [blame] | 48 | make -C ../../../containers/synchronizer |