Code Review
/
vfc
/
nfvo
/
driver
/
vnfm
/
svnfm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Change: add OPEN-O seed code for VF-C
[vfc/nfvo/driver/vnfm/svnfm.git]
/
huawei
/
vnfmadapter
/
VnfmadapterService
/
service
/
src
/
integration-test
/
resources
/
vnfmadapter
/
testcase
/
vnfresourceroa
/
grantvnfresourcesuccess.json
1
{
2
"request": {
3
"uri": "/rest/vnfmmed/csm/v2/vapps/instances/123456/grant",
4
"method": "put",
5
"headers": {
6
"Content-Type": "application/json;charset=UTF-8"
7
},
8
"json": {
9
"grant": {
10
"vnf_id":"",
11
"project_id": "",
12
"type": "instantiation",
13
"oparetion_right": "increase",
14
"vnf_name": "",
15
"vm_list": [{
16
"vm_flavor": {
17
"vdu_name": "OMU_VDU",
18
"location": "",
19
"num_cpus": "",
20
"mem_size": "",
21
"proirity": "",
22
"storage": [{
23
"vol_type": "network_storage",
24
"vol_size": "512"
25
}]
26
},
27
"init_number": ""
28
}]
29
}
30
}
31
},
32
"response": {
33
"status": 200,
34
"json": {
35
"grant": {
36
"vim_id": "",
37
"vnf_id": ""
38
}
39
}
40
}
41
}