-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[yang] BGP support autort
in l2vpn address family
#21575
Open
bradh352
wants to merge
1
commit into
sonic-net:master
Choose a base branch
from
bradh352:bradh352/yang-evpn-autort
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+60
−1
Conversation
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
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
bradh352
added a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Jan 30, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
autort
in address familyautort
in l2vpn address family
bradh352
added a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Jan 30, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Jan 31, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Jan 31, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 1, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 1, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 2, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 2, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 3, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 4, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 4, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 5, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 5, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 6, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 6, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 7, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 7, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 8, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 8, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 9, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 9, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 11, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 12, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 12, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 13, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 13, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 14, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 14, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 15, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 15, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 18, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 19, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 19, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
/azp run Azure.sonic-buildimage |
Pull request contains merge conflicts. |
4548029
to
1b756e3
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 20, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 20, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
1b756e3
to
437c033
Compare
/azp run Azure.sonic-buildimage |
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 21, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 21, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 22, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
github-actions bot
pushed a commit
to bradh352/sonic-buildimage
that referenced
this pull request
Feb 22, 2025
`autort` is a supported option in the frr-mgmt-framework as can be seen in https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py#L1830 and https://github.com/sonic-net/sonic-buildimage/blob/3d8c940997c3855b650fc0eea7f9db46546b17ac/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2#L4-L5 However, the yang models do not allow this so when adding this value to `config_db.json` then running `config replace` a validation issue is encountered. This adds yang support and validates the only known valid value of `rfc8365-compatible` is set. Test cases have been updated to validate the behavior. Signed-off-by: Brad House (@bradh352)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I did it
autort
is a supported option in the frr-mgmt-framework as can be seen insonic-buildimage/src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py
Line 1830 in 3d8c940
sonic-buildimage/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.addr_family.evpn.j2
Lines 4 to 5 in 3d8c940
However, the yang models do not allow this so when adding this value to
config_db.json
then runningconfig replace
a validation issue is encountered.Work item tracking
How I did it
This adds yang support and validates the only known valid value of
rfc8365-compatible
is set.How to verify it
Test cases have been updated to validate the behavior.
Which release branch to backport (provide reason below if selected)
Just backport to current stable branch, doesn't appear any one is really using this with yang validation.
Tested branch (Please provide the tested image version)
Master as of 20250130
Description for the changelog
[yang] BGP support
autort
in l2vpn address familyLink to config_db schema for YANG module changes
N/A pre-existing, just adding yang validation
A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Brad House (@bradh352)