summaryrefslogtreecommitdiffstats
path: root/api/urls.py
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-07-14 03:27:43 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-07-14 05:08:08 +0000
commit74c3ca16d897abc6705eceefb0a737212dbe7f08 (patch)
treecbf7b71fc203c134262b8bcda2566772abddf333 /api/urls.py
parent2ae853c649f03b310527a4c291e839184a69f553 (diff)
Add API(v2) to upload pod file
JIRA: YARDSTICK-723 API: /api/v2/yardstick/pods/action METHOD: POST PARAMS: { 'action': 'upload_pod_file', 'args': { 'file': file, 'environment_id': environment_id } } Change-Id: I5eb065d8b46080a94c989ec9b8217dc54900bd06 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/urls.py b/api/urls.py
index 7fe64b200..be453a651 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -28,4 +28,6 @@ urlpatterns = [
Url('/api/v2/yardstick/environments/openrcs/action', 'v2_openrcs'),
Url('/api/v2/yardstick/environments/openrcs/<openrc_id>', 'v2_openrc'),
+
+ Url('/api/v2/yardstick/pods/action', 'v2_pods'),
]