Skip to content

Commit 6b28704

Browse files
committed
Revert "Support snmp on FRR for LNOS"
This reverts commit 4ed334d. Conflicts: dockers/docker-fpm-frr/daemons.conf src/sonic-frr/frr
1 parent 15f1a49 commit 6b28704

File tree

7 files changed

+3
-15
lines changed

7 files changed

+3
-15
lines changed

dockers/docker-fpm-frr/Dockerfile.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ COPY ["start.sh", "config.sh", "/usr/bin/"]
4141
COPY ["daemons", "/etc/frr/"]
4242
COPY ["daemons.conf", "/etc/frr/"]
4343
COPY ["vtysh.conf", "/etc/frr/"]
44-
COPY ["snmp.conf", "/etc/snmp/frr.conf"]
4544

4645
ENTRYPOINT /usr/bin/config.sh \
4746
&& /usr/bin/start.sh \

dockers/docker-fpm-frr/daemons.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Check /etc/pam.d/frr if you intend to use "vtysh"!
55
#
66
vtysh_enable=yes
7-
zebra_options=" -s 90000000 --daemon -K 30 -A 127.0.0.1 -M fpm -M snmp"
8-
bgpd_options=" --daemon -A 127.0.0.1 -M snmp"
7+
zebra_options=" -s 90000000 --daemon -K 30 -A 127.0.0.1 -M fpm"
8+
bgpd_options=" --daemon -A 127.0.0.1"
99
ospfd_options=" --daemon -A 127.0.0.1"
1010
ospf6d_options=" --daemon -A ::1"
1111
ripd_options=" --daemon -A 127.0.0.1"

dockers/docker-fpm-frr/frr.conf.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ hostname {{ DEVICE_METADATA['localhost']['hostname'] }}
1111
password zebra
1212
log syslog informational
1313
log facility local4
14-
agentx
1514
! enable password {# {{ en_passwd }} TODO: param needed #}
1615
{% endblock system_init %}
1716
!

dockers/docker-snmp-sv2/snmpd.conf.j2

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,6 @@ load 12 10 5
118118
#
119119
# Run as an AgentX master agent
120120
master agentx
121-
# internal socket to allow extension to other docker containers
122-
# Currently the other container using this is docker-fpm-frr
123-
# make sure this line matches bgp:/etc/snmp/frr.conf
124-
# please see testing procedure in the same file to verify this works
125-
# to verify the SNMP docker side look for the following string in the log file:
126-
# INFO snmp-subagent [ax_interface] INFO: Using agentx socket type tcp with path tcp:localhost:3161
127-
# INFO supervisord snmp-subagent INFO:ax_interface:Using agentx socket type tcp with path tcp:localhost:3161
128-
agentxsocket tcp:localhost:3161
129121

130122
#
131123
# SysDescription pass-through

rules/frr.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export FRR_VERSION
55

66
FRR = frr_$(FRR_VERSION)-1~sonic.debian8+1_amd64.deb
77
$(FRR)_DEPENDS += $(LIBSNMP_DEV)
8-
$(FRR)_RDEPENDS += $(LIBSNMP)
98
$(FRR)_SRC_PATH = $(SRC_PATH)/sonic-frr
109
SONIC_MAKE_DEBS += $(FRR)
1110

src/sonic-config-engine/tests/sample_output/frr.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ hostname switch-t0
88
password zebra
99
log syslog informational
1010
log facility local4
11-
agentx
1211
! enable password !
1312
! Enable link-detect (default disabled)
1413
interface PortChannel01

src/sonic-frr/frr

Submodule frr updated from bc6c661 to f4076eb

0 commit comments

Comments
 (0)