diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-07-14 01:01:19 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-07-14 04:22:03 +0000 |
commit | 0da3e8ad7c1374b3d0c25bd12b75b2e3b04688b0 (patch) | |
tree | 1537def072f9fb5caa22b9e90c43d32bcd06b538 /api/resources/v2/__init__.py | |
parent | 1a83219677fd0ce48f59e09f5a787d8296ba9261 (diff) |
Add API(v2) to update openrc
JIRA: YARDSTICK-720
API: /api/v2/yardstick/environments/openrcs/action
METHOD: POST
PARAMS:
{
'action': 'update_openrc',
'args': {
'openrc': {
"EXTERNAL_NETWORK": "ext-net",
"OS_AUTH_URL": "http://192.168.23.51:5000/v3",
"OS_IDENTITY_API_VERSION": "3",
"OS_IMAGE_API_VERSION": "2",
"OS_PASSWORD": "console",
"OS_PROJECT_DOMAIN_NAME": "default",
"OS_PROJECT_NAME": "admin",
"OS_TENANT_NAME": "admin",
"OS_USERNAME": "admin",
"OS_USER_DOMAIN_NAME": "default"
},
'environment_id': environment_id
}
}
Change-Id: Ie9a1614190a01456fd0896f0bdfd05f9d0724fc6
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'api/resources/v2/__init__.py')
0 files changed, 0 insertions, 0 deletions