X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=n2vc%2Fvnf.py;h=74f4d9432d0efdd7b4e508a4429627bab0c8f537;hb=refs%2Ftags%2Fv6.0.0;hp=5a229529df435cc146b68bcd583e3f25cf5743fb;hpb=34cc6609cad010420aee843c15c0ded8fa608835;p=osm%2FN2VC.git diff --git a/n2vc/vnf.py b/n2vc/vnf.py index 5a22952..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 'relation' 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