Remove the PMON and XCVRD delay on system boot
Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>
This commit is contained in:
parent
b10abaf435
commit
b6ce71b87a
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skip_ledd": true,
|
||||
"skip_fancontrol": true,
|
||||
"delay_xcvrd": true,
|
||||
"delay_xcvrd": false,
|
||||
"skip_xcvrd_cmis_mgr": true
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
{%- set features = [("bgp", "{% if not DEVICE_RUNTIME_METADATA['ETHERNET_PORTS_PRESENT'] or ('CHASSIS_METADATA' in DEVICE_RUNTIME_METADATA and DEVICE_RUNTIME_METADATA['CHASSIS_METADATA']['module_type'] in ['supervisor']) %}disabled{% else %}enabled{% endif %}", false, "enabled"),
|
||||
("database", "always_enabled", false, "always_enabled"),
|
||||
("lldp", "enabled", true, "enabled"),
|
||||
("pmon", "enabled", true, "enabled"),
|
||||
("pmon", "enabled", false, "enabled"),
|
||||
("snmp", "enabled", true, "enabled"),
|
||||
("swss", "enabled", false, "enabled"),
|
||||
("syncd", "enabled", false, "enabled")] %}
|
||||
|
@ -92,18 +92,9 @@ function waitplatform() {
|
||||
|
||||
BOOT_TYPE=`getBootType`
|
||||
if [[ x"$sonic_asic_platform" == x"mellanox" ]]; then
|
||||
if [[ x"$BOOT_TYPE" = @(x"fast"|x"warm"|x"fastfast") ]]; then
|
||||
PMON_TIMER_STATUS=$(systemctl is-active pmon.timer)
|
||||
if [[ x"$PMON_TIMER_STATUS" = x"inactive" ]]; then
|
||||
systemctl start pmon.timer
|
||||
else
|
||||
debug "PMON service is delayed by a timer for better fast/warm boot performance"
|
||||
fi
|
||||
else
|
||||
debug "Starting pmon service..."
|
||||
/bin/systemctl start pmon
|
||||
debug "Started pmon service"
|
||||
fi
|
||||
debug "Starting pmon service..."
|
||||
/bin/systemctl start pmon
|
||||
debug "Started pmon service"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user