Skip to content
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

bgpd: When static default route is present in RIB and advertised to p… #6184

Merged
merged 1 commit into from
Apr 23, 2020

Conversation

kssoman
Copy link
Contributor

@kssoman kssoman commented Apr 8, 2020

…eer,

  configuring default-originate results in deletion of default route

  The fix is to delete the adj-out entry for the previously advertised
  static default route without sending withdraw message and then
  advertise default route with the attribute BGP_ORIGIN_IGP
  Checks are added in bgp_adj_out_unset_subgroup() and
  subgroup_announce_table() to verify if default originate is enabled
  and suppress the explicit withdraw message which causes default route
  deletion in the peer router.

Signed-off-by: kssoman somanks@gmail.com

@polychaeta polychaeta added the bgp label Apr 8, 2020
Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution to FRR!

  • One of your commits does not have a blank line between the summary and body; this will break git log --oneline
Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/c74d5f87058e5224aa073bd3b79a91fb/raw/8809ae410a57ea0094e63c9a86bec1312758d3d8/cr_6184_1586349266.diff | git apply

diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index 3063b0ff3..4dd118f67 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -536,9 +536,8 @@ void bgp_adj_out_unset_subgroup(struct bgp_node *rn,
 		/* If default originate is enabled and the route is default
 		 * route, do not send withdraw
 		 */
-		if (CHECK_FLAG(subgrp->sflags,
-			       SUBGRP_STATUS_DEFAULT_ORIGINATE) &&
-		    is_default_prefix(&rn->p))
+		if (CHECK_FLAG(subgrp->sflags, SUBGRP_STATUS_DEFAULT_ORIGINATE)
+		    && is_default_prefix(&rn->p))
 			return;
 
 		if (adj->attr && withdraw) {
@@ -650,9 +649,9 @@ void subgroup_announce_table(struct update_subgroup *subgrp,
 					 * withdraw
 					 */
 					if (CHECK_FLAG(
-						peer->af_flags[afi][safi],
-						PEER_FLAG_DEFAULT_ORIGINATE) &&
-						is_default_prefix(&rn->p))
+						    peer->af_flags[afi][safi],
+						    PEER_FLAG_DEFAULT_ORIGINATE)
+					    && is_default_prefix(&rn->p))
 						break;
 
 					bgp_adj_out_unset_subgroup(
@@ -825,7 +824,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 			/* Remove the adjacency for the previously advertised
 			 * default route
 			 */
-			adj = adj_lookup(rn, subgrp,
+			adj = adj_lookup(
+				rn, subgrp,
 				BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 			if (adj != NULL) {
 				/* Clean up previous advertisement.  */

If you are a new contributor to FRR, please see our contributing guidelines.

@kssoman
Copy link
Contributor Author

kssoman commented Apr 8, 2020

LOGS

logs.txt

bgpd/bgp_updgrp_adv.c Outdated Show resolved Hide resolved
@donaldsharp
Copy link
Member

Let's fix the subject line to actually represent the problem instead of it being the start of a statement

@kssoman
Copy link
Contributor Author

kssoman commented Apr 8, 2020

Let's fix the subject line to actually represent the problem instead of it being the start of a statement

ok will change the subject like to the issue observed

Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have one question how it behaves when default-originate is applied with a route-map? Or let's say we have default-originate and ACL applied for outgoing direction.

@polychaeta polychaeta dismissed their stale review April 8, 2020 12:55

blocking comments addressed

Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/2d89b3fe85329f0de21dca60b2a030bf/raw/8809ae410a57ea0094e63c9a86bec1312758d3d8/cr_6184_1586350509.diff | git apply

diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index 3063b0ff3..4dd118f67 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -536,9 +536,8 @@ void bgp_adj_out_unset_subgroup(struct bgp_node *rn,
 		/* If default originate is enabled and the route is default
 		 * route, do not send withdraw
 		 */
-		if (CHECK_FLAG(subgrp->sflags,
-			       SUBGRP_STATUS_DEFAULT_ORIGINATE) &&
-		    is_default_prefix(&rn->p))
+		if (CHECK_FLAG(subgrp->sflags, SUBGRP_STATUS_DEFAULT_ORIGINATE)
+		    && is_default_prefix(&rn->p))
 			return;
 
 		if (adj->attr && withdraw) {
@@ -650,9 +649,9 @@ void subgroup_announce_table(struct update_subgroup *subgrp,
 					 * withdraw
 					 */
 					if (CHECK_FLAG(
-						peer->af_flags[afi][safi],
-						PEER_FLAG_DEFAULT_ORIGINATE) &&
-						is_default_prefix(&rn->p))
+						    peer->af_flags[afi][safi],
+						    PEER_FLAG_DEFAULT_ORIGINATE)
+					    && is_default_prefix(&rn->p))
 						break;
 
 					bgp_adj_out_unset_subgroup(
@@ -825,7 +824,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 			/* Remove the adjacency for the previously advertised
 			 * default route
 			 */
-			adj = adj_lookup(rn, subgrp,
+			adj = adj_lookup(
+				rn, subgrp,
 				BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 			if (adj != NULL) {
 				/* Clean up previous advertisement.  */

If you are a new contributor to FRR, please see our contributing guidelines.

@kssoman
Copy link
Contributor Author

kssoman commented Apr 8, 2020

I have one question how it behaves when default-originate is applied with a route-map? Or let's say we have default-originate and ACL applied for outgoing direction.

will verify with routmap and update results

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 8, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6184 fae8a8d
Date 04/08/2020
Start 09:21:44
Finish 09:47:41
Run-Time 25:57
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-08-09:21:44.txt
Log autoscript-2020-04-08-09:22:38.log.bz2
Memory 493 498 425

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 8, 2020

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11720/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11720/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-g17ae29f82-0 (missing) -> 7.4-dev-20200408-05-g17ae29f82-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-g17ae29f82-0 (missing) -> 7.4-dev-20200408-05-g17ae29f82-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-g17ae29f82-0 (missing) -> 7.4-dev-20200408-05-g17ae29f82-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-g17ae29f82-0 (missing) -> 7.4-dev-20200408-05-g17ae29f82-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-g17ae29f82-0 (missing) -> 7.4-dev-20200408-05-g17ae29f82-0~deb10u1

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 8, 2020

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11721/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11721/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-gfae8a8dac-0 (missing) -> 7.4-dev-20200408-05-gfae8a8dac-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-gfae8a8dac-0 (missing) -> 7.4-dev-20200408-05-gfae8a8dac-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-gfae8a8dac-0 (missing) -> 7.4-dev-20200408-05-gfae8a8dac-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-gfae8a8dac-0 (missing) -> 7.4-dev-20200408-05-gfae8a8dac-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200408-05-gfae8a8dac-0 (missing) -> 7.4-dev-20200408-05-gfae8a8dac-0~deb10u1

@kssoman
Copy link
Contributor Author

kssoman commented Apr 9, 2020

I have one question how it behaves when default-originate is applied with a route-map? Or let's say we have default-originate and ACL applied for outgoing direction.

will verify with routmap and update results

Please find the results with routemap configuration

rmap_test.txt

Copy link
Member

@Spantik Spantik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May leave already advertised default route stale in some scenarios.

if (CHECK_FLAG(subgrp->sflags,
SUBGRP_STATUS_DEFAULT_ORIGINATE) &&
is_default_prefix(&rn->p))
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is a default route that needs to be withdrawn even when default originate config is present this check will avoid it and return from here. This may lead to default route with peer.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also if we have default-originate before and then default-originate with route-map option is given to match on some prefix which is not present then already advertised default route needs to be withdrawn and that will not happen due to above check.

Copy link
Contributor Author

@kssoman kssoman Apr 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default route advertisement using default originate is handled seperately in subgroup_default_update_packet() and deletion in subgroup_default_withdraw_packet()

When default route is advertised previously using redistribute command and then default originate is added, it is sufficient to clear the adj out entry since the newly advertised copy of default route will serve as implicit withdraw to the peer, the receiver will replace old copy with the new copy

Will check on the scenario involving routemap change

@Spantik
Copy link
Member

Spantik commented Apr 9, 2020

Also it does look like default route origination has issue here. This is what documentation says but if there is a static default route present and if we do redistribute static then end up advertising this route to peer and that does not seem right. Your fix is above this assumption and I guess we need to fix default route advertisement first.

[no] neighbor PEER default-originate
bgpd’s default is to not announce the default route (0.0.0.0/0) even if it is in routing table. When you want to announce default routes to the peer, use this command.

Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/4b6b39127ccd6dead84c1221ae6d43ee/raw/6e8b7d9ec89e57b385e4c40da731dc0129cc3811/cr_6184_1586514725.diff | git apply

diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index a9b8992f3..005efe163 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -537,9 +537,8 @@ void bgp_adj_out_unset_subgroup(struct bgp_node *rn,
 		 * route, do not send withdraw. This will prevent deletion of
 		 * the default route at the peer.
 		 */
-		if (CHECK_FLAG(subgrp->sflags,
-			       SUBGRP_STATUS_DEFAULT_ORIGINATE) &&
-		    is_default_prefix(&rn->p))
+		if (CHECK_FLAG(subgrp->sflags, SUBGRP_STATUS_DEFAULT_ORIGINATE)
+		    && is_default_prefix(&rn->p))
 			return;
 
 		if (adj->attr && withdraw) {
@@ -653,9 +652,9 @@ void subgroup_announce_table(struct update_subgroup *subgrp,
 					 * default originate
 					 */
 					if (CHECK_FLAG(
-					    peer->af_flags[afi][safi],
-					    PEER_FLAG_DEFAULT_ORIGINATE) &&
-						is_default_prefix(&rn->p))
+						    peer->af_flags[afi][safi],
+						    PEER_FLAG_DEFAULT_ORIGINATE)
+					    && is_default_prefix(&rn->p))
 						break;
 
 					bgp_adj_out_unset_subgroup(
@@ -825,14 +824,11 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 			for (pi = bgp_node_get_bgp_path_info(rn); pi;
 			     pi = pi->next) {
 				if (CHECK_FLAG(pi->flags, BGP_PATH_SELECTED))
-					if (subgroup_announce_check(rn, pi,
-								    subgrp,
-								    &rn->p,
-								    &attr))
-						bgp_adj_out_set_subgroup(rn,
-									 subgrp,
-									 &attr,
-									 pi);
+					if (subgroup_announce_check(
+						    rn, pi, subgrp, &rn->p,
+						    &attr))
+						bgp_adj_out_set_subgroup(
+							rn, subgrp, &attr, pi);
 			}
 		}
 	} else {
@@ -858,7 +854,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 			/* Remove the adjacency for the previously advertised
 			 * default route
 			 */
-			adj = adj_lookup(rn, subgrp,
+			adj = adj_lookup(
+				rn, subgrp,
 				BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 			if (adj != NULL) {
 				/* Clean up previous advertisement.  */

If you are a new contributor to FRR, please see our contributing guidelines.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 10, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6184 4dcc309
Date 04/10/2020
Start 06:35:27
Finish 07:01:18
Run-Time 25:51
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-10-06:35:27.txt
Log autoscript-2020-04-10-06:36:22.log.bz2
Memory 487 496 425

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 10, 2020

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11777/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11777/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200410-00-g4dcc30913-0 (missing) -> 7.4-dev-20200410-00-g4dcc30913-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200410-00-g4dcc30913-0 (missing) -> 7.4-dev-20200410-00-g4dcc30913-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200410-00-g4dcc30913-0 (missing) -> 7.4-dev-20200410-00-g4dcc30913-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200410-00-g4dcc30913-0 (missing) -> 7.4-dev-20200410-00-g4dcc30913-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200410-00-g4dcc30913-0 (missing) -> 7.4-dev-20200410-00-g4dcc30913-0~deb10u1

Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/341b6a8ef891948519d4bd84cacd3fb1/raw/24b17e8b7572c4de353a00e27e7c023a84ae29d2/cr_6184_1586591148.diff | git apply

diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index 3a15b673f..18e01759f 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -537,9 +537,8 @@ void bgp_adj_out_unset_subgroup(struct bgp_node *rn,
 		 * route, do not send withdraw. This will prevent deletion of
 		 * the default route at the peer.
 		 */
-		if (CHECK_FLAG(subgrp->sflags,
-			       SUBGRP_STATUS_DEFAULT_ORIGINATE) &&
-		    is_default_prefix(&rn->p))
+		if (CHECK_FLAG(subgrp->sflags, SUBGRP_STATUS_DEFAULT_ORIGINATE)
+		    && is_default_prefix(&rn->p))
 			return;
 
 		if (adj->attr && withdraw) {
@@ -653,9 +652,9 @@ void subgroup_announce_table(struct update_subgroup *subgrp,
 					 * default originate
 					 */
 					if (CHECK_FLAG(
-					    peer->af_flags[afi][safi],
-					    PEER_FLAG_DEFAULT_ORIGINATE) &&
-						is_default_prefix(&rn->p))
+						    peer->af_flags[afi][safi],
+						    PEER_FLAG_DEFAULT_ORIGINATE)
+					    && is_default_prefix(&rn->p))
 						break;
 
 					bgp_adj_out_unset_subgroup(
@@ -820,19 +819,17 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 		/* If default route is present in the local RIB, advertise the
 		 * route
 		 */
-		rn = bgp_afi_node_lookup(bgp->rib[afi][safi], afi, safi, &p, NULL);
+		rn = bgp_afi_node_lookup(bgp->rib[afi][safi], afi, safi, &p,
+					 NULL);
 		if (rn != NULL) {
 			for (pi = bgp_node_get_bgp_path_info(rn); pi;
 			     pi = pi->next) {
 				if (CHECK_FLAG(pi->flags, BGP_PATH_SELECTED))
-					if (subgroup_announce_check(rn, pi,
-								    subgrp,
-								    &rn->p,
-								    &attr))
-						bgp_adj_out_set_subgroup(rn,
-									 subgrp,
-									 &attr,
-									 pi);
+					if (subgroup_announce_check(
+						    rn, pi, subgrp, &rn->p,
+						    &attr))
+						bgp_adj_out_set_subgroup(
+							rn, subgrp, &attr, pi);
 			}
 		}
 	} else {
@@ -858,7 +855,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 			/* Remove the adjacency for the previously advertised
 			 * default route
 			 */
-			adj = adj_lookup(rn, subgrp,
+			adj = adj_lookup(
+				rn, subgrp,
 				BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 			if (adj != NULL) {
 				/* Clean up previous advertisement.  */

If you are a new contributor to FRR, please see our contributing guidelines.

@kssoman
Copy link
Contributor Author

kssoman commented Apr 11, 2020

The current implementation is sending explicit withdraw when default originate is configured, therefore the route gets deleted from the peer.
Another issue found is that when default originate is deleted , the default route in local RIB is not advertised.

Fix details

When default route is redistributed to bgp and then default originate is configured for peer, the default route with origin BGP_ORIGIN_IGP is advertised, seperate withdraw message is not sent as the new copy (BGP_ORIGIN_IGP) will replace old copy (BGP_ORIGIN_INCOMPLETE) at the peer

When default originate is configured with routemap that evaluates to false (deny), default route will not be advertised.

When default originate is deleted and if there is redistributed default route in local RIB, this will be advertised to peer (based on routemap conditions if configured)

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 11, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

See below for issues.
CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11788/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Get source / Pull Request: Successful

Building Stage: Failed

CentOS 7 amd64 build: Failed (click for details) CentOS 7 amd64 build: No useful log found
Successful on other platforms/tests
  • Debian 9 amd64 build
  • Ubuntu 18.04 ppc64le build
  • NetBSD 8 amd64 build
  • Ubuntu 16.04 amd64 build
  • Ubuntu 12.04 amd64 build
  • Ubuntu 14.04 amd64 build
  • Ubuntu 16.04 i386 build
  • Debian 10 amd64 build
  • Debian 8 amd64 build
  • FreeBSD 11 amd64 build
  • Fedora 29 amd64 build
  • OpenBSD 6 amd64 build
  • NetBSD 6 amd64 build
  • Ubuntu 18.04 amd64 build
  • FreeBSD 12 amd64 build

Warnings Generated during build:

Checkout code: Successful with additional warnings
CentOS 7 amd64 build: Failed (click for details) CentOS 7 amd64 build: No useful log found
Report for bgp_updgrp_adv.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #823: FILE: /tmp/f1-17367/bgp_updgrp_adv.c:823:

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11788/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g69d577f51-0 (missing) -> 7.4-dev-20200411-00-g69d577f51-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g69d577f51-0 (missing) -> 7.4-dev-20200411-00-g69d577f51-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g69d577f51-0 (missing) -> 7.4-dev-20200411-00-g69d577f51-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g69d577f51-0 (missing) -> 7.4-dev-20200411-00-g69d577f51-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g69d577f51-0 (missing) -> 7.4-dev-20200411-00-g69d577f51-0~deb10u1

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 11, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6184 69d577f
Date 04/11/2020
Start 03:50:27
Finish 04:16:19
Run-Time 25:52
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-11-03:50:27.txt
Log autoscript-2020-04-11-03:51:23.log.bz2
Memory 493 499 427

For details, please contact louberger

Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/96e9ff3728bd5c7357c68c8b14c77fc9/raw/0f40e9e58bd4e2c4d17cb43afa382768b04f3ca1/cr_6184_1586598755.diff | git apply

diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index cbd2695f5..ff2395c24 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -652,8 +652,8 @@ void subgroup_announce_table(struct update_subgroup *subgrp,
 					 * default originate
 					 */
 					if (CHECK_FLAG(
-						peer->af_flags[afi][safi],
-						PEER_FLAG_DEFAULT_ORIGINATE)
+						    peer->af_flags[afi][safi],
+						    PEER_FLAG_DEFAULT_ORIGINATE)
 					    && is_default_prefix(&rn->p))
 						break;
 
@@ -855,8 +855,9 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 			/* Remove the adjacency for the previously advertised
 			 * default route
 			 */
-			adj = adj_lookup(rn, subgrp,
-				 BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
+			adj = adj_lookup(
+				rn, subgrp,
+				BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 			if (adj != NULL) {
 				/* Clean up previous advertisement.  */
 				if (adj->adv)

If you are a new contributor to FRR, please see our contributing guidelines.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 11, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6184 25f46ae
Date 04/11/2020
Start 05:55:27
Finish 06:21:20
Run-Time 25:53
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-11-05:55:27.txt
Log autoscript-2020-04-11-05:56:26.log.bz2
Memory 495 489 425

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 11, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

See below for issues.
CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11789/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Get source / Pull Request: Successful

Building Stage: Successful

Basic Tests: Failed

Topology tests on Ubuntu 16.04 amd64: Failed (click for details)

Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPOU1604-11789/test

Topology Tests failed for Topology tests on Ubuntu 16.04 amd64:

*** defaultIntf: warning: r1 has no interfaces
2020-04-11 12:46:20,593 ERROR: '_bgp_converge' failed after 37.63 seconds
2020-04-11 12:46:20,594 ERROR: assert failed at "test_bgp_default-originate_route-map/test_bgp_default_originate_route_map": Failed to see bgp convergence in "TopoGear<name="r2",links=["r2-eth0"<->"s1-eth1"]> TopoRouter<>"
assert json["192.168.255.1"]["addressFamilyInfo"]["ipv4Unicast"]["acceptedPrefixCounter"] value is different (
  --- Expected value
  +++ Current value
  @@ -1 +1 @@
  -1
  +0)
2020-04-11 12:47:18,931 ERROR: '_bgp_has_routes' failed after 37.82 seconds
2020-04-11 12:53:48,142 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:-1 



2020-04-11 12:53:48,266 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:65536 



2020-04-11 12:53:48,388 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:4294967296 



2020-04-11 12:53:48,508 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:-1:1 



2020-04-11 12:55:45,485 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1604/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 2: % Command incomplete[4]: bgp large-community-list standard Test1 permit  



2020-04-11 13:02:34,928 ERROR: PIMd StdErr Log:% No Path to RP address specified: 192.168.100.1

2020-04-11 13:02:36,973 ERROR: PIMd StdErr Log:% No Path to RP address specified: 192.168.100.1

2020-04-11 13:02:43,114 ERROR: PIMd StdErr Log:% No Path to RP address specified: 192.168.100.1

see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11789/artifact/TOPOU1604/ErrorLog/log_topotests.txt

CentOS 7 rpm pkg check: Failed (click for details) CentOS 7 rpm pkg check: No useful log found
Topotest tests on Ubuntu 16.04 i386: Failed (click for details)

Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPOI386-11789/test

Topology Tests failed for Topotest tests on Ubuntu 16.04 i386:

RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
*** defaultIntf: warning: r1 has no interfaces
2020-04-11 12:47:05,420 ERROR: '_bgp_converge' failed after 39.26 seconds
2020-04-11 12:47:05,423 ERROR: assert failed at "test_bgp_default-originate_route-map/test_bgp_default_originate_route_map": Failed to see bgp convergence in "TopoGear<name="r2",links=["r2-eth0"<->"s1-eth1"]> TopoRouter<>"
assert json["192.168.255.1"]["addressFamilyInfo"]["ipv4Unicast"]["acceptedPrefixCounter"] value is different (
  --- Expected value
  +++ Current value
  @@ -1 +1 @@
  -1
  +0)
2020-04-11 12:48:05,618 ERROR: '_bgp_has_routes' failed after 39.12 seconds
2020-04-11 12:54:33,394 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:-1 



2020-04-11 12:54:33,543 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:65536 



2020-04-11 12:54:33,651 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:4294967296 



2020-04-11 12:54:33,759 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:-1:1 



2020-04-11 12:56:30,827 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOI386/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 2: % Command incomplete[4]: bgp large-community-list standard Test1 permit  



RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
2020-04-11 13:03:18,001 ERROR: PIMd StdErr Log:% No Path to RP address specified: 192.168.100.1

2020-04-11 13:03:20,081 ERROR: PIMd StdErr Log:% No Path to RP address specified: 192.168.100.1

2020-04-11 13:03:26,302 ERROR: PIMd StdErr Log:% No Path to RP address specified: 192.168.100.1

RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument

see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11789/artifact/TOPOI386/ErrorLog/log_topotests.txt

Topology tests on Ubuntu 18.04 amd64: Failed (click for details)

Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPOU1804-11789/test

Topology Tests failed for Topology tests on Ubuntu 18.04 amd64:

*** defaultIntf: warning: r1 has no interfaces
2020-04-11 10:46:06,215 ERROR: '_bgp_converge' failed after 37.50 seconds
2020-04-11 10:46:06,216 ERROR: assert failed at "test_bgp_default-originate_route-map/test_bgp_default_originate_route_map": Failed to see bgp convergence in "TopoGear<name="r2",links=["r2-eth0"<->"s1-eth1"]> TopoRouter<>"
assert json["192.168.255.1"]["addressFamilyInfo"]["ipv4Unicast"]["acceptedPrefixCounter"] value is different (
  --- Expected value
  +++ Current value
  @@ -1 +1 @@
  -1
  +0)
2020-04-11 10:47:04,260 ERROR: '_bgp_has_routes' failed after 37.41 seconds
2020-04-11 10:54:55,362 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:-1 



2020-04-11 10:54:55,478 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:65536 



2020-04-11 10:54:55,591 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:4294967296 



2020-04-11 10:54:55,708 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:-1:1 



2020-04-11 10:56:49,108 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 1509, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 240, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPOU1804/topotests/lib/common_config.py", line 397, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 2: % Command incomplete[4]: bgp large-community-list standard Test1 permit  



2020-04-11 11:03:46,468 ERROR: PIMd StdErr Log:% No Path to RP address specified: 192.168.100.1

2020-04-11 11:03:48,529 ERROR: PIMd StdErr Log:% No Path to RP address specified: 192.168.100.1

2020-04-11 11:03:54,705 ERROR: PIMd StdErr Log:% No Path to RP address specified: 192.168.100.1

see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11789/artifact/TOPOU1804/ErrorLog/log_topotests.txt

Successful on other platforms/tests
  • Addresssanitizer topotests part 2
  • Debian 8 deb pkg check
  • Debian 10 deb pkg check
  • Ubuntu 14.04 deb pkg check
  • IPv4 protocols on Ubuntu 14.04
  • Addresssanitizer topotests part 3
  • IPv4 ldp protocol on Ubuntu 16.04
  • Debian 9 deb pkg check
  • Ubuntu 12.04 deb pkg check
  • Fedora 29 rpm pkg check
  • Static analyzer (clang)
  • IPv6 protocols on Ubuntu 14.04
  • Addresssanitizer topotests part 1
  • Ubuntu 16.04 deb pkg check

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11789/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g25f46ae75-0 (missing) -> 7.4-dev-20200411-00-g25f46ae75-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g25f46ae75-0 (missing) -> 7.4-dev-20200411-00-g25f46ae75-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g25f46ae75-0 (missing) -> 7.4-dev-20200411-00-g25f46ae75-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g25f46ae75-0 (missing) -> 7.4-dev-20200411-00-g25f46ae75-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200411-00-g25f46ae75-0 (missing) -> 7.4-dev-20200411-00-g25f46ae75-0~deb10u1

@kssoman
Copy link
Contributor Author

kssoman commented Apr 12, 2020

multipath test logs

multipath.txt

@riw777
Copy link
Member

riw777 commented Apr 14, 2020

When default originate is deleted subgroup_default_withdraw_packet() causes route withdraw but if redistribute is also there along with the default route in bgp table,
then this is not automatically readvertised. Therefore there will be no default route in the peer.

The fix tries to address this case but it is optional, we can skip this if not required

We should be consistent in our behavior -- the order in which things are configured should not matter to the final state (as much as possible, given BGP already has the idiosyncrasies)... Further, removing default-information originate should cause the speaker to start advertising the redistributed default again...

If I understand correctly, these are the two targets of this PR, and if so, I agree with the aim. :-) I would like to see testing showing this is what happens, though, if anyone has time to bring it up and show the changes from a peer's perspective. :-)

I agree with @ton31337 that we probably need a test case for this. I've not looked at the documentation, but I don't think it mentions any of this stuff, so it's probably "okay."

I'm okay with the code, but I see others have comments out, so ...

@kssoman
Copy link
Contributor Author

kssoman commented Apr 14, 2020

When default originate is deleted subgroup_default_withdraw_packet() causes route withdraw but if redistribute is also there along with the default route in bgp table,
then this is not automatically readvertised. Therefore there will be no default route in the peer.
The fix tries to address this case but it is optional, we can skip this if not required

We should be consistent in our behavior -- the order in which things are configured should not matter to the final state (as much as possible, given BGP already has the idiosyncrasies)... Further, removing default-information originate should cause the speaker to start advertising the redistributed default again...

If I understand correctly, these are the two targets of this PR, and if so, I agree with the aim. :-) I would like to see testing showing this is what happens, though, if anyone has time to bring it up and show the changes from a peer's perspective. :-)

I agree with @ton31337 that we probably need a test case for this. I've not looked at the documentation, but I don't think it mentions any of this stuff, so it's probably "okay."

I'm okay with the code, but I see others have comments out, so ...

Verified that default originate gets precedence over redistribute and peer starts advertising redistribute when default originate is deleted.

Will add test case as suggested

@Spantik
Copy link
Member

Spantik commented Apr 14, 2020

multipath test logs

multipath.txt

Saw the test results. I see that cases are tested as below.

  1. Redistribute default static.
  2. Enable default originate, ( this would remove the redistribute route from adj)
  3. Enable default originate with route-map which should not originate default.

The comment on stale default would remain with peer may be caused with below steps. Can you please test this?

  1. Redistribute default static.
  2. Enable default originate with route-map which should deny originating default route.

So in this case we should withdraw default route advertised due to redistribution.

@kssoman
Copy link
Contributor Author

kssoman commented Apr 17, 2020

multipath test logs
multipath.txt

Saw the test results. I see that cases are tested as below.

  1. Redistribute default static.
  2. Enable default originate, ( this would remove the redistribute route from adj)
  3. Enable default originate with route-map which should not originate default.

The comment on stale default would remain with peer may be caused with below steps. Can you please test this?

  1. Redistribute default static.
  2. Enable default originate with route-map which should deny originating default route.

So in this case we should withdraw default route advertised due to redistribution.

The routemap deny case is verified as mentioned in the logs below

  1. Configure default originate with routemap for peers which will deny the route
    rmap_test.txt

Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me -- thanks for the work on this and the answers to questions. :-)

Copy link
Member

@sworleys sworleys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@sworleys sworleys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/54a089e33201c7c1307ac8224f1ec989/raw/9b91dbf6e289c45e8fad42326d1d24a122c8eb75/cr_6184_1587493933.diff | git apply

diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index 2f220be51..e83eed6e3 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -842,13 +842,14 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 				/* Remove the adjacency for the previously
 				 * advertised default route
 				 */
-				adj = adj_lookup(rn, subgrp,
-				       BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
+				adj = adj_lookup(
+					rn, subgrp,
+					BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 				if (adj != NULL) {
 					/* Clean up previous advertisement.  */
 					if (adj->adv)
 						bgp_advertise_clean_subgroup(
-								   subgrp, adj);
+							subgrp, adj);
 
 					/* Remove  from adjacency. */
 					RB_REMOVE(bgp_adj_out_rb, &rn->adj_out,

If you are a new contributor to FRR, please see our contributing guidelines.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 21, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6184 8bc105b
Date 04/21/2020
Start 15:06:27
Finish 15:32:25
Run-Time 25:58
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-21-15:06:27.txt
Log autoscript-2020-04-21-15:07:25.log.bz2
Memory 453 469 426

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 21, 2020

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11977/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11977/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200421-00-g8bc105bd4-0 (missing) -> 7.4-dev-20200421-00-g8bc105bd4-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200421-00-g8bc105bd4-0 (missing) -> 7.4-dev-20200421-00-g8bc105bd4-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200421-00-g8bc105bd4-0 (missing) -> 7.4-dev-20200421-00-g8bc105bd4-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200421-00-g8bc105bd4-0 (missing) -> 7.4-dev-20200421-00-g8bc105bd4-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200421-00-g8bc105bd4-0 (missing) -> 7.4-dev-20200421-00-g8bc105bd4-0~deb10u1

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 22, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6184 e3382f2
Date 04/22/2020
Start 05:50:26
Finish 06:16:16
Run-Time 25:50
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-22-05:50:26.txt
Log autoscript-2020-04-22-05:51:28.log.bz2
Memory 492 489 425

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11983/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Checkout code: Successful with additional warnings
Report for bgp_updgrp_adv.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #847: FILE: /tmp/f1-30976/bgp_updgrp_adv.c:847:

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11983/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-ge3382f2fa-0 (missing) -> 7.4-dev-20200422-00-ge3382f2fa-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-ge3382f2fa-0 (missing) -> 7.4-dev-20200422-00-ge3382f2fa-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-ge3382f2fa-0 (missing) -> 7.4-dev-20200422-00-ge3382f2fa-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-ge3382f2fa-0 (missing) -> 7.4-dev-20200422-00-ge3382f2fa-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-ge3382f2fa-0 (missing) -> 7.4-dev-20200422-00-ge3382f2fa-0~deb10u1

@kssoman
Copy link
Contributor Author

kssoman commented Apr 22, 2020

Your commit short summary is still too long:

http://docs.frrouting.org/projects/dev-guide/en/latest/workflow.html#commit-messages

Updated the commit short summary

@ton31337 ton31337 requested a review from sworleys April 22, 2020 13:19
@sworleys sworleys requested a review from polychaeta April 22, 2020 15:50
Copy link
Member

@sworleys sworleys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for fixing the commit, I think you still have a checkpatch issue though?

Report for bgp_updgrp_adv.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #847: FILE: /tmp/f1-30976/bgp_updgrp_adv.c:847:

Issue:
Configuring default-originate when static default route is previously
advertised results in withdrawal of the route.

Fix :
Delete the adj-out entry for the previously advertised static
default route without sending explicit withdraw message.

Signed-off-by: kssoman <somanks@gmail.com>
Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/1dec4a31b28f28b0e91d009458ce3557/raw/83d3cd1f348d1234ce3e4126e5c61355025965fb/cr_6184_1587575098.diff | git apply

diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index 6399bc93a..e83eed6e3 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -843,8 +843,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 				 * advertised default route
 				 */
 				adj = adj_lookup(
-				       rn, subgrp,
-				       BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
+					rn, subgrp,
+					BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 				if (adj != NULL) {
 					/* Clean up previous advertisement.  */
 					if (adj->adv)

If you are a new contributor to FRR, please see our contributing guidelines.

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-12000/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-12000/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.4.1 (current is 4.3.0)
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gf55c9a465-0 (missing) -> 7.4-dev-20200422-00-gf55c9a465-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gf55c9a465-0 (missing) -> 7.4-dev-20200422-00-gf55c9a465-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gf55c9a465-0 (missing) -> 7.4-dev-20200422-00-gf55c9a465-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gf55c9a465-0 (missing) -> 7.4-dev-20200422-00-gf55c9a465-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gf55c9a465-0 (missing) -> 7.4-dev-20200422-00-gf55c9a465-0~deb10u1

@sworleys
Copy link
Member

Thanks for your contribution to FRR!

Click for style suggestions
To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/1dec4a31b28f28b0e91d009458ce3557/raw/83d3cd1f348d1234ce3e4126e5c61355025965fb/cr_6184_1587575098.diff | git apply
diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index 6399bc93a..e83eed6e3 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -843,8 +843,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 				 * advertised default route
 				 */
 				adj = adj_lookup(
-				       rn, subgrp,
-				       BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
+					rn, subgrp,
+					BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 				if (adj != NULL) {
 					/* Clean up previous advertisement.  */
 					if (adj->adv)

If you are a new contributor to FRR, please see our contributing guidelines.

lol now polchaeta is unhappy.

for future help, you might want to use the clang format tool and then you wont have to worry about polychaeta again. Its pretty easy to set up with git.

http://docs.frrouting.org/projects/dev-guide/en/latest/workflow.html#code-formatting

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 22, 2020

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/6184 f55c9a4
Date 04/22/2020
Start 15:41:17
Finish 16:07:10
Run-Time 25:53
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-22-15:41:17.txt
Log autoscript-2020-04-22-15:42:16.log.bz2
Memory 492 499 424

For details, please contact louberger

@kssoman
Copy link
Contributor Author

kssoman commented Apr 23, 2020

Thanks for your contribution to FRR!
Click for style suggestions
To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/1dec4a31b28f28b0e91d009458ce3557/raw/83d3cd1f348d1234ce3e4126e5c61355025965fb/cr_6184_1587575098.diff | git apply
diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index 6399bc93a..e83eed6e3 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -843,8 +843,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 				 * advertised default route
 				 */
 				adj = adj_lookup(
-				       rn, subgrp,
-				       BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
+					rn, subgrp,
+					BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 				if (adj != NULL) {
 					/* Clean up previous advertisement.  */
 					if (adj->adv)

If you are a new contributor to FRR, please see our contributing guidelines.

lol now polchaeta is unhappy.

for future help, you might want to use the clang format tool and then you wont have to worry about polychaeta again. Its pretty easy to set up with git.

http://docs.frrouting.org/projects/dev-guide/en/latest/workflow.html#code-formatting

Applying
curl -s https://gist.githubusercontent.com/polychaeta/1dec4a31b28f28b0e91d009458ce3557/raw/83d3cd1f348d1234ce3e4126e5c61355025965fb/cr_6184_1587575098.diff | git apply

causes checkpatch.sh to give error (line > 80 characters)

@kssoman
Copy link
Contributor Author

kssoman commented Apr 23, 2020

Thanks for your contribution to FRR!
Click for style suggestions
To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/1dec4a31b28f28b0e91d009458ce3557/raw/83d3cd1f348d1234ce3e4126e5c61355025965fb/cr_6184_1587575098.diff | git apply
diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c
index 6399bc93a..e83eed6e3 100644
--- a/bgpd/bgp_updgrp_adv.c
+++ b/bgpd/bgp_updgrp_adv.c
@@ -843,8 +843,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
 				 * advertised default route
 				 */
 				adj = adj_lookup(
-				       rn, subgrp,
-				       BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
+					rn, subgrp,
+					BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
 				if (adj != NULL) {
 					/* Clean up previous advertisement.  */
 					if (adj->adv)

If you are a new contributor to FRR, please see our contributing guidelines.

lol now polchaeta is unhappy.
for future help, you might want to use the clang format tool and then you wont have to worry about polychaeta again. Its pretty easy to set up with git.
http://docs.frrouting.org/projects/dev-guide/en/latest/workflow.html#code-formatting

Applying
curl -s https://gist.githubusercontent.com/polychaeta/1dec4a31b28f28b0e91d009458ce3557/raw/83d3cd1f348d1234ce3e4126e5c61355025965fb/cr_6184_1587575098.diff | git apply

causes checkpatch.sh to give error (line > 80 characters)

Tried with git clang-format line 847 : BGP_ADDPATH_TX_ID_FOR_DEFAULT_ORIGINATE);
is 81 chars, therefore checkpatch,sh will give
< WARNING: line over 80 characters
< #847: FILE: /tmp/f1-30976/bgp_updgrp_adv.c:847:

We can probably ignore clang format message

Copy link
Member

@sworleys sworleys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, sorry for the trouble.

@sworleys sworleys merged commit e17316e into FRRouting:master Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants