aboutsummaryrefslogtreecommitdiffstats
path: root/functest/api/swagger/envs_action.yaml
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-11-23 08:55:04 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-23 08:55:04 +0000
commit71ba783c1279370af035ff7cac2de7522e95de78 (patch)
treee5d60fb97657c9204d7f749d059f26530d9594cb /functest/api/swagger/envs_action.yaml
parent01a5192428eb99afcb94047e6faa54e1d57114d1 (diff)
parentd4996440fa16297aee7a925e6357a9cfd42d24f8 (diff)
Merge "Remove prepare_env"
Diffstat (limited to 'functest/api/swagger/envs_action.yaml')
-rw-r--r--functest/api/swagger/envs_action.yaml18
1 files changed, 12 insertions, 6 deletions
diff --git a/functest/api/swagger/envs_action.yaml b/functest/api/swagger/envs_action.yaml
index 1add066ee..46faa6dea 100644
--- a/functest/api/swagger/envs_action.yaml
+++ b/functest/api/swagger/envs_action.yaml
@@ -1,8 +1,7 @@
-Prepare environment or Update hosts info
+Update hosts info
-This api offers the interface to prepare environment or update hosts info.
+This api offers the interface to update hosts info.
-action: prepare
action: update_hosts
---
tags:
@@ -14,11 +13,18 @@ parameters:
schema:
required:
- action
+ - args
properties:
action:
type: string
description: this is action for envs
- default: prepare
+ default: update_hosts
+ args:
+ type: string
+ description: Hosts info to be updated
+ default:
+ "identity.ac.dz.com": "8.20.11.22"
+ "image.ac.dz.com": "8.20.11.22"
definitions:
Environment:
type: object
@@ -29,9 +35,9 @@ definitions:
type: dict
responses:
200:
- description: Prepare environment
+ description: Update hosts info
schema:
$ref: '#/definitions/Environment'
examples:
'status': 0
- 'result': 'Prapare env successfully'
+ 'result': 'Update hosts info successfully' \ No newline at end of file