diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-08-25 12:14:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-25 12:14:36 +0000 |
commit | 6e1245a7d19d62810fbe5ee1aab248a85fa2bc15 (patch) | |
tree | cb10db703316cf974eafdd0f6596b86ae1af279f /functest/api/urls.py | |
parent | 20f03e5678f7eb2280d8a0c0ec37b18a00a92e3b (diff) | |
parent | 8252374c2f165feea0f407b51deeb31930fb092e (diff) |
Merge "Create API to update hosts info"
Diffstat (limited to 'functest/api/urls.py')
-rw-r--r-- | functest/api/urls.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/functest/api/urls.py b/functest/api/urls.py index f7bcae38..59bf7d51 100644 --- a/functest/api/urls.py +++ b/functest/api/urls.py @@ -25,8 +25,9 @@ URLPATTERNS = [ # GET /api/v1/functest/envs => GET environment Url('/api/v1/functest/envs', 'v1_envs'), - # POST /api/v1/functest/envs/action , {"action":"prepare"} - # => Prepare environment + # POST /api/v1/functest/envs/action + # {"action":"prepare"} => Prepare environment + # {"action":"update_hosts", "args": {}} => Update hosts info Url('/api/v1/functest/envs/action', 'v1_envs'), # GET /api/v1/functest/openstack/credentials => GET credentials |