]>
git.puffer.fish Git - matthieu/frr.git/log
Daniel Walton [Tue, 27 Sep 2016 00:27:00 +0000 (00:27 +0000)]
Merge branch 'vtysh-grammar' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into vtysh-grammar
Daniel Walton [Tue, 27 Sep 2016 00:26:41 +0000 (00:26 +0000)]
pimd: removed undebug CHECK MEs
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Quentin Young [Tue, 27 Sep 2016 00:10:55 +0000 (00:10 +0000)]
Merge branch 'vtysh-grammar' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into vtysh-grammar
Quentin Young [Tue, 27 Sep 2016 00:10:31 +0000 (00:10 +0000)]
ripd, ripngd: cli refactor
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Daniel Walton [Tue, 27 Sep 2016 00:07:46 +0000 (00:07 +0000)]
bgpd, etc: changed .LINE to LINE...
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Mon, 26 Sep 2016 23:50:02 +0000 (23:50 +0000)]
bgpd: fixed more CHECK MEs
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Donald Sharp [Mon, 26 Sep 2016 15:51:10 +0000 (11:51 -0400)]
zebra: Put back missing code
When pulling forward the zebra_vty.c changes I accidently dropped
these changes from earlier commits.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Mon, 26 Sep 2016 14:01:50 +0000 (10:01 -0400)]
zebra: Refactor 'no ipv6 route XXXX' for new cli
Refactor the 'no ipv6 route XXXX' commands to
work under the new cli and to collapse the code
to a much smaller set.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Mon, 26 Sep 2016 13:23:26 +0000 (09:23 -0400)]
zebra: Refactor 'ipv6 route XXXX' for new cli
Take existing code for 'ipv6 route XXX' and
refactor to use the new cli.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Mon, 26 Sep 2016 12:10:57 +0000 (08:10 -0400)]
zebra: Fixup 'no ip route....'
Rework the 'no ip route XXXX' commands to use the new cli
and collapse all DEFUN's that we could into a much smaller
set of commands.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Mon, 26 Sep 2016 15:25:28 +0000 (11:25 -0400)]
zebra: Refactore "ip route XXXXXX" commands
Convert all 'ip route XXXX' commands to use the new syntax and
collapse all functions that we can easily do.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Daniel Walton [Mon, 26 Sep 2016 20:56:20 +0000 (20:56 +0000)]
bgpd: compress "show ip bgp neighbor received prefix-list"
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Mon, 26 Sep 2016 18:44:58 +0000 (18:44 +0000)]
bgpd: compress bgp_show_neighbor_route() calls
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Mon, 26 Sep 2016 18:08:45 +0000 (18:08 +0000)]
bgpd: collaps show ip bgp, show ip bgp x.x.x.x, etc calls
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Mon, 26 Sep 2016 04:59:47 +0000 (04:59 +0000)]
bgpd: bgp_vty.c compiles now
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Mon, 26 Sep 2016 01:12:24 +0000 (01:12 +0000)]
bgpd: combine "show ip bgp summary" commands into one DEFUN
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Quentin Young [Mon, 26 Sep 2016 01:06:40 +0000 (01:06 +0000)]
bgpd: minor grammar corrections
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Daniel Walton [Mon, 26 Sep 2016 00:47:13 +0000 (00:47 +0000)]
bgpd: combine "clear bgp, clear ip bgp" commands into one DEFUN
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Sun, 25 Sep 2016 16:49:39 +0000 (16:49 +0000)]
Expand #defines in command strings
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Sun, 25 Sep 2016 14:22:48 +0000 (14:22 +0000)]
Expand #defines in command strings
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Sam Tannous <stannous@cumulusnetworks.com>
Ticket:
Daniel Walton [Sun, 25 Sep 2016 14:10:48 +0000 (14:10 +0000)]
Expand #defines in command strings
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Sun, 25 Sep 2016 03:00:04 +0000 (03:00 +0000)]
zebra: CHECK ME fixes
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Sun, 25 Sep 2016 02:29:38 +0000 (02:29 +0000)]
bgpd: fixed more CHECK MEs in bgp_vty.c
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Quentin Young [Sun, 25 Sep 2016 02:13:43 +0000 (02:13 +0000)]
zebra: refactor rtadv.c
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Sat, 24 Sep 2016 21:58:50 +0000 (21:58 +0000)]
zebra: refactor zserv.c
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Sat, 24 Sep 2016 17:42:34 +0000 (17:42 +0000)]
zebra: fix zebra_routemap.c checkme's
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Daniel Walton [Sat, 24 Sep 2016 03:14:42 +0000 (03:14 +0000)]
bgpd: fixed some CHECK MEs
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 22:12:11 +0000 (22:12 +0000)]
lib: added strmatch()
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Quentin Young [Fri, 23 Sep 2016 21:34:33 +0000 (21:34 +0000)]
lib: lib compiles
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 21:17:10 +0000 (21:17 +0000)]
zebra: zebra_vty.c compiles
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 20:17:29 +0000 (20:17 +0000)]
lib: add 'int idx_foo' argv index variables
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Quentin Young [Fri, 23 Sep 2016 20:11:04 +0000 (20:11 +0000)]
Merge branch 'vtysh-grammar' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into vtysh-grammar
Quentin Young [Fri, 23 Sep 2016 20:08:47 +0000 (20:08 +0000)]
lib: Implement removed ALIAS into DEFUN
N.B.: some of these are de-facto ALIAS resurrections
that are necessary due to some parser limitations; these
are marked with ALIAS_FIXME so I can go back and add
capability to the parser to handle these special cases.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 20:06:40 +0000 (20:06 +0000)]
ripd: add 'int idx_foo' argv index variables
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 20:04:42 +0000 (20:04 +0000)]
ripngd: add 'int idx_foo' argv index variables
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 20:03:41 +0000 (20:03 +0000)]
pimd: add 'int idx_foo' argv index variables
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 20:01:26 +0000 (20:01 +0000)]
ospfd: add 'int idx_foo' argv index variables
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 19:56:31 +0000 (19:56 +0000)]
ospf6d: add 'int idx_foo' argv index variables
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 19:50:58 +0000 (19:50 +0000)]
isisd: add 'int idx_foo' argv index variables
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 19:45:50 +0000 (19:45 +0000)]
bgpd: add 'int idx_foo' argv index variables
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 19:26:31 +0000 (19:26 +0000)]
zebra: add 'int idx_foo' argv index variables
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 17:22:42 +0000 (17:22 +0000)]
zebra: fix vrf argv index numbers
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 14:02:55 +0000 (14:02 +0000)]
zebra: compress multiple whitespaces in command string
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 14:02:28 +0000 (14:02 +0000)]
bgpd: fix hosed CMD_RANGE_STR
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 13:47:20 +0000 (13:47 +0000)]
convert <1-255> to (1-255), ()s to <>s, etc
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 13:27:26 +0000 (13:27 +0000)]
tools: argv_translator convert <1-255> to (1-255), ()s to <>s, etc
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 11:39:50 +0000 (11:39 +0000)]
Change {json} to [json]
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 11:33:50 +0000 (11:33 +0000)]
lib: undo <> -> () change I made yesterday
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 04:12:43 +0000 (04:12 +0000)]
tools: alias_destroyer re_install_element None check
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 03:55:26 +0000 (03:55 +0000)]
ALIAS removal for bgp, ospf, pim, isis, rip, ripng, lib and zebra
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 03:27:05 +0000 (03:27 +0000)]
tools: added alias_destroyer.py
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 01:20:49 +0000 (01:20 +0000)]
lib: argv update for distribute.c and ns.c
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 01:07:05 +0000 (01:07 +0000)]
isisd: argv update
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 00:58:26 +0000 (00:58 +0000)]
lib: argv update for filter.c, if_rmap.c keychain.c and plist.c
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 00:45:56 +0000 (00:45 +0000)]
ospf6d: argv update
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 00:14:41 +0000 (00:14 +0000)]
pimd: argv update
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Fri, 23 Sep 2016 00:01:25 +0000 (00:01 +0000)]
ripd: argv update
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Thu, 22 Sep 2016 23:51:23 +0000 (23:51 +0000)]
ripngd: argv update
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Quentin Young [Thu, 22 Sep 2016 22:53:09 +0000 (22:53 +0000)]
lib: argv update for routemap.c
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Thu, 22 Sep 2016 21:40:28 +0000 (21:40 +0000)]
lib: argv update for if.c
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Thu, 22 Sep 2016 20:32:34 +0000 (20:32 +0000)]
lib: argv update for thread.c
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Thu, 22 Sep 2016 20:26:07 +0000 (20:26 +0000)]
lib: argv fixes, XFREE -> free, rm decl in matcher
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Thu, 22 Sep 2016 20:17:48 +0000 (20:17 +0000)]
lib: distribute.c, smux.c, vty.c grammar refactor
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Daniel Walton [Thu, 22 Sep 2016 20:00:23 +0000 (20:00 +0000)]
zebra: argv update for all but zebra_vty.c
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Thu, 22 Sep 2016 19:15:24 +0000 (19:15 +0000)]
ospfd: argv update for all but ospf_vty.c
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Quentin Young [Thu, 22 Sep 2016 18:26:11 +0000 (18:26 +0000)]
lib: Remove last remnants of NUMBER_TKN...again
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Daniel Walton [Thu, 22 Sep 2016 18:23:29 +0000 (18:23 +0000)]
Revert "lib: Get thread.c to compile"
This reverts commit
9c5f6b578e9c8df1186a89cee51c02348beb480a .
Daniel Walton [Thu, 22 Sep 2016 18:23:21 +0000 (18:23 +0000)]
Revert "lib, zebra: Fixup if.c to work in the new regime"
This reverts commit
2511cb40e6b0e88620f26b3506b2a454a773c93d .
Daniel Walton [Thu, 22 Sep 2016 18:23:14 +0000 (18:23 +0000)]
Revert "lib: Fix vty.c to compile with new parser"
This reverts commit
c1ad0838e8de8184f6122b13472a60dbca009aa7 .
Daniel Walton [Thu, 22 Sep 2016 18:23:08 +0000 (18:23 +0000)]
Revert "lib: Fixup ns.c"
This reverts commit
5720e4ff9518275b23c28a3107a46d833eb387fa .
Daniel Walton [Thu, 22 Sep 2016 18:22:59 +0000 (18:22 +0000)]
Revert "lib: Fixup plist.c"
This reverts commit
c65a0fe1c664b5438a13aa1d756c121ff2fb7a80 .
Daniel Walton [Thu, 22 Sep 2016 18:22:50 +0000 (18:22 +0000)]
Revert "lib: Fixup more files"
This reverts commit
f68cec764abf50b35945b907a2e005bc50c50831 .
Daniel Walton [Thu, 22 Sep 2016 18:21:59 +0000 (18:21 +0000)]
Revert "zebra: Fixup to use the new parser"
This reverts commit
5c94274ff77b7ba53a27ed68eb4b0bcdafba47b2 .
Daniel Walton [Thu, 22 Sep 2016 18:21:49 +0000 (18:21 +0000)]
Revert "pimd: Convert to the new way of working"
This reverts commit
0564b02e432cba04f1245a5df77c2cf2893b51a3 .
Daniel Walton [Thu, 22 Sep 2016 18:21:43 +0000 (18:21 +0000)]
Revert "ripd: Fixup code to work under new way"
This reverts commit
224a3ed809ae23539cd49b85ada8516cb0b0a762 .
Daniel Walton [Thu, 22 Sep 2016 18:21:30 +0000 (18:21 +0000)]
Revert "isisd: Make work under new regime"
This reverts commit
38c249987301aac93bebc0cb7b51784d5827c066 .
Daniel Walton [Thu, 22 Sep 2016 18:16:18 +0000 (18:16 +0000)]
bgpd: more bgp_vty.c parser conversion
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Thu, 22 Sep 2016 15:15:50 +0000 (15:15 +0000)]
bgpd: argv update for all but bgp_vty.c
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton [Thu, 22 Sep 2016 14:00:39 +0000 (14:00 +0000)]
Added argv_translator.py
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
To use this run:
../tools/argv_translator.py bgp_route.c
It will update the argv[] instances with the corrent index and adds
'->arg'
Donald Sharp [Wed, 21 Sep 2016 03:46:23 +0000 (23:46 -0400)]
isisd: Make work under new regime
Donald Sharp [Wed, 21 Sep 2016 03:41:24 +0000 (23:41 -0400)]
ripd: Fixup code to work under new way
Donald Sharp [Wed, 21 Sep 2016 03:35:51 +0000 (23:35 -0400)]
pimd: Convert to the new way of working
Donald Sharp [Wed, 21 Sep 2016 03:29:43 +0000 (23:29 -0400)]
zebra: Fixup to use the new parser
Donald Sharp [Wed, 21 Sep 2016 03:20:02 +0000 (23:20 -0400)]
lib: Fixup json code to use struct cmd_token
Donald Sharp [Wed, 21 Sep 2016 02:26:30 +0000 (22:26 -0400)]
lib: Fixup more files
Quentin Young [Thu, 22 Sep 2016 00:28:16 +0000 (00:28 +0000)]
Merge branch 'vtysh-grammar' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into vtysh-grammar
Quentin Young [Thu, 22 Sep 2016 00:27:22 +0000 (00:27 +0000)]
lib: Remove NUMBER_TKN leftovers
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Wed, 21 Sep 2016 23:55:39 +0000 (23:55 +0000)]
lib: Use listnode_add_before for prepending nodes
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Wed, 21 Sep 2016 23:55:29 +0000 (23:55 +0000)]
lib: Update copyright headers
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Donald Sharp [Wed, 21 Sep 2016 01:58:16 +0000 (21:58 -0400)]
lib: Fixup plist.c
Donald Sharp [Wed, 21 Sep 2016 01:52:22 +0000 (21:52 -0400)]
lib: Fixup ns.c
Donald Sharp [Wed, 21 Sep 2016 01:49:32 +0000 (21:49 -0400)]
lib: Fix vty.c to compile with new parser
Donald Sharp [Wed, 21 Sep 2016 01:43:46 +0000 (21:43 -0400)]
lib, zebra: Fixup if.c to work in the new regime
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Wed, 21 Sep 2016 01:23:53 +0000 (21:23 -0400)]
lib: Get thread.c to compile
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Wed, 21 Sep 2016 01:17:34 +0000 (21:17 -0400)]
Merge remote-tracking branch 'origin/cmaster-next' into vtysh-grammar
Quentin Young [Wed, 21 Sep 2016 22:11:53 +0000 (22:11 +0000)]
Merge branch 'cmaster-next' into vtysh-grammar
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Conflicts:
lib/.gitignore
lib/command.c
lib/command.h
Lou Berger [Wed, 21 Sep 2016 13:51:30 +0000 (09:51 -0400)]
bgpd: Additional Show Commands
These commands were ported forward from these
commits:
f9b6c39 bgpd: Add back old forms of 'show <afi> <safi>' for compatibility
bf1ae6c bgpd: drop machineparse / random "show" improvements
651b402 bgpd: encap show commands
35c3686 bgpd: VPNv6 show commands
135ca15 bgpd: cleanup vty bgp_node_afi/safi utils
This is the first drop of those commits. The files have
changed too much and the diffs to extensive to try to do it
in one piece. Break it up into smaller code chunks.
Original Code:
Signed-off-by: Lou Berger <lberger@labn.net>
Forward Port:
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Wed, 21 Sep 2016 12:48:04 +0000 (08:48 -0400)]
lib: Add #define str for JavaScript help string
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 20 Sep 2016 07:11:02 +0000 (03:11 -0400)]
ospfd: Do not print warning on new interface
The new TE functions will always print out a warning
that TE has not been configured on an interface. This
should be a debug not a warn.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 20 Sep 2016 11:57:41 +0000 (07:57 -0400)]
bgpd: Revert --enable-bgp-standalone
Reverts the --enable-bgp-standalone and makes it so that you
need to use --enable-cumulus to get the cumulus behavior.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>