summaryrefslogtreecommitdiffstats
path: root/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "*: reindent pt. 2"David Lamparter2017-07-221-7/+6
| | | | | | | | | This reverts commit c14777c6bfd0a446c85243d3a9835054a259c276. clang 5 is not widely available enough for people to indent with. This is particularly problematic when rebasing/adjusting branches. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* *: reindent pt. 2whitespace / reindent2017-07-171-6/+7
| | | | | | | | w/ clang 5 * reflow comments * struct members go 1 per line * binpack algo was adjusted
* *: reindentreindent-master-afterwhitespace / reindent2017-07-173-375/+356
| | | | | | indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* tools: update to use FRR nameJafar Al-Gharaibeh2017-07-123-6/+6
| | | | Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
* tools: etc needed in extra dist to make distribution correctlyRyan Hagelstrom2017-07-071-1/+1
| | | | Signed-off-by: Ryan Hagelstrom <rhagelstrom@gmail.com>
* Merge pull request #707 from donaldsharp/debian_babelRuss White2017-06-202-0/+2
|\ | | | | tools: Fix startup to include babel
| * tools: Fix startup to include babelDonald Sharp2017-06-132-0/+2
| | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | ldpd: convert cli and get rid of the xml interfaceRenato Westphal2017-06-162-448/+0
|/ | | | | | | | | | | | | The xml2cli.pl script was useful years ago when the vty code was very rudimentary. This is not the case anymore, so convert all ldpd CLI commands to use DEFUNs directly and get rid of the XML interface. The benefits are: * Consistency with the other daemons; * One less build dependency (the LibXML perl module); * Easier to add new commands. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* Merge remote-tracking branch 'frr/master' into pull-624David Lamparter2017-06-131-2/+4
|\
| * tools, zebra: Fix netlink notification of who owns the routesDonald Sharp2017-06-081-1/+3
| | | | | | | | | | | | | | | | For NHRP, EIGRP and LDP( This is for consistency as opposed to correctness ) assign some new values to routes to be installed into the kernel so we can know who owns them later. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | tools, zebra: Allow zebra to insert babel routes as babelDonald Sharp2017-06-081-0/+1
|/ | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* Merge branch 'stable/3.0'David Lamparter2017-05-181-9/+47
|\ | | | | | | | | | | | | | | | | Conflicts: ospf6d/ospf6_lsa.c ospfd/ospf_vty.c zebra/interface.c Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
| * Merge branch stable/2.0 into stable/3.0David Lamparter2017-05-181-9/+47
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bgpd/bgp_fsm.c ospf6d/ospf6_lsa.c ospfd/ospf_vty.c zebra/redistribute.c Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
| | * tools: Allow frr-reload.py to know about agentxDaniel Walton2017-05-171-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| | * tools: frr-reload.py VtyshMarkException needs to include "vtysh -m"Daniel Walton2017-05-171-4/+9
| | | | | | | | | | | | | | | | | | output Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
| | * frr-reload.py fails on "no debug ospf6 message unknown"Daniel Walton2017-05-171-0/+1
| | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
| | * tools: frr-reload removes "ipv6 nd ra-interval" and "no ipv6 nd supp"Daniel Walton2017-05-171-1/+14
| | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
| | * tools: reload handle removal of entire address-family section under BGPDaniel Walton2017-05-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> When an entire address-family section is removed from under BGP, we cannot just issue 'no address-family foo bar' as address-family line doesn't support 'no'. We have to delete the individual lines under the address-family.
| | * tools: frr-reload.py should exit non-zero when "set src x.x.x.x" failsDaniel Walton2017-05-171-5/+29
| | | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
| | * Lowercase frr.confMartín Beauchamp2017-03-093-9/+9
| | |
| * | - Solve the Coverity Scan PW.ASSIGN_WHERE_COMPARE_MEANTHung-Weic Chiu2017-05-101-1/+4
| | | | | | | | | | | | | | | | | | - Minor refactoring Signed-off-by: Hung-Weic Chiu <sppsorrg@gmail.com>
* | | *: make consistent & update GPLv2 file headersDavid Lamparter2017-05-152-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The FSF's address changed, and we had a mixture of comment styles for the GPL file header. (The style with * at the beginning won out with 580 to 141 in existing files.) Note: I've intentionally left intact other "variations" of the copyright header, e.g. whether it says "Zebra", "Quagga", "FRR", or nothing. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | | lib: parser: split off & rename graph handlingDavid Lamparter2017-05-151-2/+2
| | | | | | | | | | | | | | | | | | | | | Put core CLI graph stuff in lib/command_graph.[ch] and consistently prefix all function names with "cmd_". Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | | tools: $valgrind --> "$valgrind"Quentin Young2017-05-131-2/+2
| | | | | | | | | | | | | | | | | | String cmp missing quotes Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* | | tools: update .gitignoreChristian Franke2017-05-111-1/+2
| | | | | | | | | | | | Signed-off-by: Christian Franke <chris@opensourcerouting.org>
* | | - Solve the Coverity Scan PW.ASSIGN_WHERE_COMPARE_MEANTHung-Weic Chiu2017-05-101-1/+4
| | | | | | | | | | | | | | | | | | - Minor refactoring Signed-off-by: Hung-Weic Chiu <sppsorrg@gmail.com>
* | | Merge remote-tracking branch 'origin/stable/3.0'Donald Sharp2017-05-101-15/+0
|\| |
| * | lib: fix 'list permutations'Quentin Young2017-05-051-36/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Cyclic graphs ftw Also remove graph pretty printer from permutations.c 'cause it's not really needed anymore Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* | | Merge pull request #468 from qlyoung/fix-list-permDavid Lamparter2017-05-091-36/+21
|\ \ \ | | | | | | | | lib: fix 'list permutations'
| * | | lib: fix 'list permutations'Quentin Young2017-05-051-36/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cyclic graphs ftw Also remove graph pretty printer from permutations.c 'cause it's not really needed anymore Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* | | | Merge remote-tracking branch 'origin/master' into datacenterDonald Sharp2017-05-084-2/+19
|\ \ \ \
| * \ \ \ Merge pull request #449 from dwalton76/valgrind-enableMartin Winter2017-05-081-1/+10
| |\ \ \ \ | | | | | | | | | | | | Add valgrind_enable option to /etc/frr/debian.conf
| | * | | | Added config option for valgrind executableDaniel Walton2017-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
| | * | | | Add valgrind_enable option to /etc/frr/debian.confDaniel Walton2017-05-031-1/+10
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> This allows you to start all daemons via valgrind so you can catch memory leaks, etc.
| * | | | Merge branch 'master' into EIGRPDonald Sharp2017-05-022-1/+16
| |\| | |
| * | | | Merge remote-tracking branch 'origin/master' into EIGRPDonald Sharp2017-04-061-0/+20
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | cumulus, tools: Fix up startupDonald Sharp2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow EIGRP to work within the startup scripts Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | | *: Rename debian.conf -> daemons.confDonald Sharp2017-05-043-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The debian.conf file is to specific of a name towards debian distributions. Rename to be daemons.conf Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | | tools: Proper file name is frr.confDonald Sharp2017-05-041-0/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | | *: Move etc/frr into toolsDonald Sharp2017-05-044-0/+57
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | | *: Move default/frr into tools directoryDonald Sharp2017-05-041-0/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | | *: Move sudoers file into toolsDonald Sharp2017-05-041-0/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | | *: Move ssd from cumulus to tools directoryDonald Sharp2017-05-042-0/+1068
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | As discussed on the mailing list, the cumulus directory should be going away. This commit moves the ssd from cumulus to tools Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | *: Move the cumulus/etc/rt_protos.d/frr.confDonald Sharp2017-04-251-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving cumulus/etc/rt_protos.d/frr.conf to tools/etc/rt_protos.d/frr.conf Requested in Review. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | Add source of route as protocol string in ip route pushed into kernelDinesh G Dutt2017-04-211-1/+8
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ticket: CM-14313 Reviewed By: Testing Done: bgpmin, ospfmin, bgp_kitchen_sink_test 'ip route show' displays all routes as belonging to protocol zebra. The user has to run an additional command (in vtysh) to get the actual source of a route (bgp/ospf/static etc.). This patch addresses that by pushing the appropriate protocol string into the protocol field of the netlink route update message. Now you can see routes with the correct origin as well as filter on them (ip route show proto ospf). 'ospf' is used for both IPv4 and IPv6 routes, even though the OSPF version is different in both cases. Sample output (old): 9.9.12.13 via 69.254.2.38 dev swp3.2 proto zebra metric 20 9.9.13.3 proto zebra metric 20 nexthop via 69.254.2.30 dev swp1.2 weight 1 nexthop via 69.254.2.34 dev swp2.2 weight 1 nexthop via 69.254.2.38 dev swp3.2 weight 1 Sample output (new): 9.9.12.13 via 69.254.2.38 dev swp3.2 proto bgp metric 20 9.9.13.3 proto bgp metric 20 nexthop via 69.254.2.30 dev swp1.2 weight 1 nexthop via 69.254.2.34 dev swp2.2 weight 1 nexthop via 69.254.2.38 dev swp3.2 weight 1
* | | tools: quagga-reload.py fails to change max-pathsDaniel Walton2017-04-041-0/+20
|/ / | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | cumulus, tools: Allow nhrpd to be brought upDonald Sharp2017-03-071-1/+1
| | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | Merge branch 'frr/pull/236' ("tools: frr-reload.py needs to treat "mpls" as ↵David Lamparter2017-03-071-0/+2
|\ \ | | | | | | | | | | | | | | | a single line context") Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
| * | tools: frr-reload.py needs to treat "no " as a single line contextDaniel Walton2017-03-031-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
| * | tools: frr-reload.py needs to treat "mpls" as a single line contextDaniel Walton2017-03-011-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>