From 2204cb4063508bdf7764cef600cfb031ae2db80b Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sat, 27 Sep 2014 13:29:36 -0700 Subject: [PATCH] Add a start and stop command Start communicates with kubecfg to start the OpenStack services. Stop communicates with kubecfg to stpo the OpenStack services. --- tools/start | 6 ++++++ tools/stop | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100755 tools/start create mode 100755 tools/stop diff --git a/tools/start b/tools/start new file mode 100755 index 0000000000..718e338475 --- /dev/null +++ b/tools/start @@ -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 diff --git a/tools/stop b/tools/stop new file mode 100755 index 0000000000..0d7f994958 --- /dev/null +++ b/tools/stop @@ -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