Andy Bavier | 1e47643 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 1 | .PHONY: xos |
| 2 | xos: nodes.yaml images.yaml |
| 3 | sudo docker-compose up -d |
Andy Bavier | 56c0a1b | 2016-02-01 11:12:20 -0500 | [diff] [blame] | 4 | ../xos/configurations/common/wait_for_xos_port.sh 8000 |
Andy Bavier | 1e47643 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 5 | sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/setup.yaml |
| 6 | sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/nodes.yaml |
| 7 | sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/images.yaml |
Pingping Lin | 67caf75 | 2016-03-04 14:37:02 -0800 | [diff] [blame] | 8 | sudo docker exec containers_xos_1 cp /opt/xos/configurations/frontend/mocks/xos_mcord_config /opt/xos/xos_configuration/ |
Andy Bavier | 1e47643 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 9 | |
| 10 | nodes.yaml: |
| 11 | export SETUPDIR=.; bash ../xos/configurations/common/make-nodes-yaml.sh |
| 12 | |
| 13 | images.yaml: |
| 14 | export SETUPDIR=.; bash ../xos/configurations/common/make-images-yaml.sh |
| 15 | |
| 16 | .PHONY: local_containers |
| 17 | local_containers: |
Pingping Lin | ea12ea7 | 2016-04-01 01:53:19 -0700 | [diff] [blame^] | 18 | cd xos; make devel |
| 19 | cd synchronizer; make |
| 20 | enter-xos: |
| 21 | sudo docker exec -it containers_xos_1 bash |
| 22 | |
| 23 | enter-os: |
| 24 | sudo docker exec -it containers_xos_synchronizer_openstack_1 bash |
| 25 | |
| 26 | enter-mc: |
| 27 | sudo docker exec -it containers_xos_synchronizer_mcordservice1 bash |
| 28 | |
| 29 | upgrade_pkgs: |
| 30 | sudo pip install httpie --upgrade |
| 31 | |
| 32 | rebuild_xos: |
| 33 | make -C xos devel |
| 34 | |
| 35 | rebuild_synchronizer: |
| 36 | make -C synchronizer |
| 37 | |
| 38 | stop: |
| 39 | docker-compose stop |
| 40 | |
| 41 | rm: |
| 42 | docker-compose stop; docker-compose rm |
| 43 | |