Merge "Add bmc access method as service parameter"

This commit is contained in:
Zuul 2019-09-18 12:42:22 +00:00 committed by Gerrit Code Review
commit 31bf17481b
3 changed files with 17 additions and 0 deletions

View File

@ -43,6 +43,21 @@ heartbeat_failure_action = <%= @heartbeat_failure_action %>
; system service-parameter-modify platform maintenance mnfa_threshold=<value>
mnfa_threshold = <%= @mnfa_threshold %>
; Board Management Controller (BMC) Access Method
; Controls the access method maintenance uses when communicating with
; provisioned BMCs for power/reset control and sensor monitoring.
; Supported Methods are
; ipmi = use ipmi for bmc communications
; redfish = use redfish for bmc communications
; learn = use redfish if BMC supports it, otherwise use ipmi
; Default is learn
; Changes are automatically detected and handled by maintenance when
; modified through system service parameter CLI command.
; To modify execute:
; system service-parameter-modify platform maintenance bmc_access_method=<method>
; system service-parameter-apply platform
bmc_access_method = <%= @bmc_access_method %>
[timeouts]
worker_boot_timeout = <%= @worker_boot_timeout %> ; The max time (seconds) that Mtce waits for the mtcAlive
controller_boot_timeout = <%= @controller_boot_timeout %> ; message after which it will time out and fail the host.

View File

@ -62,6 +62,7 @@ platform::mtce::agent::params::heartbeat_failure_threshold: 10
platform::mtce::agent::params::heartbeat_degrade_threshold: 6
platform::mtce::agent::params::mnfa_threshold: 2
platform::mtce::agent::params::mnfa_timeout: 0
platform::mtce::agent::params::bmc_access_method: 'learn'
# influxdb configuration for collectd
platform::influxdb::params::bind_address: ':25826'

View File

@ -17,6 +17,7 @@ class platform::mtce::params (
$mtce_multicast = undef,
$mnfa_threshold = 2,
$mnfa_timeout = 0,
$bmc_access_method = 'learn',
$sm_client_port = 2224,
$sm_server_port = 2124,
) { }