X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fvnf.py;h=11ce3c82cc1a1dad5f9cc9cc0bf6c0e60d194723;hp=0d9530e01b91e3b84c90549f9036451b3cbcbfcc;hb=8bf1041b5ce6398f9997aeb3564dfbe7e732bf0c;hpb=c92163f142d07c6bb213354398d9befd70efaacd diff --git a/n2vc/vnf.py b/n2vc/vnf.py index 0d9530e..11ce3c8 100644 --- a/n2vc/vnf.py +++ b/n2vc/vnf.py @@ -457,8 +457,8 @@ class N2VC: if all(k in machine_spec for k in ['host', 'user']): # Enlist an existing machine as a Juju unit machine = await model.add_machine(spec='ssh:{}@{}:{}'.format( - machine_spec['user'], - machine_spec['host'], + machine_spec['username'], + machine_spec['hostname'], self.GetPrivateKeyPath(), )) to = machine.id