projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bug 2028 Multi-site VNF creation fails
[osm/LCM.git]
/
osm_lcm
/
data_utils
/
vca.py
diff --git
a/osm_lcm/data_utils/vca.py
b/osm_lcm/data_utils/vca.py
index
2116549
..
0e31f35
100644
(file)
--- a/
osm_lcm/data_utils/vca.py
+++ b/
osm_lcm/data_utils/vca.py
@@
-151,7
+151,8
@@
class Relation(dict):
class DeployedComponent(dict):
class DeployedComponent(dict):
- """Represents a deployed component (nsr["_admin"]["deployed"])"""
+ """Represents a deployed component (nsr["_admin"]["deployed"]["VCA" | "K8s"])"""
+
def __init__(self, data: Dict[str, Any]):
"""
Args:
def __init__(self, data: Dict[str, Any]):
"""
Args:
@@
-182,7
+183,7
@@
class DeployedK8sResource(DeployedComponent):
@property
def ee_id(self):
"""Returns the execution environment id"""
@property
def ee_id(self):
"""Returns the execution environment id"""
- model = self["
kdu-instan
ce"]
+ model = self["
namespa
ce"]
application_name = self["resource-name"]
return f"{model}.{application_name}.k8s"
application_name = self["resource-name"]
return f"{model}.{application_name}.k8s"