summaryrefslogtreecommitdiffstats
path: root/pike/vagrant/test/test-extensions.sh
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-07-10 19:22:34 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-07-25 15:39:11 +0800
commit0d3e9ace323660381350a884b08ed92aa2290dbd (patch)
treef5893c82318261da9527714956870cafad85b263 /pike/vagrant/test/test-extensions.sh
parent1ef4d132b8e9bd99ac88fe4bd1a023c97ca58ad9 (diff)
Add Openstack Pike plugin framework
Add Pike framework and one function extension Add Vagrant for test Change-Id: I045ac1f1a920b509a69d7a72f8e60fb108102839 Issue-ID: MULTICLOUD-276 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'pike/vagrant/test/test-extensions.sh')
-rw-r--r--pike/vagrant/test/test-extensions.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/pike/vagrant/test/test-extensions.sh b/pike/vagrant/test/test-extensions.sh
new file mode 100644
index 00000000..82c254a8
--- /dev/null
+++ b/pike/vagrant/test/test-extensions.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -ex
+
+MULTICLOUD_PLUGIN_ENDPOINT=http://172.16.77.40:9007/api/multicloud-pike/v0/openstack-hudson-dc_RegionOne
+curl -v -s -H "Content-Type: application/json" -X GET $MULTICLOUD_PLUGIN_ENDPOINT/extensions
+curl -v -s -H "Content-Type: application/json" -X GET $MULTICLOUD_PLUGIN_ENDPOINT/extensions/epa-caps