Skip to content

Commit 23136e5

Browse files
authored
Introduce new FRR-SONiC communication channel (FPM SONiC module). (#18715)
[FRR FPM] Introduce new FRR-SONiC communication channel (FPM SONiC module). Signed-off-by: Carmine Scarpitta <[email protected]>
1 parent 8756d3c commit 23136e5

File tree

6 files changed

+2310
-2
lines changed

6 files changed

+2310
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ stderr_logfile=syslog
3030
dependent_startup=true
3131

3232
[program:zebra]
33-
command=/usr/lib/frr/zebra -A 127.0.0.1 -s 90000000 -M dplane_fpm_nl -M snmp --asic-offload=notify_on_offload
33+
command=/usr/lib/frr/zebra -A 127.0.0.1 -s 90000000 -M dplane_fpm_sonic -M snmp --asic-offload=notify_on_offload
3434
priority=4
3535
autostart=false
3636
autorestart=false

platform/vs/docker-sonic-vs/supervisord.conf.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ environment=ASAN_OPTIONS="log_path=/var/log/asan/teammgrd-asan.log{{ asan_extra_
164164
{% endif %}
165165

166166
[program:zebra]
167-
command=/usr/lib/frr/zebra -A 127.0.0.1 -s 90000000 -M dplane_fpm_nl --asic-offload=notify_on_offload
167+
command=/usr/lib/frr/zebra -A 127.0.0.1 -s 90000000 -M dplane_fpm_sonic --asic-offload=notify_on_offload
168168
priority=13
169169
autostart=false
170170
autorestart=false

src/sonic-frr/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ MAIN_TARGET = $(FRR)
66
DERIVED_TARGET = $(FRR_PYTHONTOOLS) $(FRR_DBG) $(FRR_SNMP) $(FRR_SNMP_DBG)
77
SUFFIX = $(shell date +%Y%m%d\.%H%M%S)
88
STG_BRANCH = stg_temp.$(SUFFIX)
9+
DPLANE_FPM_SONIC_MODULE = dplane_fpm_sonic/dplane_fpm_sonic.c
910

1011
# DEBEMAIL required by gpb dch
1112
export DEBEMAIL := [email protected]
@@ -20,6 +21,7 @@ endif
2021
stg branch --create $(STG_BRANCH) $(FRR_TAG)
2122
stg import -s ../patch/series
2223
gbp dch --ignore-branch --new-version=$(FRR_VERSION)-sonic-$(FRR_SUBVERSION) --dch-opt="--force-bad-version" --commit --git-author
24+
cp ../$(DPLANE_FPM_SONIC_MODULE) zebra/
2325

2426
ifeq ($(CROSS_BUILD_ENVIRON), y)
2527
CFLAGS="-I $$CROSS_PERL_CORE_PATH" dpkg-buildpackage -rfakeroot -b -d -us -uc -Ppkg.frr.nortrlib -a$(CONFIGURED_ARCH) -Pcross,nocheck -j$(SONIC_CONFIG_MAKE_JOBS) --admindir $(SONIC_DPKG_ADMINDIR)

0 commit comments

Comments
 (0)