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 d16e2a3c1e
2 changed files with 10 additions and 0 deletions

5
tools/start Executable file
View File

@ -0,0 +1,5 @@
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

5
tools/stop Executable file
View File

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