Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add port of SR-IOV NIC support
[vfc/gvnfm/vnflcm.git]
/
lcm
/
lcm
/
samples
/
tests.py
diff --git
a/lcm/lcm/samples/tests.py
b/lcm/lcm/samples/tests.py
index
47e2353
..
42d96b0
100644
(file)
--- a/
lcm/lcm/samples/tests.py
+++ b/
lcm/lcm/samples/tests.py
@@
-154,7
+154,7
@@
inst_res_data = {
"external_cps": [
{
"key_name": "sriov_plane",
"external_cps": [
{
"key_name": "sriov_plane",
- "cp_id": "
SRIOV_P
ort"
+ "cp_id": "
sriov-supp
ort"
}
],
"forward_cps": [
}
],
"forward_cps": [
@@
-215,15
+215,15
@@
inst_res_data = {
},
}
],
},
}
],
- "vnic_type": "
normal
",
+ "vnic_type": "
direct
",
"role": "root",
"virtual_network_interface_requirements": [
{
"role": "root",
"virtual_network_interface_requirements": [
{
- "
requirement
": {
- "
SRIOV": "true"
+ "
network_interface_requirements
": {
+ "
interfaceType": '{"schema-version": "0", "schema-location":"", "platform-id": "generic", "mandatory": false, "configuration-value": "SR-IOV"}'
},
"support_mandatory": False,
},
"support_mandatory": False,
- "name": "sriov",
+ "name": "sriov
-support
",
"description": "sriov"
}
],
"description": "sriov"
}
],