summaryrefslogtreecommitdiffstats
path: root/vtysh/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* initial implementation of nhrpnhrpTimo Teräs2016-03-301-0/+1
| | | | | this is nhrp changes from commit c321432aef01e13116980983f0a50ba486505804 rebased on quagga master and updated for vrf changes
* build: Remove the old PIC/PIE patch, let libtool sort it outPaul Jakma2015-09-031-2/+1
| | | | | | | * Remove the old change from '08 to add in PIE arguments at automake level. Versions of libtool since then know how to deal with -fpie and do the right thing according to whether its building shared or executable objects. So just pass '-fpie' as CFLAG and let libtool do its thing.
* lib, vtysh: support multiple VRFs by using linux netnsFeng Lu2015-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | We realize VRFs with linux netns by default. The main job is to associate a VRF with a netns. Currently this is done by the configuration: [no] vrf N netns <netns-name> This command is also available in vtysh and goes to only zebra, because presently only zebra supports multiple VRF. A file descriptor is added to "struct vrf". This is for the associated netns file. Once the command "vrf N netns NAME" is executed, the specified file is opened and the file descriptor is stored in the VRF N. In this way the association is formed. In vrf_socket(), we first switch to the specified VRF by using the stored file descriptor, and then can allocate a socket which is working in the associated netns. Signed-off-by: Feng Lu <lu.feng@6wind.com> Reviewed-by: Alain Ritoux <alain.ritoux@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
* *: fix "babeld: Remove babeld from Quagga" (336724d)David Lamparter2015-05-201-1/+0
| | | | | | | | | | | | | | | | | | This removes some more bits of babeld, particularly from: - buildtest.sh - redhat/ build files - vtysh integration (which actively broke the build) The memtype and zclient/route type are kept in place since these don't break anything and -theoretically- make it possible to build babeld with some Quagga integration externally. (Keeping vtysh integration is unfortunately not as easy.) Reported-by: Donald Sharp <sharpd@cumulusnetworks.com> Fixes: 336724d ("babeld: Remove babeld from Quagga") Acked-by: Donald Sharp <sharpd@cumulusnetworks.com> Acked-by: Paul Jakma <paul@quagga.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: add --enable-werrorDavid Lamparter2015-04-211-1/+1
| | | | | | | | | | | | | | | This allows enabling -Werror in a consistent way. Note that this is different from just specifiying it in CFLAGS, since that would either break configure tests (if done on ./configure), or would override configure's CFLAGS (if done on make). Using --enable-werror instead provides a new WERROR variable that is additionally used during make with a consistent set of warning flags. The tests/ directory is exempt. (Rationale being, better to have more tests than pedantically complain about them.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: get rid of INCLUDES, use AM_CPPFLAGSDavid Lamparter2015-02-141-1/+1
| | | | | | | | | | | | INCLUDES in configure.ac was not used at all, and INCLUDES in Makefile.am is supposed to be AM_CPPFLAGS these days. Reduces warnings spewed during bootstrap/autoreconf. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Acked-by: Greg Troxel <gdt@ir.bbn.com> Acked-by: Feng Lu <lu.feng@6wind.com> Acked-by: Paul Jakma <paul@jakma.org>
* [pim] pim commands added to vtyshLeonard Herve2015-02-041-0/+1
|
* zebra: add module to communicate routes to FPMAvneesh Sachdev2012-11-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhance zebra to send routes to the (optional) Forwarding Path Manager component using the interface defined by fpm/fpm.h. * configure.ac - Add --enable-fpm flag. The FPM-related code in zebra is activated only if the build is configured with '--enable-fpm'. - Add HAVE_NETLINK automake conditional. This allows us to conditionally build netlink-dependent C code. * zebra/{rib.h,zebra_rib.c} - Add the 'fpm_q_entries' field to the rib_dest_t structure. This allows dests to be placed on the fpm queue. - Define a couple new rib_dest_t flags that hold FPM-related state. - Invoke the zfpm_trigger_update() function for a route_node whenever the information to be sent to the FPM changes. - rib_can_delete_dest(): Return FALSE if we have to update the FPM about the given dest. This ensures that the dest is not deleted even if there are no ribs hanging off of it. * zebra/zebra_fpm.c This file holds most of the code for interacting with the FPM. - If quagga was configured with '--enable-fpm', periodically try to connect to the FPM. - When the connection comes up, enqueue all relevent dests to the FPM queue. - When the FPM socket is readable, dequeue the next rib_dest_t from the FPM queue, encode it in to a message and send the message to the FPM. - When the connection to the FPM goes down, remove all dests from the FPM queue, and then start trying to connect to the FPM again. - Expose the following new operational commands: show zebra fpm stats clear zebra fpm stats * zebra/zebra_fpm_netlink.c - zfpm_netlink_encode_route(): Function to encode information about a rib_dest_t in netlink format. * zebra/zebra_fpm_private.h Private header file for the zebra FPM module. * zebra/zebra_fpm.h Header file exported by zebra FPM module to the rest of zebra. * zebra/debug.c Add the 'debug zebra fpm' command. * zebra/main.c Initialize the zebra-FPM code on startup. * zebra/misc_null.c Add stub for zfpm_trigger_update(). * zebra/Makefile.am - Include new file zebra_fpm.c in build. - Include zebra_fpm_netlink.c in build if HAVE_NETLINK is defined. * vtysh/Makefile.am Include zebra_fpm.c in list of files that define cli commands. Signed-off-by: Avneesh Sachdev <avneesh@opensourcerouting.org> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: allow configure and build in a separate directoryVincent Bernat2012-06-251-1/+1
| | | | | | | | | | | Some .h files in lib/ are autogenerated. The search path should include the build directory and the source directory. They usually match but sometimes, they may be different. For example: $ mkdir build $ cd build $ ../configure $ make
* vtysh: Vtysh support for babeld.Juliusz Chroboczek2012-03-251-0/+1
|
* [vtysh] Add commands from zebra_routemap.c to vtyshBartek Kania2008-10-041-1/+2
| | | | | | * Makefile.am: vtysh should also pull in commands from zebra_routemap.c Signed-off-by: Paul Jakma <paul@quagga.net>
* [build] Test for GNU-style PIE support in toolchain and enablePaul P Komkoff Jr2008-08-221-0/+3
| | | | | | | | | | | 2008-08-13 Paul P Komkoff Jr <i@stingr.net> * configure.ac: add a configure flag and autoconf macro, which will determine if your toolchain supports PIE. * */Makefile.am: add corresponding CFLAGS and LDFLAGS into appropriate places. Signed-off-by: Paul Jakma <paul@quagga.net>
* * configure.ac, vtysh/Makefile.am: Only vtysh needs to be linkedhasso2005-08-251-1/+1
| | | | against libreadline and friends.
* * Makefile.am: Remove rebuild4 target, it's not used any more by buildhasso2005-04-071-15/+14
| | | | procedure. Define vtysh_cmd_FILES. Use EXTRA_DIST.
* Big vtysh cleanup. See changelogs for details.hasso2004-10-031-4/+4
|
* 2004-09-13 Paul Jakma <paul@dishone.st>paul2004-09-131-1/+1
| | | | | | * Makefile.am: remove zebra/irdp.c from list - dead. * extract.pl.in: Substitute in the autoconf srcdir/builddir paths for includes to cpp.
* 2004-09-13 Paul Jakma <paul@dishone.st>bgp_rserver_beforepaul2004-09-131-1/+1
| | | | | | | * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir. * extract.pl.in: match on end of filenames, filename could contain various preamble due to out of tree builds.
* remove zebra/irdp.c because it is no longer in the source tree.gdt2004-08-311-1/+1
|
* Vtysh cleanup part 2. No any functional changes yet except VTYSH_INTERFACE.hasso2004-08-261-7/+12
|
* (somewhat unrelated cleanups, but all are very minor)gdt2004-07-231-1/+1
| | | | | | | | | | | | | | | 2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com> * */Makefile.am: Use ../dir/libfoo.la, rather than "-L../dir -lfoo", to avoid linking against installed libraries from a previous version. * {lib,ospfd,ospfclient}/Makefile.am: explicitly define the shared library version number to be 0.0 * configure.ac: remove spurious , so extract.pl is chmod'd +x. * HACKING: explain shared library versioning rules
* Add libtool support.libtool-aftergdt2004-06-301-1/+1
| | | | | | | | | | | | | | | | libzebra and libospfapiclient are now built shared, and linked shared with the daemons. This reduces the memory needed when running multiple daemons; each daemon is at least 150k smaller. Static libraries are still built, and libtool should use them on platforms which don't have shared libaries. As with autoconf, the user of a distribution does not need libtool; one just needs that to build from CVS. libospf.a is still a non-shared library, and still installed, not because that makese sense, but because I don't understand why it is the way it is now. Note that the tree was tagged 'libtool-before' just before this commit.
* Make vtysh work on NetBSD, and minor cleanups:gdt2004-06-301-0/+1
| | | | | | | | | | | | | | if --enable-vtysh, look for perl, and substitute into vtysh/extract.pl, rather than assuming perl is in /usr/bin Look for tputs in libtermcap and libcurses, in addition to previously-searched locations. Follow GNU readlines search order. Clean up --enable-vtysh definition in configure.ac. Add vtysh/vtysh_cmds.c to CLEANFILES. This is important if extract.pl fails, so that 'make clean && make' will regenerate vtysh_cmds.c rhather than using the old zero-length file.
* *** empty log message ***hasso2003-12-231-4/+4
|
* Add support for --enable-exampledir to specify where to place examplegdt2003-12-031-2/+3
| | | | | | | | files, defaulting to sysconfdir (matching previous behavior). This is needed to support (cleanly) NetBSD pkgsrc, which requires that example config files go in $(prefix)/share/examples/pkgname, rather than in $(prefix)/etc/pkgname.
* 2003-10-24 waldi@debian.orgpaul2003-10-241-10/+10
| | | | | | * vtysh/Makefile.am: vtysh_cmd.c rebuild was broken because it depended against source files without specification, i.e. it used ../zebra instead of $(top_srcdir)/zebra.
* 2003-10-22 Paul Jakma <paul@dishone.st>paul2003-10-221-1/+2
| | | | | | * vtysh/Makefile.am: do not include vtysh_cmd.c in dists, its configure dependent. (still need to find a way to make building of it dependent on configure options or include all commands.)
* 2003-07-12 Paul Jakma <paul@dishone.st>paul2003-07-121-3/+7
| | | | | * vtysh/Makefile.am: explicitely list the files required for vtysh_cmd.c to be generated, to minimise spurious rebuilds.
* 2003-06-04 Paul Jakma <paul@dishone.st>paul2003-06-041-1/+1
| | | | * Merge of zebra privileges
* Revert my http://hasso.linux.ee/zebra/ht-ifrmap-14042003.patch patch. Usedhasso2003-05-241-2/+2
| | | | | same idea as in lib/distribute.c to allow extract.pl to pick up commands for vtysh.
* Hasso Tepperpaul2003-04-191-2/+2
| | | | | | http://hasso.linux.ee/zebra/ht-distribute-18042003.patch Allows to extract.pl to pickup "distribute-list ..." commands for vtysh (ripngd and ripd).
* Remove vtysh_cmd.c from the repository.paul2003-04-091-0/+2
| | | | Add dependency on rebuild target for vtysh_cmd.c to Makefile.am
* Initial revisionpaul2002-12-131-0/+22