Add a start and stop command

Start communicates with kubecfg to start the OpenStack services.
Stop communicates with kubecfg to stpo the OpenStack services.
This commit is contained in:
Steven Dake 2014-09-27 13:29:36 -07:00
parent cca017d44c
commit 2204cb4063
2 changed files with 12 additions and 0 deletions

6
tools/start Executable file
View File

@ -0,0 +1,6 @@
kubecfg -c ../docker/mariadb/mariadb.json create pods
kubecfg -c ../docker/keystone/keystone.json create pods
kubecfg -c ../docker/mariadb/mariadb-service.json create services
kubecfg -c ../docker/keystone/keystone-service-5000.json create services
kubecfg -c ../docker/keystone/keystone-service-35357.json create services

6
tools/stop Executable file
View File

@ -0,0 +1,6 @@
kubecfg delete /pods/mariadb
kubecfg delete /pods/keystone
kubecfg delete /services/mariadbmaster
kubecfg delete /services/keystonemaster-5000
kubecfg delete /services/keystonemaster-35357