forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dualtor] Disable zebra link-detect for vlan interfaces (sonic-net#17784
) * [dualtor] Disable zebra link-detect for vlan interfaces Signed-off-by: Longxiang Lyu <[email protected]>
- Loading branch information
1 parent
a118a5b
commit b2e9f93
Showing
4 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
src/sonic-config-engine/tests/sample_output/py2/zebra_frr_dualtor.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
! | ||
! =========== Managed by sonic-cfggen DO NOT edit manually! ==================== | ||
! generated by templates/zebra/zebra.conf.j2 using config DB data | ||
! file: zebra.conf | ||
! | ||
! | ||
! Force disable next hop group support | ||
no zebra nexthop kernel enable | ||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages | ||
no fpm use-next-hop-groups | ||
! | ||
fpm address 127.0.0.1 | ||
! | ||
! template: common/daemons.common.conf.j2 | ||
! | ||
hostname switch-t0 | ||
password zebra | ||
enable password zebra | ||
! | ||
log syslog informational | ||
log facility local4 | ||
! | ||
! end of template: common/daemons.common.conf.j2! | ||
! | ||
! | ||
! Enable nht through default route | ||
ip nht resolve-via-default | ||
ipv6 nht resolve-via-default | ||
! Enable link-detect (default disabled) | ||
interface PortChannel03 | ||
link-detect | ||
! | ||
interface PortChannel02 | ||
link-detect | ||
! | ||
interface PortChannel01 | ||
link-detect | ||
! | ||
interface PortChannel04 | ||
link-detect | ||
! | ||
! Disable link-detect on VLAN interfaces for dualtor | ||
interface Vlan2000 | ||
no link-detect | ||
! | ||
interface Vlan1000 | ||
no link-detect | ||
! | ||
!! |
49 changes: 49 additions & 0 deletions
49
src/sonic-config-engine/tests/sample_output/py3/zebra_frr_dualtor.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
! | ||
! =========== Managed by sonic-cfggen DO NOT edit manually! ==================== | ||
! generated by templates/zebra/zebra.conf.j2 using config DB data | ||
! file: zebra.conf | ||
! | ||
! | ||
! Force disable next hop group support | ||
no zebra nexthop kernel enable | ||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages | ||
no fpm use-next-hop-groups | ||
! | ||
fpm address 127.0.0.1 | ||
! | ||
! template: common/daemons.common.conf.j2 | ||
! | ||
hostname switch-t0 | ||
password zebra | ||
enable password zebra | ||
! | ||
log syslog informational | ||
log facility local4 | ||
! | ||
! end of template: common/daemons.common.conf.j2! | ||
! | ||
! | ||
! Enable nht through default route | ||
ip nht resolve-via-default | ||
ipv6 nht resolve-via-default | ||
! Enable link-detect (default disabled) | ||
interface PortChannel01 | ||
link-detect | ||
! | ||
interface PortChannel02 | ||
link-detect | ||
! | ||
interface PortChannel03 | ||
link-detect | ||
! | ||
interface PortChannel04 | ||
link-detect | ||
! | ||
! Disable link-detect on VLAN interfaces for dualtor | ||
interface Vlan1000 | ||
no link-detect | ||
! | ||
interface Vlan2000 | ||
no link-detect | ||
! | ||
!! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters