summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/testcase/vnfresourceroa/grantvnfresourcesuccess.json
blob: 4e2c3cefaa973e3a797b7e1336be5cab7df3df4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
    "request": {
        "uri": "/rest/vnfmmed/csm/v2/vapps/instances/123456/grant",
        "method": "put",
        "headers": {
            "Content-Type": "application/json;charset=UTF-8"
        },
        "json": {
            "grant": {
                "vnf_id":"",
                "project_id": "",
                "type": "instantiation",
                "oparetion_right": "increase",
                "vnf_name": "",
                "vm_list": [{
                       "vm_flavor": {
                              "vdu_name": "OMU_VDU",
                              "location": "",
                              "num_cpus": "",
                              "mem_size": "",
                              "proirity": "",
                              "storage": [{
                                   "vol_type": "network_storage",
                                   "vol_size": "512"
                              }]
                       },
                       "init_number": ""
                }]
            }
        }        
    },
    "response": {
        "status": 200,
        "json": {
              "grant": {
                  "vim_id": "",
                  "vnf_id": ""
              }
        }
    }
}