projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VNFs with only VLDs compatibility
[osm/LCM.git]
/
osm_lcm
/
ROclient.py
diff --git
a/osm_lcm/ROclient.py
b/osm_lcm/ROclient.py
index
ec31b39
..
d0bef33
100644
(file)
--- a/
osm_lcm/ROclient.py
+++ b/
osm_lcm/ROclient.py
@@
-103,8
+103,8
@@
class ROClient:
'ns': 'instances'}
mandatory_for_create = {
'tenant': ("name", ),
'ns': 'instances'}
mandatory_for_create = {
'tenant': ("name", ),
- 'vnfd': ("name", "id"
, "connection-point", "vdu"
),
- 'nsd': ("name", "id"
, "constituent-vnfd"
),
+ 'vnfd': ("name", "id"),
+ 'nsd': ("name", "id"),
'ns': ("name", "scenario", "datacenter"),
'vim': ("name", "vim_url"),
'vim_account': (),
'ns': ("name", "scenario", "datacenter"),
'vim': ("name", "vim_url"),
'vim_account': (),
@@
-353,7
+353,7
@@
class ROClient:
"""
ns_info = {}
for vnf in ns_descriptor["vnfs"]:
"""
ns_info = {}
for vnf in ns_descriptor["vnfs"]:
- if not vnf.get("ip_address"):
+ if not vnf.get("ip_address")
and vnf.get("vms")
:
raise ROClientException("ns member_vnf_index '{}' has no IP address".format(
vnf["member_vnf_index"]), http_code=409)
vnfr_info = {
raise ROClientException("ns member_vnf_index '{}' has no IP address".format(
vnf["member_vnf_index"]), http_code=409)
vnfr_info = {