summaryrefslogtreecommitdiffstats
path: root/vtysh (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* lib: allow 'do' commands in ENABLE_NODEQuentin Young2017-06-161-2/+2
| | | | | | | | | | | | 'do' is syntax sugar that allows the user to execute a command under ENABLE_NODE when in another CLI node. If the user is already in ENABLE_NODE, use of 'do' was previously disallowed. This patch allows it because it makes it easier for us to hack around certain instances of the node synchronization problem with vtysh. Also included is a fix for one of these problems. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* Merge remote-tracking branch 'frr/master' into pull-624David Lamparter2017-06-132-34/+39
|\
| * Merge branch 'stable/3.0'David Lamparter2017-06-061-1/+4
| |\ | | | | | | | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
| | * vtysh: Add back some missing bgp commandsDonald Sharp2017-05-301-0/+1
| | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| | * vtysh: fix a compile error when user/group are disabledJafar Al-Gharaibeh2017-05-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | If FRR is configured explicilty with --disable-user and --disable-group, FRR_USER and FRR_GROUP will not be defined and can be safely skipped in vtysh. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
| | * bgpd: remove encap safi vty related files bgp_encap.h|cLou Berger2017-05-231-1/+0
| | | | | | | | | | | | Signed-off-by: Lou Berger <lberger@labn.net>
| | * vtysh: remove BGP_ENCAP(V6)_NODELou Berger2017-05-231-56/+0
| | | | | | | | | | | | Signed-off-by: Lou Berger <lberger@labn.net>
| * | vtysh: Cleanup some stuff(tm)Donald Sharp2017-06-021-33/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) vtysh_config_dump was not properly indented. Fix 2) Add VRF_NODE to be line_uniq when parsing return from sub-daemons 3) Fix 'no log monitor' to be line_uniq as well Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | Merge remote-tracking branch 'origin/master' into babelDonald Sharp2017-05-307-123/+121
|\| |
| * | vtysh: Add back some missing bgp commandsDonald Sharp2017-05-251-0/+1
| | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| * | bgpd: remove encap safi vty related files bgp_encap.h|cLou Berger2017-05-231-1/+0
| | | | | | | | | | | | Signed-off-by: Lou Berger <lberger@labn.net>
| * | vtysh: remove BGP_ENCAP(V6)_NODELou Berger2017-05-231-56/+0
| | | | | | | | | | | | Signed-off-by: Lou Berger <lberger@labn.net>
| * | vtysh: fix autocompletion API misuseDavid Lamparter2017-05-221-2/+6
| | | | | | | | | | | | | | | | | | | | | I forgot to update this call when I changed cmd_variable_handler_register to take an array... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
| * | Merge branch 'stable/3.0'David Lamparter2017-05-181-2/+6
| |\| | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: frr-reload.py should exit non-zero when "set src x.x.x.x" failsDaniel Walton2017-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
| | * | vtysh: fix ldpd vtyshQuentin Young2017-05-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ldpd needs a special case to execute the correct exit command for walkup when using vtysh Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
| * | | *: make consistent & update GPLv2 file headersDavid Lamparter2017-05-156-38/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | vtysh: autocomplete variablesDavid Lamparter2017-05-153-16/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This asks the connected daemons for their variable completions through a hidden CLI command. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
| * | | Merge remote-tracking branch 'origin/stable/3.0'Donald Sharp2017-05-151-10/+10
| |\| |
| | * | vtysh: add \n to 'router rip[ng]' docstringsQuentin Young2017-05-101-10/+10
| | | | | | | | | | | | | | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* | | | vtysh: Add knob for babel executionDonald Sharp2017-05-141-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | lib, vtysh: Add bits and pieces to allow vtysh to understand babelDonald Sharp2017-05-143-3/+47
| | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | *: Initial Import of Babeld into FRRDonald Sharp2017-05-132-2/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a direct copy of: https://github.com/boutier/quagga-merge From the branch babel-merge I copied the babeld directory into FRR and then fixed up everything to compile. Babeld at this point in time when run will more than likely crash and burn in it's interfactions with zebra. I might have messed up the cli, which will need to be looked at extract.pl.in and vtysh.c need to be fixed up. Additionally we probably need to work on DEFUN_NOSH conversion in babeld as well This code comes from: Matthieu Boutier <boutier@irif.fr> Juliusz Chroboczek <jch@irif.fr> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | *: Allow configure to control VTYSH_PAGER usedDonald Sharp2017-05-101-1/+1
| | | | | | | | | | | | Signed-off-by: Donald Sharp
* | | *: Allow agentx to be displayed as part of vtyshDonald Sharp2017-05-093-0/+8
| | | | | | | | | | | | | | | | | | | | | Modify code so that that vtysh can now accept the agentx command for snmp support Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | Merge pull request #409 from donaldsharp/EIGRPRuss White2017-05-085-9/+62
|\ \ \ | | | | | | | | Eigrp
| * \ \ Merge branch 'master' into EIGRPDonald Sharp2017-05-021-22/+59
| |\ \ \
| * | | | vtysh: remove unused compilation fileDonald Sharp2017-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove eigrp_routemap.c from consideration at the moment for vtysh inclusion. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| * | | | Merge remote-tracking branch 'origin/master' into EIGRPDonald Sharp2017-04-261-3/+1
| |\ \ \ \
| * \ \ \ \ Merge remote-tracking branch 'origin/master' into EIGRPDonald Sharp2017-04-065-82/+80
| |\ \ \ \ \
| * | | | | | vtysh: Rehook lib/command.c:cmd_initDonald Sharp2017-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vtysh was not running lib/command.c commands for eigrp Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| * | | | | | vtysh: Fix eigrp ordering in 'show run'Donald Sharp2017-03-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| * | | | | | vtysh: Fix misplaced (Donald Sharp2017-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| * | | | | | eigrp: Initial CommitDonald Sharp2017-03-094-3/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Please Note, I will be redoing this commit message with more information. Additionally I will rework the lib/* changes into their own commits. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | | | | vtysh: Fix _ instead of - usage for labeled_unicastDonald Sharp2017-05-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | | | | | | Merge remote-tracking branch 'origin/stable/3.0'Donald Sharp2017-05-022-49/+90
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | / / | | |_|_|/ / | |/| | | |
| * | | | | vtysh: Add back in some missing ospf6 commandsDonald Sharp2017-04-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| * | | | | Problem with DEFUNSH in vtysh, issue #358Daniel Walton2017-04-271-53/+75
| | |_|/ / | |/| | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
* | | | | Merge remote-tracking branch 'origin/master' into mpls2Donald Sharp2017-04-261-1/+1
|\| | | |
| * | | | Merge pull request #400 from dwalton76/default-frr-confMartin Winter2017-04-251-1/+1
| |\ \ \ \ | | | | | | | | | | | | vtysh: "Command incomplete: log syslog"
| | * | | | vtysh: "Command incomplete: log syslog"Daniel Walton2017-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Before ====== root@spine-1[~]# cat /etc/frr/frr.conf no log monitor ! service integrated-vtysh-config ! log syslog ! log syslog informational ! line vty ! root@spine-1[~]# root@spine-1[~]# vtysh -m -f /etc/frr/frr.conf no log monitor ! service integrated-vtysh-config ! line 5: % Command incomplete: log syslog root@spine-1[~]# After ===== root@spine-1[~]# vtysh -m -f /etc/frr/frr.conf no log monitor ! service integrated-vtysh-config ! log syslog ! log syslog informational ! line vty ! end root@spine-1[~]#
* | | | | | Merge remote-tracking branch 'origin/master' into mpls2Donald Sharp2017-04-261-2/+0
|\| | | | |
| * | | | | vtysh: remove deprecated HAVE_EVPN flagPhilippe Guibert2017-04-191-2/+0
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This flag prevents from entering into evpn address-family node, when calling command from vtysh. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
* / | | | bgpd: labeled unicast configDon Slice2017-04-061-22/+59
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Implement support for activating the labeled-unicast address family in BGP and relevant configuration for this address family. Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
* | | | vtysh: Fix build for non-snmp caseDonald Sharp2017-04-041-6/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The snmp code is being included in the build of the vtysh_cmd.c irrelevant of whether or not it is needed. Be a bit smarter about what files to include. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | | | Merge branch 'master'David Lamparter2017-04-041-10/+25
|\| | |
| * | | Merge pull request #294 from opensourcerouting/modulesDonald Sharp2017-04-041-10/+25
| |\ \ \ | | | | | | | | | | Loadable module support
| | * | | vtysh: handle "show modules" like "show memory"David Lamparter2017-04-041-10/+25
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Preface with line identifying which daemon it applies to. [Also fixes a missed "plugin" -> "module" replace.] Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | | | Merge branch 'stable/2.0'David Lamparter2017-04-041-0/+1
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | Fixed minor conflicts from "defaults" change on stable. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>