X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=n2vc%2Fvnf.py;h=74f4d9432d0efdd7b4e508a4429627bab0c8f537;hb=refs%2Ftags%2Fv6.0.0;hp=bb7b871f8e7f9a2de0dc1dfbde29058e030013a7;hpb=e5406c6f652b4248763e114629764633da941650;p=osm%2FN2VC.git diff --git a/n2vc/vnf.py b/n2vc/vnf.py index bb7b871..74f4d94 100644 --- a/n2vc/vnf.py +++ b/n2vc/vnf.py @@ -287,7 +287,7 @@ class N2VC: vdu: ... - vca-relations: + vca-relationships: relation: - provides: dataVM:db requires: mgmtVM:app @@ -341,8 +341,8 @@ class N2VC: for cfg in configs: if 'juju' in cfg: juju = cfg['juju'] - if 'vca-relations' in juju and 'relations' in juju['vca-relations']: - for rel in juju['vca-relations']['relation']: + if 'vca-relationships' in juju and 'relation' in juju['vca-relationships']: + for rel in juju['vca-relationships']['relation']: try: # get the application name for the provides