mirror_frr/tests
Donald Sharp 16286195e4 Overhual BGP debugs
Summary of changes
- added an option to enable keepalive debugs for a specific peer
- added an option to enable inbound and/or outbound updates debugs for a specific peer
- added an option to enable update debugs for a specific prefix
- added an option to enable zebra debugs for a specific prefix
- combined "deb bgp", "deb bgp events" and "deb bgp fsm" into "deb bgp neighbor-events". "deb bgp neighbor-events" can be enabled for a specific peer.
- merged "deb bgp filters" into "deb bgp update"
- moved the per-peer logging to one central log file. We now have the ability to filter all verbose debugs on a per-peer and per-prefix basis so we no longer need to keep log files per-peer. This simplifies troubleshooting by keeping all BGP logs in one location.  The use
r can then grep for the peer IP they are interested in if they wish to see the logs for a specific peer.
- Changed "show debugging" in isis to "show debugging isis" to be consistent with all other protocols.  This was very confusing for the user because they would type "show debug" and expect to see a list of debugs enabled across all protocols.
- Removed "undebug" from the parser for BGP.  Again this was to be consisten with all other protocols.
- Removed the "all" keyword from the BGP debug parser.  The user can now do "no debug bgp" to disable all BGP debugs, before you had to type "no deb all bgp" which was confusing.

The new parse tree for BGP debugging is:

deb bgp as4
deb bgp as4 segment
deb bgp keepalives [A.B.C.D|WORD|X:X::X:X]
deb bgp neighbor-events [A.B.C.D|WORD|X:X::X:X]
deb bgp nht
deb bgp updates [in|out] [A.B.C.D|WORD|X:X::X:X]
deb bgp updates prefix [A.B.C.D/M|X:X::X:X/M]
deb bgp zebra
deb bgp zebra prefix [A.B.C.D/M|X:X::X:X/M]
2015-05-19 17:58:12 -07:00
..
bgpd.tests tests: DejaGNU bgpd 2013-04-14 16:01:11 +02:00
config tests: DejaGNU libzebra 2013-04-14 16:01:19 +02:00
lib tests: DejaGNU libzebra 2013-04-14 16:01:19 +02:00
libzebra.tests tests: Add tests for timers 2014-04-22 21:15:11 +02:00
.gitignore tests: Add tests for timers 2014-04-22 21:15:11 +02:00
aspath_test.c tests: update & extend AS_PATH tests 2013-02-01 17:55:04 +01:00
bgp_capability_test.c Overhual BGP debugs 2015-05-19 17:58:12 -07:00
bgp_mp_attr_test.c Overhual BGP debugs 2015-05-19 17:58:12 -07:00
bgp_mpath_test.c cluster-id length equality for multipath 2015-05-19 17:40:31 -07:00
ecommunity_test.c tests: Fix some compile errors and warnings 2012-05-02 11:02:10 +01:00
global-conf.exp tests: add DejaGNU framework 2013-04-14 16:01:05 +02:00
heavy-thread.c 2004-05-25 Paul Jakma <paul@dishone.st> 2005-04-25 16:42:24 +00:00
heavy-wq.c delete CVS keywords 2011-09-27 21:34:26 +04:00
heavy.c 2004-05-25 Paul Jakma <paul@dishone.st> 2005-04-25 16:42:24 +00:00
main.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
Makefile.am tests: Add tests for timers 2014-04-22 21:15:11 +02:00
prng.c tests: add a test program for lib/command.c 2014-04-01 17:38:29 +02:00
prng.h tests: add a test program for lib/command.c 2014-04-01 17:38:29 +02:00
table_test.c lib/table: add route_table_get_next() and iterator 2012-09-26 21:50:48 +02:00
test-buffer.c 2004-09-06 Paul Jakma <paul@dishone.st> 2005-09-06 23:08:01 +00:00
test-checksum.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
test-commands.c lib/command.c: rewrite command matching/parsing 2014-04-01 20:21:41 +02:00
test-memory.c 2004-05-13 Paul Jakma <paul@dishone.st> 2005-04-13 03:31:35 +00:00
test-nexthop-iter.c zebra: rework recursive route resolution 2013-09-19 18:04:40 +02:00
test-privs.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
test-segv.c lib: fix backtraces broken by 837d16c... 2014-03-21 06:28:48 +01:00
test-sig.c tests: fix missing array_size() include 2012-11-03 09:13:23 -07:00
test-stream.c [tests] Add small unit test for the new stream functions 2006-01-10 14:49:04 +00:00
test-timer-correctness.c tests: Add tests for timers 2014-04-22 21:15:11 +02:00
test-timer-performance.c tests: Add tests for timers 2014-04-22 21:15:11 +02:00
testcommands.in ospfd/ospf_vty.c: use keyword cmd style 2014-04-01 20:21:42 +02:00
testcommands.refout ospfd/ospf_vty.c: use keyword cmd style 2014-04-01 20:21:42 +02:00