Use vca_config and loop options in K8sJujuConnector 50/9850/2
authorDavid Garcia <david.garcia@canonical.com>
Fri, 16 Oct 2020 11:05:34 +0000 (13:05 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 20 Oct 2020 20:32:02 +0000 (22:32 +0200)
This is related to the feature 9751.

Patch 9849 needs to land before.

Change-Id: Ic89a797b74501dc86cbce9cf1b9d9998423656a0
Signed-off-by: David Garcia <david.garcia@canonical.com>
osm_lcm/ns.py
osm_lcm/vim_sdn.py

index 7160b99..a83495a 100644 (file)
@@ -148,7 +148,9 @@ class NsLcm(LcmBase):
             fs=self.fs,
             log=self.logger,
             db=self.db,
+            loop=self.loop,
             on_update_db=None,
+            vca_config=self.vca_config,
         )
 
         self.k8scluster_map = {
index b2a1d74..a5eff36 100644 (file)
@@ -928,7 +928,9 @@ class K8sClusterLcm(LcmBase):
             fs=self.fs,
             log=self.logger,
             db=self.db,
-            on_update_db=None
+            loop=self.loop,
+            on_update_db=None,
+            vca_config=self.vca_config,
         )
         self.k8s_map = {
             "helm-chart": self.helm_k8scluster,