From 34b4083b4d2d579f6dbd334df06fe9394453680a Mon Sep 17 00:00:00 2001 From: Tomi Juvonen Date: Thu, 19 Dec 2019 13:12:32 +0200 Subject: New VNFM supporting ETSI changes JIRA: DOCTOR-137 Signed-off-by: Tomi Juvonen Change-Id: I6e632b24efb6728c171dd93979e3b1de5333251b --- doctor_tests/scenario/maintenance.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doctor_tests/scenario') diff --git a/doctor_tests/scenario/maintenance.py b/doctor_tests/scenario/maintenance.py index f5b9b516..e6cdcccd 100644 --- a/doctor_tests/scenario/maintenance.py +++ b/doctor_tests/scenario/maintenance.py @@ -162,8 +162,12 @@ class Maintenance(object): data = {'state': 'MAINTENANCE', 'maintenance_at': maintenance_at, - 'metadata': {'openstack_version': 'Rocky'}, - 'workflow': 'default'} + 'metadata': {'openstack_version': 'Train'}} + + if self.conf.app_manager.type == 'vnfm': + data['workflow'] = 'vnf' + else: + data['workflow'] = 'default' if self.conf.admin_tool.type == 'sample': data['hosts'] = maintenance_hosts -- cgit 1.2.3-korg