David Lamparter
2f9a659926
tests: ignore stderr for expect
...
expect redirects both stdout and stderr to its input. This causes
serious problems when libzebra prints log messages to stderr, which are
then asynchronously inserted in the middle of lines of stdout test
output. Ultimately this makes testbgpmpattr fail on FreeBSD.
(The stdio buffering seems to be slightly different on FreeBSD,
triggering the bug.)
Just ignore stderr for expect.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2017-01-13 11:23:18 +01:00
Quentin Young
903c7f556e
apply rename to readme.md
2017-01-12 13:10:48 -05:00
Donald Sharp
dc54fc5360
Merge pull request #65 from LabNConsulting/working/2.0/afi-safi-vty/c
...
Updated: stable/2.0 pull to pick up bgp afi/safi vty changes (Issues #14 and #61 )
2017-01-12 12:54:30 -05:00
Donald Sharp
67855c1f76
Merge pull request #66 from pguibert6WIND/frr_6wind_afisafi_iana_1
...
Quagga: AFI/SAFI mappings IANA to/from internal values
2017-01-12 12:53:00 -05:00
Lou Berger
912e52346f
bgpd: convert 'show_ip_bgp_vpnv4' to afi/safi form (Issue #61 )
2017-01-12 09:36:24 -05:00
Lou Berger
8c90786c95
bgpd: remove code contained by ifdef KEEP_OLD_VPNV4_COMMANDS
...
Signed-off-by: Lou Berger <lberger@labn.net>
2017-01-12 08:54:22 -05:00
vivek
9cabb64b32
Quagga: AFI/SAFI mappings IANA to/from internal values
...
Introduce internal and IANA defintions for AFI/SAFI and mapping
functions and modify code to use these. This refactoring will
facilitate adding support for other AFI/SAFI whose IANA values
won't be suitable for internal data structure definitions (e.g.,
they are not contiguous).
The commit adds some fixes related to afi/safi testing with 'make check
' command.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Ticket: CM-11416
Reviewed By: CCR-3594 (mpls branch)
Testing Done: Not tested now, tested earlier on mpls branch
2017-01-12 09:28:43 +01:00
Lou Berger
ec3484d972
bgpd: conditionally compile out old vpnv4 syntax (Issue #61 )
...
(under ifdef KEEP_OLD_VPNV4_COMMANDS)
Signed-off-by: Lou Berger <lberger@labn.net>
2017-01-11 09:22:08 -05:00
Lou Berger
bbe820a858
bgpd: restore wildcard handling in show summary (Issue#14)
...
Includes more branch specific afi/safi changes
Signed-off-by: Lou Berger <lberger@labn.net>
2017-01-11 09:22:08 -05:00
Lou Berger
d02fbbdb08
bgpd: restore some missing afi/safi commands (Issue #14 )
...
Added defines and parse utility functions
Fix vty code that treated vpn&encap as AFIs
and some other related vty printing/handline issues
Note: Includes branch specific changes (due to new parser)
Signed-off-by: Lou Berger <lberger@labn.net>
2017-01-11 09:21:22 -05:00
Donald Sharp
d504ec224a
Merge remote-tracking branch 'origin/develop'
2017-01-11 08:25:17 -05:00
Quentin Young
2af38873d8
lib: limit size of vty buffer to 4096 bytes
...
This removes the automatic resizing of the vty input buffer and places a
hard size cap of 4096 bytes. It also fixes a potentially unsafe strcpy.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-01-10 23:33:50 +00:00
Donald Sharp
39904419ed
bgpd: Fixing list options to be right
...
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-09 16:13:40 -05:00
Donald Sharp
bdffbcef39
bgpd: Some more cleanup of commands found by vtysh
...
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-09 15:59:17 -05:00
Donald Sharp
1634b1bd1f
vtysh: Add 'vnc l2-group NAME' to exclusion list
...
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-09 15:35:28 -05:00
Donald Sharp
f50b77f4b5
Merge pull request #58 from opensourcerouting/libxml-check
...
build: check if the LibXML perl module is available
2017-01-09 10:45:49 -05:00
Donald Sharp
034d2de2e6
bgpd: Fixup some vnc cli
...
Fixup the vnc cli to use the new syntax as well as fixup a bunch
of cli help strings that were wrong.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-09 10:25:16 -05:00
Donald Sharp
4e93448fbe
lib: Fixup 'ipv6 distribute-list ... ' cli help strings
...
Fixup the cli help strings for 'ipv6 distribute-list [prefix] WORD <in|out> [WORD]'
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-09 10:22:39 -05:00
Renato Westphal
95f5922d27
build: check if the LibXML perl module is available
...
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2017-01-09 12:38:26 -02:00
Olivier Dugeon
71c02a782a
Merge pull request #51 from donaldsharp/atol_borked
...
Atol borked
2017-01-09 15:26:41 +01:00
Olivier Dugeon
b98f56422e
Merge pull request #55 from donaldsharp/monotonic
...
Monotonic
2017-01-09 15:26:16 +01:00
Olivier Dugeon
bf20dc0010
Merge pull request #56 from qlyoung/if-metric
...
lib: make interface metric a uint32_t
2017-01-09 15:25:40 +01:00
Donald Sharp
556022477e
Merge pull request #47 from donaldsharp/valgrind
...
Valgrind
2017-01-09 09:17:17 -05:00
Quentin Young
46a9496b7e
redhat: update .gitignore
...
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-01-09 02:36:53 +00:00
Quentin Young
d92c729ba5
lib: make interface metric a uint32_t
...
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-01-09 01:35:41 +00:00
Donald Sharp
3814903108
bgpd: Remove knowledge of HAVE_CLOCK_MONTONIC
...
thread.c fails to build properly on systems that do
not have a CLOCK_MONOTONIC. Therefore there is
no need for bgp to have knowledge of it.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-07 19:23:50 -05:00
Donald Sharp
37335ee22a
pimd: Remove knowledge of HAVE_CLOCK_MONOTONIC
...
thread.c fails to build if we do not have CLOCK_MONOTONIC
no need to have pim have any knowledge of it.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-07 19:21:21 -05:00
Donald Sharp
9577471362
Merge pull request #54 from LabNConsulting/working/master/afi-safi-vty/a
...
Working/master/afi safi vty/a
2017-01-07 17:14:27 -05:00
Lou Berger
c9e571b47c
bgpd: fixup safi as afi confusion in show update-groups
2017-01-07 13:41:33 -05:00
Lou Berger
271627344c
bgpd: restore wildcard handling in show summary (Issue#14)
2017-01-07 13:31:32 -05:00
Lou Berger
46f296b402
bgpd: restore some missing afi/safi commands (Issue #14 )
...
Added defines and parse utility functions
Fix vty code that treated vpn&encap as AFIs
and some other related vty printing/handline issues
2017-01-07 13:30:50 -05:00
Donald Sharp
3324ef9359
Merge pull request #10 from qlyoung/fix-proto_redistnum
...
all: use ->text when parsing protocol argument
2017-01-06 19:46:41 -05:00
Quentin Young
b84aadae44
Merge branch 'master' into fix-proto_redistnum
2017-01-06 19:44:46 -05:00
Donald Sharp
9648f98729
Merge pull request #35 from qlyoung/fix-zebra-rf
...
zebra: check route flags when deciding whether to update existing route
2017-01-06 19:42:09 -05:00
Donald Sharp
40bfb7248f
Merge pull request #32 from qlyoung/fix-cli-nits2
...
bgpd, ospfd, zebra: remove duplicate cli installs
2017-01-06 19:38:28 -05:00
Donald Sharp
ff74b033d3
Merge pull request #30 from qlyoung/fix-cli-nits
...
vtysh: add `logical-router ...` to extract.pl ignore list
2017-01-06 19:37:28 -05:00
Donald Sharp
46c323a66b
Merge pull request #27 from qlyoung/fix-derefs2
...
bgpd, lib: fix a few scan-build catches
2017-01-06 19:36:59 -05:00
Donald Sharp
15667da96d
Merge pull request #24 from qlyoung/fix-uninitialized-jump
...
lib: Initialize ->allowrepeat
2017-01-06 19:34:09 -05:00
Donald Sharp
141a78c3f2
Merge pull request #53 from opensourcerouting/fixes/isis-for-stable
...
isisd: clean up own LSPs correctly on update
2017-01-06 15:13:43 -05:00
Christian Franke
07f2fb1374
isisd: clean up own LSPs correctly on update
...
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2017-01-06 20:21:02 +01:00
Donald Sharp
aac93a83e3
Merge pull request #40 from opensourcerouting/ldpd-ordered-output
...
ldpd ordered output - fixes issue#18
2017-01-06 14:01:23 -05:00
Donald Sharp
6847b9bfb9
Merge pull request #39 from opensourcerouting/renato-assorted-fixes
...
Renato's assorted patches
2017-01-06 14:00:29 -05:00
Donald Sharp
b89e46b2e2
Merge remote-tracking branch 'origin/stable/2.0'
2017-01-06 12:48:32 -05:00
Donald Sharp
799522a7a4
Merge pull request #50 from mwinter-osr/redhat-pkg-rename
...
Redhat pkg rename
2017-01-06 12:41:43 -05:00
Donald Sharp
ec91182539
zebra: Allow tag values greater than 2 billion on arm
...
Due to the usage of atol, values that are larger than
2 billion on arm for tag are not converted correctly.
Ticket: CM-14099
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-06 12:37:44 -05:00
Donald Sharp
e14fda0fb4
bgpd: Allow 'neighbor X local-as Y' to have large values
...
On ARM platforms specifying a local-as greater than
2 billion causes issues due to atoi usage.
Ticket: CM-14019
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-01-06 12:37:10 -05:00
Martin Winter
8b0cdbb8aa
configure.ac: rename red hat spec from quagga.spec to frr.spec
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-01-07 00:12:16 +07:00
Martin Winter
c97ef38223
cumulus files: Rename Project from Quagga to FRR
...
Default files used by redhat package scripts
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-01-07 00:10:57 +07:00
Martin Winter
c115e4a4b4
redhat: rename project from Quagga to FRR
...
Rename all instances of Quagga to FRR in red hat package files
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-01-06 23:45:13 +07:00
Donald Sharp
2ad8ae5ca6
Merge pull request #49 from pguibert6WIND/frr_6wind_mpbgpgracefulrestart_2
...
Graceful Restart Route Preservation
2017-01-06 10:22:11 -05:00