]> git.proxmox.com Git - mirror_frr.git/commit
ldpd: convert cli and get rid of the xml interface
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 12 Jun 2017 14:39:12 +0000 (11:39 -0300)
committerRenato Westphal <renato@openbsd.org>
Fri, 16 Jun 2017 17:43:42 +0000 (14:43 -0300)
commitc740f7d3678a8ea2c70a062c1207157e999bd6e8
tree43dd4ca1494eb53827854efa1476ee0ae9e5b838
parent62e4232010330e515630399838288f6281d04de6
ldpd: convert cli and get rid of the xml interface

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>
20 files changed:
configure.ac
doc/Building_FRR_on_Fedora24.md
doc/Building_FRR_on_NetBSD6.md
doc/Building_FRR_on_NetBSD7.md
doc/Building_FRR_on_OmniOS.md
doc/Building_FRR_on_OpenBSD6.md
doc/Building_FRR_on_Ubuntu1204.md
ldpd/.gitignore
ldpd/Makefile.am
ldpd/ldp_debug.c
ldpd/ldp_vty.h
ldpd/ldp_vty.xml [deleted file]
ldpd/ldp_vty_cmds.c [new file with mode: 0644]
ldpd/ldp_vty_conf.c
ldpd/ldp_vty_exec.c
lib/vty.c
lib/vty.h
tools/Makefile.am
tools/xml2cli.pl [deleted file]
vtysh/Makefile.am