From d16e2a3c1ea3c696ff7ae6618ae0f94eaa40c450 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 | 5 +++++ tools/stop | 5 +++++ 2 files changed, 10 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..964ede0bbc --- /dev/null +++ b/tools/start @@ -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 diff --git a/tools/stop b/tools/stop new file mode 100755 index 0000000000..452f5152c7 --- /dev/null +++ b/tools/stop @@ -0,0 +1,5 @@ +kubecfg delete /pods/mariadb +kubecfg delete /pods/keystone + +kubecfg delete /services/mariadbmaster +kubecfg delete /services/keystonemaster-5000