diff options
author | Tomi Juvonen <tomi.juvonen@nokia.com> | 2019-12-19 13:12:32 +0200 |
---|---|---|
committer | Tomi Juvonen <tomi.juvonen@nokia.com> | 2020-02-03 11:57:44 +0200 |
commit | 34b4083b4d2d579f6dbd334df06fe9394453680a (patch) | |
tree | 3a8e5c8fa447dee8fa4abfdf82f40a3d48e4f112 /doctor_tests/scenario | |
parent | d8eb12f4200c21f569df5bc01d378a846b4c0db0 (diff) |
New VNFM supporting ETSI changes
JIRA: DOCTOR-137
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
Change-Id: I6e632b24efb6728c171dd93979e3b1de5333251b
Diffstat (limited to 'doctor_tests/scenario')
-rw-r--r-- | doctor_tests/scenario/maintenance.py | 8 |
1 files changed, 6 insertions, 2 deletions
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 |