Add API to update pod yaml file 87/36687/2
authorchenjiankun <chenjiankun1@huawei.com>
Thu, 29 Jun 2017 02:42:56 +0000 (02:42 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Thu, 29 Jun 2017 04:18:47 +0000 (04:18 +0000)
commit8996240be14d6f7979a6ae02dd474b03d50e79d9
tree629c776668c7e3b340c99e3e30f3ea4ff011545a
parent832d3e4e449c28438aacba396ba9afa9bbc0d6d2
Add API to update pod yaml file

JIRA: YARDSTICK-693

Apart from API to upload pod yaml file, we also need API to update pod
file.

API: /yardstick/env/action
method: POST
param:
{
    'action': 'update_pod_file',
    'args': {
        'pod': { pod content }
    }
}

Change-Id: I0ba168612ccc2e43c531e4b9253cf72e5c745297
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
api/resources/env_action.py