projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix reference to information model
[osm/N2VC.git]
/
n2vc
/
vnf.py
diff --git
a/n2vc/vnf.py
b/n2vc/vnf.py
index
5a22952
..
74f4d94
100644
(file)
--- a/
n2vc/vnf.py
+++ b/
n2vc/vnf.py
@@
-287,7
+287,7
@@
class N2VC:
vdu:
...
vdu:
...
- vca-relations:
+ vca-relations
hips
:
relation:
- provides: dataVM:db
requires: mgmtVM:app
relation:
- provides: dataVM:db
requires: mgmtVM:app
@@
-341,8
+341,8
@@
class N2VC:
for cfg in configs:
if 'juju' in cfg:
juju = cfg['juju']
for cfg in configs:
if 'juju' in cfg:
juju = cfg['juju']
- if 'vca-relations
' in juju and 'relation' in juju['vca-relation
s']:
- for rel in juju['vca-relations']['relation']:
+ if 'vca-relations
hips' in juju and 'relation' in juju['vca-relationship
s']:
+ for rel in juju['vca-relations
hips
']['relation']:
try:
# get the application name for the provides
try:
# get the application name for the provides