X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fn2vc_juju_conn.py;h=f57b0081ea32426cac48859da42a9a3cd27f7452;hp=c6c98901d85ef5cb89cd4120766d232bdc92e71a;hb=0860cf343cea210dd09e2a5e7f1f43e59a0ad4a6;hpb=2f2832cc214c058d3fce343cdd459ccddd770dad diff --git a/n2vc/n2vc_juju_conn.py b/n2vc/n2vc_juju_conn.py index c6c9890..f57b008 100644 --- a/n2vc/n2vc_juju_conn.py +++ b/n2vc/n2vc_juju_conn.py @@ -168,6 +168,7 @@ class N2VCJujuConnector(N2VCConnector): else: self.apt_mirror = None + self.cloud = vca_config.get('cloud') self.log.debug('Arguments have been checked') # juju data @@ -1166,7 +1167,8 @@ class N2VCJujuConnector(N2VCConnector): model = await self.controller.add_model( model_name=model_name, - config=config_dict + config=config_dict, + cloud_name=self.cloud, ) self.log.info('New model created, name={}'.format(model_name)) else: