-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix a number of VPN/Encap SAFI related issues (no VRF CLI changes) #83
Fix a number of VPN/Encap SAFI related issues (no VRF CLI changes) #83
Conversation
To remove commands duplicated in bgp_mplsvpn/_encap Also until vpn/encap specific show pieces are merged into generic afi/safi show. Signed-off-by: Lou Berger <lberger@labn.net>
Signed-off-by: Lou Berger <lberger@labn.net>
…FRRouting#71) Signed-off-by: Lou Berger <lberger@labn.net>
Also minor show format cleanup Signed-off-by: Lou Berger <lberger@labn.net>
…iguated by RD Signed-off-by: Lou Berger <lberger@labn.net>
…Issue FRRouting#80) Signed-off-by: Lou Berger <lberger@labn.net>
Continous Integration Result: FAILEDSee below for issues. This is a comment from an EXPERIMENTAL automated CI system. Get source and apply patch from patchwork: SuccessfulBuilding Stage: FailedCentOS6 amd64 build: Successful OmniOS amd64 build: FailedOmniOS amd64 build: No useful log found |
Continous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-64/ This is a comment from an EXPERIMENTAL automated CI system. |
Continous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-81/ This is a comment from an EXPERIMENTAL automated CI system. |
(p->family == AF_INET6 || peer_cap_enhe(peer))) || \ | ||
(safi == SAFI_ENCAP && attr->extra->mp_nexthop_len == 16)) | ||
((safi == SAFI_ENCAP || safi != SAFI_MPLS_VPN) &&\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look correct...
(safi == SAFI_ENCAP || safi != SAFI_MPLS_VPN)
The !=
is supposed to be a ==
?
On top of: bgpd: allow VPN next hop to be different AFI than NLRI next hop (Issue FRRouting#71) Signed-off-by: Lou Berger <lberger@labn.net>
Continous Integration Result: FAILEDSee below for issues. This is a comment from an EXPERIMENTAL automated CI system. Get source and apply patch from patchwork: FailedCheckout code: FailedCheckout code: No useful log found |
Continous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-84/ This is a comment from an EXPERIMENTAL automated CI system. |
…ter/patch-set/2a-no-vrf Master version of #83 Fix a number of VPN/Encap SAFI related issues (no VRF CLI changes)
bgp: tolerate route-table-show header changes of FRR PR 2045
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Ensure that the 'show bgp neighbors graceful-restart' command works for peers in a VRF (BGP instance) as well as doesn't require the incorrect AFI parameter. Also, refine the code and the command output such that this is a subset of the 'show bgp neighbors' output for the neighbor, both in the CLI output and in JSON. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Testing Done: 1. Manual test with global and VRF peerings 2. precommit - job FRRouting#82 -- 2 failures are existing failures 3. bgp-min - job FRRouting#83 -- 2 failures are existing failures
Partial replacement for #75 (doesn't include VRF commands):
bgpd: use address-family in show running for vpn&encap (Issue #80)