Mtce: Change SM Port scope to handle AIO config.

The mtc.ini file is updated a second time in AIO config.
Due to the scope of the SM ports being for controller only
and no defaults we see the sm port assignments missing in
AIO configs.

This update defaults the SM port numbers and changes the scope
of the parameters so that they get set on all node types for
all system types.

Testing included provisioning an AIO system.

Change-Id: Ib53921c4b59a9e67ed136a03504bdf0775de6dff
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
This commit is contained in:
Eric MacDonald 2018-11-05 20:32:33 -05:00
parent 537414bd6c
commit 1813918cf4
4 changed files with 6 additions and 5 deletions

View File

@ -1,2 +1,2 @@
SRC_DIR="src"
TIS_PATCH_VER=70
TIS_PATCH_VER=71

View File

@ -54,8 +54,6 @@ 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::params::sm_server_port: 2124
platform::mtce::params::sm_client_port: 2224
# influxdb configuration for collectd
platform::influxdb::params::bind_address: ':25826'

View File

@ -11,6 +11,9 @@ platform::params::security_feature: nopti nospectre_v2
platform::amqp::auth_user: guest
platform::users::params::wrsroot_password_max_age: 45
# mtce
platform::mtce::params::sm_server_port: 2124
platform::mtce::params::sm_client_port: 2224
# sysinv
sysinv::database_idle_timeout: 60

View File

@ -17,8 +17,8 @@ class platform::mtce::params (
$mtce_multicast = undef,
$mnfa_threshold = undef,
$mnfa_timeout = undef,
$sm_client_port = undef,
$sm_server_port = undef,
$sm_client_port = 2224,
$sm_server_port = 2124,
) { }