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.
frr-mgmt-framework: admin_status should be up/down but true/false inc…
…orrectly wanted (PR sonic-net#21055) As seen in src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.nbr_af.j2 and src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.nbr_or_peer.j2 and src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py The script checks for true/false not up/down. However the yang models use stypes:admin_status and not boolean. There are test cases spread around that all depend on up/down for these values and this appears to be simply an issue with the newer frr-mgmt-framework code introduce in 2021. Signed-off-by: Brad House (@bradh352)
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 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
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
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