Add API(v2) to upload pod file 55/37455/2
authorchenjiankun <chenjiankun1@huawei.com>
Fri, 14 Jul 2017 03:27:43 +0000 (03:27 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Fri, 14 Jul 2017 05:08:08 +0000 (05:08 +0000)
commit74c3ca16d897abc6705eceefb0a737212dbe7f08
treecbf7b71fc203c134262b8bcda2566772abddf333
parent2ae853c649f03b310527a4c291e839184a69f553
Add API(v2) to upload pod file

JIRA: YARDSTICK-723

API: /api/v2/yardstick/pods/action
METHOD: POST
PARAMS:
{
    'action': 'upload_pod_file',
    'args': {
        'file': file,
        'environment_id': environment_id
    }
}

Change-Id: I5eb065d8b46080a94c989ec9b8217dc54900bd06
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
api/resources/v2/pods.py [new file with mode: 0644]
api/urls.py