X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwlaunchpad%2Fra%2Fpytest%2Ftest_failover.py;h=e952b698703a99a9bca12c3fcc550a41290441f8;hb=4f810f24007e506d87a0f17886ada38d0f82c554;hp=40dd7d0c7530104af599d03242396efa88b35ec2;hpb=49868d2c71eb364cee9707515be6841a568dad40;p=osm%2FSO.git diff --git a/rwlaunchpad/ra/pytest/test_failover.py b/rwlaunchpad/ra/pytest/test_failover.py index 40dd7d0c..e952b698 100755 --- a/rwlaunchpad/ra/pytest/test_failover.py +++ b/rwlaunchpad/ra/pytest/test_failover.py @@ -27,7 +27,7 @@ import argparse import subprocess import gi -from gi.repository import RwVnfdYang +from gi.repository import RwProjectVnfdYang as RwVnfdYang from gi.repository import RwVnfrYang import rift.auto.proxy @@ -60,7 +60,7 @@ def yield_vnfd_vnfr_pairs(proxy, nsr=None): if vnfr.id not in const_vnfr_ids: continue - vnfd = get_vnfd(vnfr.vnfd_ref) + vnfd = get_vnfd(vnfr.vnfd.id) yield vnfd, vnfr def check_configuration_on_standby(standby_ip):