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

lib: yang defination for basic routing frr-routing #5530

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

vishaldhingra
Copy link
Contributor

@vishaldhingra vishaldhingra commented Dec 12, 2019

Yang files for basic frr-routing used by other
daemons like staticd and pim

Co-authored-by: Santosh P K sapk@vmware.com
Co-authored-by: vishaldhingra vdhingra@vmware.com
Signed-off-by: vishaldhingra vdhingra@vmware.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!

  • One of your commits has a missing or badly formatted Signed-off-by line; we can't accept your contribution until all of your commits have one

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

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-10085/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.3-dev-20191211-00-geec5d7b12-0 (missing) -> 7.3-dev-20191211-00-geec5d7b12-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191211-00-geec5d7b12-0 (missing) -> 7.3-dev-20191211-00-geec5d7b12-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191211-00-geec5d7b12-0 (missing) -> 7.3-dev-20191211-00-geec5d7b12-0~deb10u1
W: frr: spelling-error-in-readme-debian explecitly explicitly
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191211-00-geec5d7b12-0 (missing) -> 7.3-dev-20191211-00-geec5d7b12-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191211-00-geec5d7b12-0 (missing) -> 7.3-dev-20191211-00-geec5d7b12-0~deb10u1

CLANG Static Analyzer Summary

  • Github Pull Request 5530, comparing to Git base SHA a5f271c

No Changes in Static Analysis warnings compared to base

1 Static Analyzer issues remaining.

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

@qlyoung
Copy link
Member

qlyoung commented Dec 19, 2019

This is going nowhere until the signoff line is fixed.

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 has a missing or badly formatted Signed-off-by line; we can't accept your contribution until all of your commits have one

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

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 has a missing or badly formatted Signed-off-by line; we can't accept your contribution until all of your commits have one

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

@vishaldhingra vishaldhingra changed the title lib: yang defination for ietf:interfaces, vrf, ietf-routing lib: yang defination for basic routing frr-routing Dec 20, 2019
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 has a missing or badly formatted Signed-off-by line; we can't accept your contribution until all of your commits have one

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

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: FAILED

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

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

FreeBSD 11 amd64 build: Failed (click for details)

Make failed for FreeBSD 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10173/artifact/CI009BUILD/ErrorLog/log_make.txt)

  CC       lib/json.lo
  CC       lib/keychain.lo
  CC       lib/lib_errors.lo
  CC       lib/libfrr.lo
  CC       lib/linklist.lo
  CC       lib/log.lo
  CLIPPY   lib/log_vty_clippy.c
  CC       lib/log_vty.lo
  CC       lib/md5.lo

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10173/artifact/CI009BUILD/config.status/config.status

Successful on other platforms
  • Debian 8 amd64 build
  • Debian 10 amd64 build
  • NetBSD 6 amd64 build
  • CentOS 7 amd64 build
  • OpenBSD 6 amd64 build
  • Ubuntu 16.04 amd64 build
  • Ubuntu 18.04 amd64 build
  • FreeBSD 12 amd64 build
  • Ubuntu 18.04 ppc64le build
  • NetBSD 8 amd64 build
  • Debian 9 amd64 build
  • Ubuntu 14.04 amd64 build
  • Ubuntu 12.04 amd64 build
  • Fedora 29 amd64 build
  • Ubuntu 16.04 i386 build

@polychaeta polychaeta dismissed stale reviews from themself December 20, 2019 06:56

blocking comments addressed

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: FAILED

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

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

FreeBSD 11 amd64 build: Failed (click for details)

Make failed for FreeBSD 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10178/artifact/CI009BUILD/ErrorLog/log_make.txt)

  CC       lib/json.lo
  CC       lib/keychain.lo
  CC       lib/lib_errors.lo
  CC       lib/libfrr.lo
  CC       lib/linklist.lo
  CC       lib/log.lo
  CLIPPY   lib/log_vty_clippy.c
  CC       lib/log_vty.lo
  CC       lib/md5.lo

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10178/artifact/CI009BUILD/config.status/config.status

Successful on other platforms
  • Ubuntu 18.04 amd64 build
  • CentOS 7 amd64 build
  • FreeBSD 12 amd64 build
  • Ubuntu 14.04 amd64 build
  • Debian 8 amd64 build
  • Ubuntu 18.04 ppc64le build
  • Debian 9 amd64 build
  • OpenBSD 6 amd64 build
  • NetBSD 8 amd64 build
  • Ubuntu 16.04 amd64 build
  • NetBSD 6 amd64 build
  • Ubuntu 12.04 amd64 build
  • Ubuntu 16.04 i386 build
  • Fedora 29 amd64 build
  • Debian 10 amd64 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-10178/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-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1
W: frr: spelling-error-in-readme-debian explecitly explicitly
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1

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

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.


CLANG Static Analyzer Summary

  • Github Pull Request 5530, comparing to Git base SHA 7d75ef8

No Changes in Static Analysis warnings compared to base

1 Static Analyzer issues remaining.

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

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

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.


CLANG Static Analyzer Summary

  • Github Pull Request 5530, comparing to Git base SHA 7d75ef8

No Changes in Static Analysis warnings compared to base

1 Static Analyzer issues remaining.

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

@qlyoung qlyoung added the yang label Jan 14, 2020
@Spantik
Copy link
Member

Spantik commented Jan 24, 2020

ci:rerun

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: FAILED

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

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

FreeBSD 11 amd64 build: Failed (click for details)

Make failed for FreeBSD 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10532/artifact/CI009BUILD/ErrorLog/log_make.txt)

 9595 |    CPP_NOTICE(
ospfd/ospf_neighbor.c: In function 'ospf_nbr_lookup':
ospfd/ospf_neighbor.c:410:45: error: taking address of packed member of 'struct ip' may result in an unaligned pointer value [-Werror=address-of-packed-member]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7476: ospfd/ospf_neighbor.o] Error 1
In file included from ./lib/yang_wrappers.h:23,
eigrpd/eigrp_packet.c: In function 'eigrp_read':
eigrpd/eigrp_packet.c:552:25: error: taking address of packed member of 'struct ip' may result in an unaligned pointer value [-Werror=address-of-packed-member]
./lib/prefix.h:344:46: note: in definition of macro 'IPV4_ADDR_SAME'

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10532/artifact/CI009BUILD/config.status/config.status

Successful on other platforms
  • Ubuntu 14.04 amd64 build
  • Ubuntu 18.04 amd64 build
  • FreeBSD 12 amd64 build
  • Ubuntu 16.04 i386 build
  • Debian 9 amd64 build
  • Debian 8 amd64 build
  • Ubuntu 18.04 ppc64le build
  • OpenBSD 6 amd64 build
  • NetBSD 8 amd64 build
  • NetBSD 6 amd64 build
  • Ubuntu 16.04 amd64 build
  • CentOS 7 amd64 build
  • Ubuntu 12.04 amd64 build
  • Debian 10 amd64 build
  • Fedora 29 amd64 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-10532/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-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1
W: frr: spelling-error-in-readme-debian explecitly explicitly
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20191220-00-g942443e73-0 (missing) -> 7.3-dev-20191220-00-g942443e73-0~deb10u1

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: FAILED

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

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

FreeBSD 11 amd64 build: Failed (click for details)

Make failed for FreeBSD 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10534/artifact/CI009BUILD/ErrorLog/log_make.txt)

 9595 |    CPP_NOTICE(
ospfd/ospf_neighbor.c: In function 'ospf_nbr_lookup':
ospfd/ospf_neighbor.c:410:45: error: taking address of packed member of 'struct ip' may result in an unaligned pointer value [-Werror=address-of-packed-member]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7476: ospfd/ospf_neighbor.o] Error 1
In file included from ./lib/yang_wrappers.h:23,
eigrpd/eigrp_packet.c: In function 'eigrp_read':
eigrpd/eigrp_packet.c:552:25: error: taking address of packed member of 'struct ip' may result in an unaligned pointer value [-Werror=address-of-packed-member]
./lib/prefix.h:344:46: note: in definition of macro 'IPV4_ADDR_SAME'

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10534/artifact/CI009BUILD/config.status/config.status

Successful on other platforms
  • Ubuntu 16.04 amd64 build
  • Ubuntu 14.04 amd64 build
  • Ubuntu 16.04 i386 build
  • Ubuntu 18.04 amd64 build
  • Debian 8 amd64 build
  • NetBSD 6 amd64 build
  • Ubuntu 18.04 ppc64le build
  • CentOS 7 amd64 build
  • Debian 9 amd64 build
  • OpenBSD 6 amd64 build
  • Ubuntu 12.04 amd64 build
  • NetBSD 8 amd64 build
  • Fedora 29 amd64 build
  • FreeBSD 12 amd64 build
  • Debian 10 amd64 build

@vishaldhingra
Copy link
Contributor Author

Basic-Routing-Issue

@vishaldhingra
Copy link
Contributor Author

I am getting below error after running below commands:

git clone https://github.com/vishaldhingra/frr.git
git remote add upstream https://github.com/FRRouting/frr.git
git fetch upstream
git checkout nb_conversions

I feel it's a rights issue. Please find the logs

Logs :

root@dev:~/nb/frr# git remote add upstream https://github.com/FRRouting/frr.git
root@dev:~/nb/frr# git fetch upstream
remote: Enumerating objects: 3764, done.
remote: Counting objects: 100% (3764/3764), done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 6836 (delta 3739), reused 3753 (delta 3737), pack-reused 3072
Receiving objects: 100% (6836/6836), 3.26 MiB | 1017.00 KiB/s, done.
Resolving deltas: 100% (4906/4906), completed with 1098 local objects.
From https://github.com/FRRouting/frr
 * [new branch]      bgp_ls     -> upstream/bgp_ls
 * [new branch]      debian/buster -> upstream/debian/buster
 * [new branch]      debian/master -> upstream/debian/master
 * [new branch]      dev/7.3    -> upstream/dev/7.3
 * [new branch]      dev_isis_sr -> upstream/dev_isis_sr
 * [new branch]      master     -> upstream/master
 * [new branch]      nb_conversions -> upstream/nb_conversions
 * [new branch]      stable/2.0 -> upstream/stable/2.0
 * [new branch]      stable/3.0 -> upstream/stable/3.0
 * [new branch]      stable/4.0 -> upstream/stable/4.0
 * [new branch]      stable/5.0 -> upstream/stable/5.0
 * [new branch]      stable/6.0 -> upstream/stable/6.0
 * [new branch]      stable/7.0 -> upstream/stable/7.0
 * [new branch]      stable/7.1 -> upstream/stable/7.1
 * [new branch]      stable/7.2 -> upstream/stable/7.2
 * [new branch]      support_bundle -> upstream/support_bundle
 * [new tag]         base_7.2   -> base_7.2
 * [new tag]         debian/frr-6.0.3-1 -> debian/frr-6.0.3-1
 * [new tag]         frr-3.0.4  -> frr-3.0.4
 * [new tag]         frr-4.0.1  -> frr-4.0.1
 * [new tag]         frr-6.1-dev -> frr-6.1-dev
 * [new tag]         frr-7.1-dev -> frr-7.1-dev
 * [new tag]         frr-7.2-dev -> frr-7.2-dev
 * [new tag]         frr-7.2.1  -> frr-7.2.1
 * [new tag]         frr-7.3-dev -> frr-7.3-dev
 * [new tag]         base_7.3   -> base_7.3
 * [new tag]         debian/frr-6.0.2-1 -> debian/frr-6.0.2-1
 * [new tag]         debian/frr-6.0.2-2 -> debian/frr-6.0.2-2
 * [new tag]         frr-5.0.2  -> frr-5.0.2
 * [new tag]         frr-6.0    -> frr-6.0
 * [new tag]         frr-6.0.1  -> frr-6.0.1
 * [new tag]         frr-6.0.2  -> frr-6.0.2
 * [new tag]         frr-6.0.3  -> frr-6.0.3
 * [new tag]         frr-7.0    -> frr-7.0
 * [new tag]         frr-7.0.1  -> frr-7.0.1
 * [new tag]         frr-7.1    -> frr-7.1
 * [new tag]         frr-7.2    -> frr-7.2
 * [new tag]         frr-7.4-dev -> frr-7.4-dev
root@dev:~/nb/frr# git checkout nb_conversions
error: pathspec 'nb_conversions' did not match any file(s) known to git.

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: FAILED

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

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

FreeBSD 11 amd64 build: Failed (click for details)

Make failed for FreeBSD 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10543/artifact/CI009BUILD/ErrorLog/log_make.txt)

 9595 |    CPP_NOTICE(
ospfd/ospf_neighbor.c: In function 'ospf_nbr_lookup':
ospfd/ospf_neighbor.c:410:45: error: taking address of packed member of 'struct ip' may result in an unaligned pointer value [-Werror=address-of-packed-member]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7476: ospfd/ospf_neighbor.o] Error 1
In file included from ./lib/yang_wrappers.h:23,
eigrpd/eigrp_packet.c: In function 'eigrp_read':
eigrpd/eigrp_packet.c:552:25: error: taking address of packed member of 'struct ip' may result in an unaligned pointer value [-Werror=address-of-packed-member]
./lib/prefix.h:344:46: note: in definition of macro 'IPV4_ADDR_SAME'

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10543/artifact/CI009BUILD/config.status/config.status

Successful on other platforms
  • Ubuntu 18.04 ppc64le build
  • Debian 9 amd64 build
  • Ubuntu 12.04 amd64 build
  • Ubuntu 16.04 i386 build
  • Fedora 29 amd64 build
  • NetBSD 6 amd64 build
  • CentOS 7 amd64 build
  • Debian 8 amd64 build
  • FreeBSD 12 amd64 build
  • Ubuntu 14.04 amd64 build
  • Debian 10 amd64 build
  • OpenBSD 6 amd64 build
  • NetBSD 8 amd64 build
  • Ubuntu 16.04 amd64 build
  • Ubuntu 18.04 amd64 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-10543/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-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1
W: frr: spelling-error-in-readme-debian explecitly explicitly
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1

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

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-10543/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-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1
W: frr: spelling-error-in-readme-debian explecitly explicitly
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200128-00-gdbb89003e-0 (missing) -> 7.3-dev-20200128-00-gdbb89003e-0~deb10u1

CLANG Static Analyzer Summary

  • Github Pull Request 5530, comparing to Git base SHA 7d75ef8

No Changes in Static Analysis warnings compared to base

1 Static Analyzer issues remaining.

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

@Spantik Spantik requested a review from qlyoung January 31, 2020 16:03
Copy link
Member

@qlyoung qlyoung left a comment

Choose a reason for hiding this comment

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

Just a few comments. IMO our YANG descriptions should describe the objects being modeled, not the model itself.

yang/frr-routing.yang Show resolved Hide resolved
}
description
"Type of the control-plane protocol -- an identity
derived from the 'control-plane-protocol'
Copy link
Member

Choose a reason for hiding this comment

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

Let's not be too detailed in the descriptions; they are used to add information that isn't immediately obvious from the model itself. Plus if the name of the base ever changes the description will be out of date and the model will still validate.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

leaf vrf {
type frr-vrf:vrf-ref;
description
"routing instance";
Copy link
Member

Choose a reason for hiding this comment

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

VRF of routing instance?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

}

identity static {
base routing-protocol;
Copy link
Member

Choose a reason for hiding this comment

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

I believe this identity could be defined in the staticd module instead (which should augment this one).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done, It's part of static yang now.

}

identity direct {
base routing-protocol;
Copy link
Member

Choose a reason for hiding this comment

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

We should also have identities to the other base route types: kernel and system (?). And maybe we could name this connected instead since this is the term most people are used to.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have removed this identity, as it's a route type. For route type frr-route-types.yang is already there.

/* Type Definitions */

typedef route-preference {
type uint32;
Copy link
Member

Choose a reason for hiding this comment

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

Rename to administrative-distance? Or at least make it clear what this means in the description (I wouldn't be shy to reuse the original description from the IETF module).

Also, this needs to be uint8 for FRR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@vishaldhingra vishaldhingra force-pushed the common_nb branch 2 times, most recently from e7860ed to c16f9f5 Compare February 7, 2020 09:29
@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: FAILED

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

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

FreeBSD 11 amd64 build: Failed (click for details)

Make failed for FreeBSD 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10659/artifact/CI009BUILD/ErrorLog/log_make.txt)

 9595 |    CPP_NOTICE(
ospfd/ospf_neighbor.c: In function 'ospf_nbr_lookup':
ospfd/ospf_neighbor.c:410:45: error: taking address of packed member of 'struct ip' may result in an unaligned pointer value [-Werror=address-of-packed-member]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7476: ospfd/ospf_neighbor.o] Error 1
In file included from ./lib/yang_wrappers.h:23,
eigrpd/eigrp_packet.c: In function 'eigrp_read':
eigrpd/eigrp_packet.c:552:25: error: taking address of packed member of 'struct ip' may result in an unaligned pointer value [-Werror=address-of-packed-member]
./lib/prefix.h:344:46: note: in definition of macro 'IPV4_ADDR_SAME'

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-10659/artifact/CI009BUILD/config.status/config.status

Successful on other platforms
  • Ubuntu 18.04 amd64 build
  • FreeBSD 12 amd64 build
  • Ubuntu 14.04 amd64 build
  • Debian 8 amd64 build
  • Ubuntu 18.04 ppc64le build
  • Debian 9 amd64 build
  • OpenBSD 6 amd64 build
  • NetBSD 8 amd64 build
  • NetBSD 6 amd64 build
  • CentOS 7 amd64 build
  • Ubuntu 16.04 amd64 build
  • Ubuntu 12.04 amd64 build
  • Ubuntu 16.04 i386 build
  • Fedora 29 amd64 build
  • Debian 10 amd64 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-10659/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-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200207-00-ge7860ed39-0 (missing) -> 7.3-dev-20200207-00-ge7860ed39-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200207-00-ge7860ed39-0 (missing) -> 7.3-dev-20200207-00-ge7860ed39-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200207-00-ge7860ed39-0 (missing) -> 7.3-dev-20200207-00-ge7860ed39-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200207-00-ge7860ed39-0 (missing) -> 7.3-dev-20200207-00-ge7860ed39-0~deb10u1
W: frr: spelling-error-in-readme-debian explecitly explicitly
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.3-dev-20200207-00-ge7860ed39-0 (missing) -> 7.3-dev-20200207-00-ge7860ed39-0~deb10u1

@vishaldhingra
Copy link
Contributor Author

@rwestphal and @qlyoung thanks for your review.

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

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-10660/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-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200207-00-gc16f9f508-0 (missing) -> 7.4-dev-20200207-00-gc16f9f508-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200207-00-gc16f9f508-0 (missing) -> 7.4-dev-20200207-00-gc16f9f508-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200207-00-gc16f9f508-0 (missing) -> 7.4-dev-20200207-00-gc16f9f508-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200207-00-gc16f9f508-0 (missing) -> 7.4-dev-20200207-00-gc16f9f508-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200207-00-gc16f9f508-0 (missing) -> 7.4-dev-20200207-00-gc16f9f508-0~deb10u1

@qlyoung qlyoung added the review & merge me look at me! label Feb 7, 2020
lib/subdir.am Outdated
@@ -106,6 +106,7 @@ nodist_lib_libfrr_la_SOURCES = \
yang/frr-interface.yang.c \
yang/frr-route-types.yang.c \
yang/frr-vrf.yang.c \
yang/frr-routing.yang.c \
Copy link
Member

Choose a reason for hiding this comment

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

Please fix the formatting here; use tabs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Yang files for basic frr-routing used by other
daemons like staticd and pim

Co-authored-by: Santosh P K <sapk@vmware.com>
Co-authored-by: vishaldhingra <vdhingra@vmware.com>
Signed-off-by: vishaldhingra <vdhingra@vmware.com>
@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-10671/

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.

@qlyoung qlyoung merged commit aa9935c into FRRouting:nb_conversions Feb 14, 2020
@vishaldhingra vishaldhingra deleted the common_nb branch February 18, 2021 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants