summaryrefslogtreecommitdiffstats
path: root/functest/api/urls.py
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-08-21 14:36:49 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-21 14:36:49 +0000
commit9515e36a056ad7f16f39564ae2eeca955054997d (patch)
tree82baae98430e2744e6a11eff7d1dcad65dab3b25 /functest/api/urls.py
parent2cfa22a0d0aa86cee5d77707c2f06ef3c4434a14 (diff)
parent6407e77988ea97b995b095af225660cd38c5b590 (diff)
Merge "Create API to update openrc"
Diffstat (limited to 'functest/api/urls.py')
-rw-r--r--functest/api/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/functest/api/urls.py b/functest/api/urls.py
index 160a3c1d8..f7bcae389 100644
--- a/functest/api/urls.py
+++ b/functest/api/urls.py
@@ -32,6 +32,10 @@ URLPATTERNS = [
# GET /api/v1/functest/openstack/credentials => GET credentials
Url('/api/v1/functest/openstack/credentials', 'v1_creds'),
+ # POST /api/v1/functest/openstack/action
+ # {"action":"update_openrc", "args": {"openrc": {}}} => Update openrc
+ Url('/api/v1/functest/openstack/action', 'v1_creds'),
+
# GET /api/v1/functest/testcases => GET all testcases
Url('/api/v1/functest/testcases', 'v1_test_cases'),