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 vnfd validity check
[vfc/gvnfm/vnflcm.git]
/
lcm
/
lcm
/
nf
/
tests
/
const.py
diff --git
a/lcm/lcm/nf/tests/const.py
b/lcm/lcm/nf/tests/const.py
index
8a50fa1
..
2d701a1
100644
(file)
--- a/
lcm/lcm/nf/tests/const.py
+++ b/
lcm/lcm/nf/tests/const.py
@@
-638,10
+638,10
@@
vnfdModel = {
"connectivity_type": {
"layer_protocol": "ipv4",
},
"connectivity_type": {
"layer_protocol": "ipv4",
},
- "dns_nameservers":
"test"
,
- "host_routes":
"test"
,
+ "dns_nameservers":
["test"]
,
+ "host_routes":
[]
,
},
},
- "route_external":
"test",
+ "route_external":
False
}
],
"cps": [
}
],
"cps": [
@@
-1422,7
+1422,16
@@
vnfd_for_scale = {
"description": "",
"vdu_id": "sunshine",
"properties": {
"description": "",
"vdu_id": "sunshine",
"properties": {
- "trunk_mode": "false"
+ "trunk_mode": "false",
+ "protocol_data": [{
+ "address_data": {
+ "address_type": "ip_address",
+ "l3_address_data": {
+ "floating_ip_activated": False,
+ "ip_address_assignment": False
+ }
+ }
+ }]
},
"cp_id": "ext_cp",
"cpd_id": "ext_cp"
},
"cp_id": "ext_cp",
"cpd_id": "ext_cp"