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: Enable rfc8212 by default except datacenter profile #6164

Merged
merged 5 commits into from
Apr 18, 2020
Merged

bgpd: Enable rfc8212 by default except datacenter profile #6164

merged 5 commits into from
Apr 18, 2020

Conversation

ton31337
Copy link
Member

@ton31337 ton31337 commented Apr 6, 2020

Some competitive vendors like Cisco, Bird, OpenBGPD, Nokia already have this by default enabled.

The list is here: https://github.com/bgp/RFC8212

@polychaeta polychaeta added bgp tests Topotests, make check, etc labels Apr 6, 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!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/86d20dab4bf1554a7a3f15665c17c66d/raw/cfca618428cd2f667ea0bacbb0e53d2fbead20e0/cr_6164_1586182845.diff | git apply

diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index e817626f9..ff678eeb2 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -101,9 +101,11 @@ FRR_CFG_DEFAULT_ULONG(BGP_KEEPALIVE,
 	{ .val_ulong = 60 },
 )
 FRR_CFG_DEFAULT_BOOL(BGP_EBGP_REQUIRES_POLICY,
-	{ .val_bool = false, .match_profile = "datacenter", },
-	{ .val_bool = true },
-)
+		     {
+			     .val_bool = false,
+			     .match_profile = "datacenter",
+		     },
+		     {.val_bool = true}, )
 
 DEFINE_HOOK(bgp_inst_config_write,
 		(struct bgp *bgp, struct vty *vty),
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index 3fe5eece6..afd4a85d2 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -446,7 +446,7 @@ struct bgp {
 #define BGP_FLAG_DELETE_IN_PROGRESS       (1 << 22)
 #define BGP_FLAG_SELECT_DEFER_DISABLE     (1 << 23)
 #define BGP_FLAG_GR_DISABLE_EOR           (1 << 24)
-#define BGP_FLAG_EBGP_REQUIRES_POLICY     (1 << 25)
+#define BGP_FLAG_EBGP_REQUIRES_POLICY (1 << 25)
 
 	enum global_mode GLOBAL_GR_FSM[BGP_GLOBAL_GR_MODE]
 				      [BGP_GLOBAL_GR_EVENT_CMD];

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

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 6, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6164 06b6b1c
Date 04/06/2020
Start 10:26:12
Finish 10:52:01
Run-Time 25:49
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-06-10:26:12.txt
Log autoscript-2020-04-06-10:27:05.log.bz2
Memory 482 470 426

For details, please contact louberger

bgpd/bgp_vty.c Show resolved Hide resolved
@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 6, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

IPv4 protocols on Ubuntu 14.04: Failed (click for details)

RFC Compliance Test ANVL-BGP4-1.3 failing:
Test Summary
Router adds routes contained in the newly received Update Message to
its routing table
Test Reference
ANVL, setup verification
Test Classification
MUST
Test ANVL-BGP4-1.3: !FAILED!
Expected to receive IP packet but did not
External peer did not receive expected
IP packet forwarded by DUT

RFC Compliance Test ANVL-BGP4-1.4 failing:
Test Summary
Router forwards new Update routes
Test Reference
ANVL, setup verification
Test Classification
MUST
Test ANVL-BGP4-1.4: !FAILED!
External peer did not receive expected BGP4
Update Message from

RFC Compliance Test ANVL-BGP4-4.1 failing:
Test Summary
An UPDATE message MAY simultaneously advertise a feasible route and
withdraw multiple unfeasible routes from service.
Test Reference
RFC4271, Sect. 4.3, p 15,
UPDATE Message Format
Test Classification
MAY
Test ANVL-BGP4-4.1: !FAILED!
Expected to receive IP packet but did not
External peer did not receive expected IP packet
forwarded by DUT

RFC Compliance Test ANVL-BGP-AS4-2.3 failing:
Test Summary
NEW BGP speakers carry AS path information expressed in terms of
4-octet Autonomous Systems numbers by using the existing AS_PATH
attribute, except that each AS number in this attribute is encoded
not as a 2-octet, but as a 4-octet entity.
Test Reference
RFC4893 Section 3 Page 2 'Protocol Extensions'
Test Classification
MUST
Test ANVL-BGP-AS4-2.3: !FAILED!
External peer did not receive expected
BGP4 Update Message from DUT

RFC Compliance Test ANVL-BGP-AS4-2.6 failing:
Test Summary
To preserve AS path information with 4-octet AS numbers across OLD
BGP speakers, this document defines a new AS path attribute, called
AS4_PATH.This is an optional transitive attribute that contains the
AS path encoded with 4-octet AS numbers.
Test Reference
RFC4893 Section 3 Page 2 'Protocol Extensions'
Note: Here we check for the value in the field
Test Classification
MUST
Test ANVL-BGP-AS4-2.6: !FAILED!
External peer did not receive expected
BGP4 Update Message from DUT

IPv6 protocols on Ubuntu 14.04: Failed (click for details)

RFC Compliance Test ANVL-BGPPLUS-AS4-4.1 failing:
Test Summary
When communicating with an OLD BGP speaker, a NEW speaker MUST send
the AS path information in the AS_PATH attribute encoded with 2-octet
AS numbers.
Test Reference
RFC4893 Section 4.2.2 Page 4 'Generating Updates'
Test Classification
MUST
Test ANVL-BGPPLUS-AS4-4.1: !FAILED!
External peer did not receive expected
BGP4 Update Message from DUT

Successful on other platforms/tests
  • Addresssanitizer topotests part 3
  • Debian 8 deb pkg check
  • Debian 9 deb pkg check
  • Topology tests on Ubuntu 16.04 amd64
  • IPv4 ldp protocol on Ubuntu 16.04
  • Ubuntu 14.04 deb pkg check
  • Topotest tests on Ubuntu 16.04 i386
  • Static analyzer (clang)
  • CentOS 7 rpm pkg check
  • Topology tests on Ubuntu 18.04 amd64
  • Debian 10 deb pkg check
  • Addresssanitizer topotests part 1
  • Ubuntu 16.04 deb pkg check
  • Addresssanitizer topotests part 2
  • Ubuntu 12.04 deb pkg check
  • Fedora 29 rpm pkg check

Warnings Generated during build:

Checkout code: Successful with additional warnings
IPv4 protocols on Ubuntu 14.04: Failed (click for details)

RFC Compliance Test ANVL-BGP4-1.3 failing:
Test Summary
Router adds routes contained in the newly received Update Message to
its routing table
Test Reference
ANVL, setup verification
Test Classification
MUST
Test ANVL-BGP4-1.3: !FAILED!
Expected to receive IP packet but did not
External peer did not receive expected
IP packet forwarded by DUT

RFC Compliance Test ANVL-BGP4-1.4 failing:
Test Summary
Router forwards new Update routes
Test Reference
ANVL, setup verification
Test Classification
MUST
Test ANVL-BGP4-1.4: !FAILED!
External peer did not receive expected BGP4
Update Message from

RFC Compliance Test ANVL-BGP4-4.1 failing:
Test Summary
An UPDATE message MAY simultaneously advertise a feasible route and
withdraw multiple unfeasible routes from service.
Test Reference
RFC4271, Sect. 4.3, p 15,
UPDATE Message Format
Test Classification
MAY
Test ANVL-BGP4-4.1: !FAILED!
Expected to receive IP packet but did not
External peer did not receive expected IP packet
forwarded by DUT

RFC Compliance Test ANVL-BGP-AS4-2.3 failing:
Test Summary
NEW BGP speakers carry AS path information expressed in terms of
4-octet Autonomous Systems numbers by using the existing AS_PATH
attribute, except that each AS number in this attribute is encoded
not as a 2-octet, but as a 4-octet entity.
Test Reference
RFC4893 Section 3 Page 2 'Protocol Extensions'
Test Classification
MUST
Test ANVL-BGP-AS4-2.3: !FAILED!
External peer did not receive expected
BGP4 Update Message from DUT

RFC Compliance Test ANVL-BGP-AS4-2.6 failing:
Test Summary
To preserve AS path information with 4-octet AS numbers across OLD
BGP speakers, this document defines a new AS path attribute, called
AS4_PATH.This is an optional transitive attribute that contains the
AS path encoded with 4-octet AS numbers.
Test Reference
RFC4893 Section 3 Page 2 'Protocol Extensions'
Note: Here we check for the value in the field
Test Classification
MUST
Test ANVL-BGP-AS4-2.6: !FAILED!
External peer did not receive expected
BGP4 Update Message from DUT

IPv6 protocols on Ubuntu 14.04: Failed (click for details)

RFC Compliance Test ANVL-BGPPLUS-AS4-4.1 failing:
Test Summary
When communicating with an OLD BGP speaker, a NEW speaker MUST send
the AS path information in the AS_PATH attribute encoded with 2-octet
AS numbers.
Test Reference
RFC4893 Section 4.2.2 Page 4 'Generating Updates'
Test Classification
MUST
Test ANVL-BGPPLUS-AS4-4.1: !FAILED!
External peer did not receive expected
BGP4 Update Message from DUT

Report for bgp_vty.c | 4 issues
===============================================
< WARNING: Statements should start on a tabstop
< #104: FILE: /tmp/f1-28653/bgp_vty.c:104:
< ERROR: space prohibited before that close parenthesis ')'
< #108: FILE: /tmp/f1-28653/bgp_vty.c:108:

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-11654/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1

CLANG Static Analyzer Summary

  • Github Pull Request 6164, comparing to Git base SHA b71f521

No Changes in Static Analysis warnings compared to base

1 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11654/artifact/shared/static_analysis/index.html

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 6, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

IPv4 protocols on Ubuntu 14.04: Failed (click for details)

RFC Compliance Test ANVL-BGP4-1.3 failing:
Test Summary
Router adds routes contained in the newly received Update Message to
its routing table
Test Reference
ANVL, setup verification
Test Classification
MUST
Test ANVL-BGP4-1.3: !FAILED!
Expected to receive IP packet but did not
External peer did not receive expected
IP packet forwarded by DUT

RFC Compliance Test ANVL-BGP4-1.4 failing:
Test Summary
Router forwards new Update routes
Test Reference
ANVL, setup verification
Test Classification
MUST
Test ANVL-BGP4-1.4: !FAILED!
External peer did not receive expected BGP4
Update Message from

RFC Compliance Test ANVL-BGP4-4.1 failing:
Test Summary
An UPDATE message MAY simultaneously advertise a feasible route and
withdraw multiple unfeasible routes from service.
Test Reference
RFC4271, Sect. 4.3, p 15,
UPDATE Message Format
Test Classification
MAY
Test ANVL-BGP4-4.1: !FAILED!
Expected to receive IP packet but did not
External peer did not receive expected IP packet
forwarded by DUT

RFC Compliance Test ANVL-BGP-AS4-2.3 failing:
Test Summary
NEW BGP speakers carry AS path information expressed in terms of
4-octet Autonomous Systems numbers by using the existing AS_PATH
attribute, except that each AS number in this attribute is encoded
not as a 2-octet, but as a 4-octet entity.
Test Reference
RFC4893 Section 3 Page 2 'Protocol Extensions'
Test Classification
MUST
Test ANVL-BGP-AS4-2.3: !FAILED!
External peer did not receive expected
BGP4 Update Message from DUT

RFC Compliance Test ANVL-BGP-AS4-2.6 failing:
Test Summary
To preserve AS path information with 4-octet AS numbers across OLD
BGP speakers, this document defines a new AS path attribute, called
AS4_PATH.This is an optional transitive attribute that contains the
AS path encoded with 4-octet AS numbers.
Test Reference
RFC4893 Section 3 Page 2 'Protocol Extensions'
Note: Here we check for the value in the field
Test Classification
MUST
Test ANVL-BGP-AS4-2.6: !FAILED!
External peer did not receive expected
BGP4 Update Message from DUT

IPv6 protocols on Ubuntu 14.04: Failed (click for details)

RFC Compliance Test ANVL-BGPPLUS-AS4-4.1 failing:
Test Summary
When communicating with an OLD BGP speaker, a NEW speaker MUST send
the AS path information in the AS_PATH attribute encoded with 2-octet
AS numbers.
Test Reference
RFC4893 Section 4.2.2 Page 4 'Generating Updates'
Test Classification
MUST
Test ANVL-BGPPLUS-AS4-4.1: !FAILED!
External peer did not receive expected
BGP4 Update Message from DUT

Successful on other platforms/tests
  • Debian 8 deb pkg check
  • Topology tests on Ubuntu 16.04 amd64
  • Addresssanitizer topotests part 3
  • IPv4 ldp protocol on Ubuntu 16.04
  • Ubuntu 14.04 deb pkg check
  • Debian 9 deb pkg check
  • Static analyzer (clang)
  • Addresssanitizer topotests part 1
  • Topology tests on Ubuntu 18.04 amd64
  • Debian 10 deb pkg check
  • CentOS 7 rpm pkg check
  • Ubuntu 16.04 deb pkg check
  • Topotest tests on Ubuntu 16.04 i386
  • Ubuntu 12.04 deb pkg check
  • Addresssanitizer topotests part 2
  • Fedora 29 rpm 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-11653/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-gbc33e3434-0 (missing) -> 7.4-dev-20200406-04-gbc33e3434-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-gbc33e3434-0 (missing) -> 7.4-dev-20200406-04-gbc33e3434-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-gbc33e3434-0 (missing) -> 7.4-dev-20200406-04-gbc33e3434-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-gbc33e3434-0 (missing) -> 7.4-dev-20200406-04-gbc33e3434-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-gbc33e3434-0 (missing) -> 7.4-dev-20200406-04-gbc33e3434-0~deb10u1

CLANG Static Analyzer Summary

  • Github Pull Request 6164, comparing to Git base SHA b71f521

No Changes in Static Analysis warnings compared to base

1 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11653/artifact/shared/static_analysis/index.html

@eqvinox
Copy link
Contributor

eqvinox commented Apr 6, 2020

The ANVL basic test will need to be updated for this, since the RFC changed previous standard behaviour.

@ton31337
Copy link
Member Author

ton31337 commented Apr 6, 2020

Where can I change that?

@eqvinox
Copy link
Contributor

eqvinox commented Apr 6, 2020

Where can I change that?

You can't, I already poked @mwinter-osr about it :) ... he needs to add no bgp ebgp-requires-policy to the ANVL scripts

@ton31337
Copy link
Member Author

ton31337 commented Apr 6, 2020

thanks, dude 🥇

image

@ton31337
Copy link
Member Author

ton31337 commented Apr 6, 2020

I'll update this branch when ANVL will be fixed 👍

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.

Code looks good other than existing comment... waiting on ANVL changes. Good to see this going in here.

@mwinter-osr
Copy link
Member

CI:rerun

@FRRouting FRRouting deleted a comment from NetDEF-CI Apr 10, 2020
@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 11, 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-11781/

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_vty.c | 4 issues
===============================================
< WARNING: Statements should start on a tabstop
< #104: FILE: /tmp/f1-32387/bgp_vty.c:104:
< ERROR: space prohibited before that close parenthesis ')'
< #108: FILE: /tmp/f1-32387/bgp_vty.c:108:

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-11781/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1

CLANG Static Analyzer Summary

  • Github Pull Request 6164, comparing to Git base SHA b71f521

No Changes in Static Analysis warnings compared to base

1 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11781/artifact/shared/static_analysis/index.html

@mwinter-osr
Copy link
Member

CI:rerun

@FRRouting FRRouting deleted a comment from NetDEF-CI Apr 11, 2020
@mwinter-osr
Copy link
Member

Compliance Tests are adjusted.

@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-11787/

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

CentOS 7 rpm pkg check: Failed (click for details) CentOS 7 rpm pkg check: No useful log found
Successful on other platforms/tests
  • Debian 8 deb pkg check
  • Addresssanitizer topotests part 2
  • Topology tests on Ubuntu 16.04 amd64
  • IPv4 protocols on Ubuntu 14.04
  • Debian 9 deb pkg check
  • Topotest tests on Ubuntu 16.04 i386
  • Addresssanitizer topotests part 3
  • IPv4 ldp protocol on Ubuntu 16.04
  • Debian 10 deb pkg check
  • Ubuntu 14.04 deb pkg check
  • Static analyzer (clang)
  • Topology tests on Ubuntu 18.04 amd64
  • IPv6 protocols on Ubuntu 14.04
  • Fedora 29 rpm pkg check
  • Ubuntu 16.04 deb pkg check
  • Addresssanitizer topotests part 1
  • Ubuntu 12.04 deb pkg check

Warnings Generated during build:

Checkout code: Successful with additional warnings
CentOS 7 rpm pkg check: Failed (click for details) CentOS 7 rpm pkg check: No useful log found
Report for bgp_vty.c | 4 issues
===============================================
< WARNING: Statements should start on a tabstop
< #104: FILE: /tmp/f1-8157/bgp_vty.c:104:
< ERROR: space prohibited before that close parenthesis ')'
< #108: FILE: /tmp/f1-8157/bgp_vty.c:108:

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-11787/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200406-04-g06b6b1c98-0 (missing) -> 7.4-dev-20200406-04-g06b6b1c98-0~deb10u1

CLANG Static Analyzer Summary

  • Github Pull Request 6164, comparing to Git base SHA b71f521

No Changes in Static Analysis warnings compared to base

1 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11787/artifact/shared/static_analysis/index.html

@ton31337
Copy link
Member Author

Thank you @mwinter-osr, I'll rebase and address missing comments.

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/098e64e702a72d56b5cc7a1e6c3c119e/raw/1e2c7d6968860b5c27a8f525030bfb93df716511/cr_6164_1586764595.diff | git apply

diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 3a97f0a7e..39612eea9 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -101,10 +101,17 @@ FRR_CFG_DEFAULT_ULONG(BGP_KEEPALIVE,
 	{ .val_ulong = 60 },
 )
 FRR_CFG_DEFAULT_BOOL(BGP_EBGP_REQUIRES_POLICY,
-	{ .val_bool = false, .match_profile = "datacenter", },
-	{ .val_bool = false, .match_version = "<= 7.4", },
-	{ .val_bool = true, },
-)
+		     {
+			     .val_bool = false,
+			     .match_profile = "datacenter",
+		     },
+		     {
+			     .val_bool = false,
+			     .match_version = "<= 7.4",
+		     },
+		     {
+			     .val_bool = true,
+		     }, )
 
 DEFINE_HOOK(bgp_inst_config_write,
 		(struct bgp *bgp, struct vty *vty),

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

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 13, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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
  • OpenBSD 6 amd64 build
  • FreeBSD 11 amd64 build
  • Fedora 29 amd64 build
  • Debian 10 amd64 build
  • FreeBSD 12 amd64 build
  • NetBSD 8 amd64 build
  • Ubuntu 16.04 amd64 build
  • Ubuntu 16.04 i386 build
  • Ubuntu 18.04 amd64 build
  • Debian 9 amd64 build
  • Ubuntu 12.04 amd64 build
  • Debian 8 amd64 build
  • Ubuntu 14.04 amd64 build
  • Ubuntu 18.04 ppc64le build

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-11800/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-20200413-05-g57d020009-0 (missing) -> 7.4-dev-20200413-05-g57d020009-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-05-g57d020009-0 (missing) -> 7.4-dev-20200413-05-g57d020009-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-05-g57d020009-0 (missing) -> 7.4-dev-20200413-05-g57d020009-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-05-g57d020009-0 (missing) -> 7.4-dev-20200413-05-g57d020009-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-05-g57d020009-0 (missing) -> 7.4-dev-20200413-05-g57d020009-0~deb10u1

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 13, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6164 57d0200
Date 04/13/2020
Start 04:16:09
Finish 04:41:57
Run-Time 25:48
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-13-04:16:09.txt
Log autoscript-2020-04-13-04:17:04.log.bz2
Memory 496 493 428

For details, please contact louberger

@NetDEF-CI

This comment has been minimized.

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/66d4e045a4435ab8fef077be97ceb976/raw/4d4b2c30ed98cdec6bb633a6bfdc2784a07427ac/cr_6164_1586805595.diff | git apply

diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 0284f6e4c..2fa2a2ffa 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -101,9 +101,11 @@ FRR_CFG_DEFAULT_ULONG(BGP_KEEPALIVE,
 	{ .val_ulong = 60 },
 )
 FRR_CFG_DEFAULT_BOOL(BGP_EBGP_REQUIRES_POLICY,
-	{ .val_bool = false, .match_profile = "datacenter", },
-	{ .val_bool = true },
-)
+		     {
+			     .val_bool = false,
+			     .match_profile = "datacenter",
+		     },
+		     {.val_bool = true}, )
 
 DEFINE_HOOK(bgp_inst_config_write,
 		(struct bgp *bgp, struct vty *vty),

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

@NetDEF-CI

This comment has been minimized.

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/adc0c6836c911c163df1d91b2c7a7b54/raw/4d4b2c30ed98cdec6bb633a6bfdc2784a07427ac/cr_6164_1586807169.diff | git apply

diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 0284f6e4c..2fa2a2ffa 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -101,9 +101,11 @@ FRR_CFG_DEFAULT_ULONG(BGP_KEEPALIVE,
 	{ .val_ulong = 60 },
 )
 FRR_CFG_DEFAULT_BOOL(BGP_EBGP_REQUIRES_POLICY,
-	{ .val_bool = false, .match_profile = "datacenter", },
-	{ .val_bool = true },
-)
+		     {
+			     .val_bool = false,
+			     .match_profile = "datacenter",
+		     },
+		     {.val_bool = true}, )
 
 DEFINE_HOOK(bgp_inst_config_write,
 		(struct bgp *bgp, struct vty *vty),

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

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 13, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6164 303b052
Date 04/13/2020
Start 15:21:10
Finish 15:47:04
Run-Time 25:54
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-13-15:21:10.txt
Log autoscript-2020-04-13-15:22:08.log.bz2
Memory 497 475 429

For details, please contact louberger

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 13, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6164 5ddaeda
Date 04/13/2020
Start 15:51:10
Finish 16:17:09
Run-Time 25:59
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-13-15:51:10.txt
Log autoscript-2020-04-13-15:52:06.log.bz2
Memory 486 492 425

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 13, 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-11820/

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-11820/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-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-05-g303b0525f-0 (missing) -> 7.4-dev-20200413-05-g303b0525f-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-05-g303b0525f-0 (missing) -> 7.4-dev-20200413-05-g303b0525f-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-05-g303b0525f-0 (missing) -> 7.4-dev-20200413-05-g303b0525f-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-05-g303b0525f-0 (missing) -> 7.4-dev-20200413-05-g303b0525f-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-05-g303b0525f-0 (missing) -> 7.4-dev-20200413-05-g303b0525f-0~deb10u1

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 13, 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-11821/

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-11821/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-20200413-06-g5ddaeda86-0 (missing) -> 7.4-dev-20200413-06-g5ddaeda86-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-06-g5ddaeda86-0 (missing) -> 7.4-dev-20200413-06-g5ddaeda86-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-06-g5ddaeda86-0 (missing) -> 7.4-dev-20200413-06-g5ddaeda86-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-06-g5ddaeda86-0 (missing) -> 7.4-dev-20200413-06-g5ddaeda86-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200413-06-g5ddaeda86-0 (missing) -> 7.4-dev-20200413-06-g5ddaeda86-0~deb10u1

Some competitive vendors like Cisco, Bird, OpenBGPD,
Nokia already have this by default enabled.

The list is here: https://github.com/bgp/RFC8212

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Signed-off-by: Donatas Abraitis <donatas.abraitis@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/96ea5e3af275962cf726098ca65bccec/raw/105f7a2e77fdf701a9de2b3581d14d3c39e372aa/cr_6164_1586869317.diff | git apply

diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index f5a648b50..540be2060 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -101,10 +101,15 @@ FRR_CFG_DEFAULT_ULONG(BGP_KEEPALIVE,
 	{ .val_ulong = 60 },
 )
 FRR_CFG_DEFAULT_BOOL(BGP_EBGP_REQUIRES_POLICY,
-	{ .val_bool = false, .match_profile = "datacenter", },
-	{ .val_bool = false, .match_version = "< 7.4", },
-	{ .val_bool = true },
-)
+		     {
+			     .val_bool = false,
+			     .match_profile = "datacenter",
+		     },
+		     {
+			     .val_bool = false,
+			     .match_version = "< 7.4",
+		     },
+		     {.val_bool = true}, )
 
 DEFINE_HOOK(bgp_inst_config_write,
 		(struct bgp *bgp, struct vty *vty),

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

@ton31337 ton31337 requested a review from eqvinox April 14, 2020 13:06
@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 14, 2020

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/6164 8971c2d
Date 04/14/2020
Start 09:37:05
Finish 10:02:54
Run-Time 25:49
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-14-09:37:05.txt
Log autoscript-2020-04-14-09:38:01.log.bz2
Memory 479 487 426

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-11840/

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-11840/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-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-14-g8971c2d82-0 (missing) -> 7.4-dev-20200414-14-g8971c2d82-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-14-g8971c2d82-0 (missing) -> 7.4-dev-20200414-14-g8971c2d82-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-14-g8971c2d82-0 (missing) -> 7.4-dev-20200414-14-g8971c2d82-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-14-g8971c2d82-0 (missing) -> 7.4-dev-20200414-14-g8971c2d82-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-14-g8971c2d82-0 (missing) -> 7.4-dev-20200414-14-g8971c2d82-0~deb10u1

@Spantik Spantik assigned Spantik and unassigned Spantik Apr 14, 2020
@Spantik Spantik self-requested a review April 14, 2020 15:38
@ton31337
Copy link
Member Author

@Spantik @eqvinox anything else here?

@donaldsharp donaldsharp merged commit 8b1e4f3 into FRRouting:master Apr 18, 2020
@ton31337 ton31337 deleted the feature/rfc8212_enabled_traditional_profile branch April 18, 2020 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bgp documentation tests Topotests, make check, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants