Skip to content

Commit

Permalink
add parameter -P 0 in 202411 (sonic-net#21795)
Browse files Browse the repository at this point in the history
[202411] Disabling ports by adding parameter ‘-P 0’
  • Loading branch information
yyynini authored Feb 20, 2025
1 parent 2975851 commit bfb2278
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dockers/docker-fpm-frr/frr/supervisord/supervisord.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ stderr_logfile=syslog
dependent_startup=true

[program:mgmtd]
command=/usr/lib/frr/mgmtd -A 127.0.0.1
command=/usr/lib/frr/mgmtd -A 127.0.0.1 -P 0
priority=4
autostart=false
autorestart=true
Expand Down Expand Up @@ -63,7 +63,7 @@ dependent_startup=true
dependent_startup_wait_for=zebra:running

[program:staticd]
command=/usr/lib/frr/staticd -A 127.0.0.1
command=/usr/lib/frr/staticd -A 127.0.0.1 -P 0
priority=4
autostart=false
autorestart=false
Expand All @@ -75,7 +75,7 @@ dependent_startup_wait_for=zsocket:exited

{% if DEVICE_METADATA.localhost.frr_mgmt_framework_config is defined and DEVICE_METADATA.localhost.frr_mgmt_framework_config == "true" %}
[program:bfdd]
command=/usr/lib/frr/bfdd -A 127.0.0.1
command=/usr/lib/frr/bfdd -A 127.0.0.1 -P 0
priority=4
stopsignal=KILL
autostart=false
Expand All @@ -89,9 +89,9 @@ dependent_startup_wait_for=zebra:running

[program:bgpd]
{% if FEATURE is defined and FEATURE.bmp is defined and FEATURE.bmp.state is defined and FEATURE.bmp.state == "enabled" %}
command=/usr/lib/frr/bgpd -A 127.0.0.1 -M snmp -M bmp
command=/usr/lib/frr/bgpd -A 127.0.0.1 -P 0 -M snmp -M bmp
{% else %}
command=/usr/lib/frr/bgpd -A 127.0.0.1 -M snmp
command=/usr/lib/frr/bgpd -A 127.0.0.1 -P 0 -M snmp
{% endif %}
priority=5
stopsignal=KILL
Expand All @@ -105,7 +105,7 @@ dependent_startup_wait_for=zsocket:exited

{% if DEVICE_METADATA.localhost.frr_mgmt_framework_config is defined and DEVICE_METADATA.localhost.frr_mgmt_framework_config == "true" %}
[program:ospfd]
command=/usr/lib/frr/ospfd -A 127.0.0.1 -M snmp
command=/usr/lib/frr/ospfd -A 127.0.0.1 -P 0 -M snmp
priority=5
stopsignal=KILL
autostart=false
Expand All @@ -117,7 +117,7 @@ dependent_startup=true
dependent_startup_wait_for=zebra:running

[program:pimd]
command=/usr/lib/frr/pimd -A 127.0.0.1
command=/usr/lib/frr/pimd -A 127.0.0.1 -P 0
priority=5
stopsignal=KILL
autostart=false
Expand Down Expand Up @@ -211,7 +211,7 @@ dependent_startup_wait_for=bgpd:running

{% if DEVICE_METADATA.localhost.frr_mgmt_framework_config is defined and DEVICE_METADATA.localhost.frr_mgmt_framework_config == "true" %}
[program:pathd]
command=/usr/lib/frr/pathd -A 127.0.0.1
command=/usr/lib/frr/pathd -A 127.0.0.1 -P 0
priority=5
stopsignal=KILL
autostart=false
Expand Down

0 comments on commit bfb2278

Please sign in to comment.