Disable raise/get/clear NFV alarm to container fm-rest-api

add puppet parameters and write to nfv config file to
disable raise/get/clear NFV alarm to container fm-rest-api service

Story: 2004008
Task: 33573
Depends-On: https://review.opendev.org/#/c/658972/
Change-Id: I3ab37fe476ad083b5c8acca2684973eec30b8005
Signed-off-by: Sun Austin <austin.sun@intel.com>
This commit is contained in:
Sun Austin
2019-06-04 09:13:59 +08:00
parent 4f406285e4
commit 384854568c
4 changed files with 17 additions and 0 deletions

View File

@@ -78,6 +78,11 @@ class NfvPuppet(openstack.OpenstackBasePuppet):
'nfv::vim::vim_webserver_ip': self._get_oam_address(),
'nfv::vim::instance_single_hypervisor': single_hypervisor,
'nfv::vim::sw_mgmt_single_controller': single_controller,
# This flag is used to disable raising alarm to containerized fm
# and will be removed in future.
'nfv::alarm::fault_management_pod_disabled': True,
'nfv::event_log::fault_management_pod_disabled': True,
'nfv::vim::fault_management_pod_disabled': True,
'platform::nfv::params::service_create':
self._to_create_services(),