projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feature: helm charts repos with certs
[osm/osmclient.git]
/
osmclient
/
sol005
/
vnfd.py
diff --git
a/osmclient/sol005/vnfd.py
b/osmclient/sol005/vnfd.py
index
3c09707
..
5c8b310
100644
(file)
--- a/
osmclient/sol005/vnfd.py
+++ b/
osmclient/sol005/vnfd.py
@@
-66,9
+66,9
@@
class Vnfd(object):
return vnfd
else:
for vnfd in self.list():
return vnfd
else:
for vnfd in self.list():
- if "
product-name" in vnfd and name == vnfd["product-name
"]:
+ if "
id" in vnfd and name == vnfd["id
"]:
return vnfd
return vnfd
- elif "
name" in vnfd and name == vnfd["
name"]:
+ elif "
product-name" in vnfd and name == vnfd["product-
name"]:
return vnfd
raise NotFound("vnfd {} not found".format(name))
return vnfd
raise NotFound("vnfd {} not found".format(name))