You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
admin@vlab-01:~$ show run bgp | grep "listen range"
bgp listen range 10.255.0.0/25 peer-group BGPSLBPassive
bgp listen range 192.168.0.0/21 peer-group BGPVac
bgp listen range 192.169.0.0/21 peer-group test2
Describe the results you received:
See above.
Describe the results you expected:
In GCU test, syslog will report error:
Mar 28 07:45:54.686979 vlab-01 ERR bgp#bgpcfgd: command execution returned 13. Command: '['vtysh', '-f', '/tmp/tmp5d_n7k5w']', stdout: '% Same listen range is attached to peer-group BGPSLBPassive#012', stderr: 'line 37: Failure to communicate[13] to bgpd, line: bgp listen range 192.168.0.0/21 peer-group BGPVac#012#012'
Mar 28 07:45:54.686979 vlab-01 ERR bgp#bgpcfgd: ConfigMgr::commit(): can't push configuration from file='/tmp/tmp5d_n7k5w', rc='13', stdout='% Same listen range is attached to peer-group BGPSLBPassive#012', stderr='line 37: Failure to communicate[13] to bgpd, line: bgp listen range 192.168.0.0/21 peer-group BGPVac#012#012'
Yang should restrict ip_range to make it exclusive.
Output of show version:
(paste your output here)
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
It is not an issue for GCU now as we have a fix ourselves. sonic-net/sonic-utilities#2145
We keep this issue open to see if we can have yang extension support.
@praveen-li This is to track sonic yang extension issue, which is similar to unique lane yang extension. Currently the validator is hardcoded as python function validate_bgp_peer_group.
zhangyanzhao
changed the title
[yang] sonic-bgp-peerrange.yang same ip_range is not allowed
[yang] sonic-bgp-peerrange.yang same ip_range is not allowed - sonic yang extension
Mar 9, 2023
Description
ip_range in sonic-bgp-peerrange.yang is not allowed.
Steps to reproduce the issue:
Describe the results you received:
See above.
Describe the results you expected:
In GCU test, syslog will report error:
Yang should restrict ip_range to make it exclusive.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: