diff options
author | rexlee8776 <limingjiang@huawei.com> | 2017-06-05 20:31:02 +0000 |
---|---|---|
committer | rexlee8776 <limingjiang@huawei.com> | 2017-06-25 13:59:54 +0000 |
commit | 62e417c18464f9d9f6bcad31b61ecdc18180812a (patch) | |
tree | 48b7f353adb3770d4f81f20d4b31772b4966fba8 /api/__init__.py | |
parent | 3ca356db275f543bcbbb39701207a0faa2e29e02 (diff) |
Add API to update hosts info about SUT
JIRA: YARDSTICK-674
For some SUT which use domain name as endpoint and AUTH_URL, yardstick
restAPI should support to add "ip domain_name" info into /etc/hosts so
that it can use the ip_address to access the SUT.
api: /yardstick/env/action
description: update hosts info for domain name
method: POST
parameters:
{
"action": "update_hosts",
"args": {"opnfv.org": "1.1.1.1",
"openstack.org": "2.2.2.2"
}
}
Change-Id: Iaca9c846f02b1d53e2408d6a21f9201b599717d4
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'api/__init__.py')
0 files changed, 0 insertions, 0 deletions