Fix Bug 1425 NG-RO unable to pin VNF with vim_account config
If vnf vim-accounts has been changed during instantiation,
the binding between new vim-account information and
ns vld is provided through this fix.
Fixing some code format errors
Change-Id: I183c01d284047d5e49b7219eb88e6d85c0e2666c
Signed-off-by: aticig <gulsum.atici@canonical.com>
diff --git a/osm_lcm/data_utils/vca.py b/osm_lcm/data_utils/vca.py
index 2116549..f4235cb 100644
--- a/osm_lcm/data_utils/vca.py
+++ b/osm_lcm/data_utils/vca.py
@@ -123,6 +123,7 @@
class Relation(dict):
"""Represents a relation"""
+
def __init__(self, name, provider: EERelation, requirer: EERelation) -> NoReturn:
"""
Args:
@@ -152,6 +153,7 @@
class DeployedComponent(dict):
"""Represents a deployed component (nsr["_admin"]["deployed"])"""
+
def __init__(self, data: Dict[str, Any]):
"""
Args:
@@ -176,6 +178,7 @@
class DeployedK8sResource(DeployedComponent):
"""Represents a deployed component for a kdu resource"""
+
def __init__(self, data: Dict[str, Any]):
super().__init__(data)
@@ -193,6 +196,7 @@
class DeployedVCA(DeployedComponent):
"""Represents a VCA deployed component"""
+
def __init__(self, nsr_id: str, deployed_vca: Dict[str, Any]) -> NoReturn:
"""
Args: