vdu:
...
- vca-relations:
+ vca-relationships:
relation:
- provides: dataVM:db
requires: mgmtVM:app
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