mirror_frr/zebra
Donald Sharp c58418c110 zebra: Disable mpls slightly different
When mpls is not turned on in the kernel, we
are not installing the mpls commands into the cli.
This results in vtysh attempting to run the command
and receiving a 'WTF is this command' back from zebra.
Modify the mpls code to install commands and to check
to see if the command should be accepted based
upon mpls working or not.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
2016-10-25 14:30:25 -04:00
..
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
client_main.c lib, vtysh: Return actual problem further up 2016-04-06 20:07:27 -04:00
connected.c Quagga: Fix MPLS LSP scheduling to follow nexthop route update 2016-09-23 09:30:59 -04:00
connected.h Zebra: Remove reliance on NEXTHOP_TYPE_IPV4_ONLINK 2015-11-16 12:48:07 -08:00
debug.c *: Fix duplicate commands from view/enable node consolidation 2016-10-19 22:28:45 -04:00
debug.h Quagga: Static LSP configuration 2016-09-23 09:30:54 -04:00
GNOME-PRODUCT-ZEBRA-MIB Initial revision 2002-12-13 20:15:29 +00:00
GNOME-SMI Initial revision 2002-12-13 20:15:29 +00:00
if_ioctl_solaris.c zebra: Fix some warnings found during compile. 2016-10-07 21:05:05 -04:00
if_ioctl.c zebra: Fix some warnings found during compile. 2016-10-07 21:05:05 -04:00
if_netlink.c zebra: Fix compile failure in CI 2016-10-17 18:00:19 -04:00
if_netlink.h zebra: Refactor netlink interactions 2016-10-17 12:39:55 -07:00
if_null.c lib, zebra: Rework zebra_ns to be a bit more modular 2016-04-14 20:56:57 -04:00
if_sysctl.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
interface.c *: Consolidate all double VIEW_NODE and ENABLE_NODE's 2016-10-07 21:05:06 -04:00
interface.h lib, zebra: unify link layer type and hardware address handling 2016-09-03 11:05:50 -04:00
ioctl_null.c Add missing GPL headers, and copyright claims that certainly apply. 2016-05-26 01:06:59 +00:00
ioctl_solaris.c zebra: Fix some warnings found during compile. 2016-10-07 21:05:05 -04:00
ioctl_solaris.h build/solaris: create ioctl_solaris.h 2016-06-09 10:51:59 -04:00
ioctl.c *: fix more initialisers (for BSD) 2016-06-08 15:01:33 -04:00
ioctl.h [zebra/solaris] Interface state fixups for Solaris. 2006-01-25 04:31:40 +00:00
ipforward_proc.c zebra: fix warnings in forward proc 2011-12-07 01:24:09 +04:00
ipforward_solaris.c 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
ipforward_sysctl.c build: remove INRIA, NRL and MUSICA IPv6 quirks 2016-06-03 14:40:03 -04:00
ipforward.h 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
irdp_interface.c zebra: use qobj and enable concurrent config edits 2016-10-07 09:09:52 -04:00
irdp_main.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
irdp_packet.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
irdp.h zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
kernel_netlink.c Merge remote-tracking branch 'origin/cmaster' into cmaster-next 2016-10-21 16:05:03 -04:00
kernel_netlink.h zebra: use unsigned args for *addattr 2016-10-18 08:39:21 -04:00
kernel_null.c zebra: kernel interface simplification 2016-10-18 08:36:21 -04:00
kernel_socket.c zebra: kernel interface simplification 2016-10-18 08:36:21 -04:00
kernel_socket.h mpls: add support to the OpenBSD kernel 2016-09-23 09:31:15 -04:00
main.c zebra: use qobj and enable concurrent config edits 2016-10-07 09:09:52 -04:00
Makefile.am zebra: Fix dist so that zebra includes right .h 2016-10-15 23:49:06 -04:00
misc_null.c zebra: clean up misc_null pragmas 2016-06-07 09:43:32 -04:00
redistribute_null.c Update Traffic Engineering Support for OSPFD 2016-09-03 11:05:50 -04:00
redistribute.c lib/zebra: remove code duplication in redist_del_instance() 2016-10-18 08:51:24 -04:00
redistribute.h Update Traffic Engineering Support for OSPFD 2016-09-03 11:05:50 -04:00
rib.h *: Consistently support 32-bit route tags 2016-10-07 21:05:05 -04:00
router-id.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
router-id.h zebra: maintain the router-id per VRF 2015-10-30 00:19:15 -07:00
rt_netlink.c zebra: Move netlink error message under a debug 2016-10-18 10:24:06 -07:00
rt_netlink.h zebra: Refactor netlink interactions 2016-10-17 12:39:55 -07:00
rt_socket.c zebra: Fix route deletion on *BSD 2016-10-18 08:36:25 -04:00
rt.h zebra: kernel interface simplification 2016-10-18 08:36:21 -04:00
rtadv_null.c BGP: Trigger IPv6 router advertisements upon config of unnumbered neighbor 2016-05-02 13:53:38 -07:00
rtadv.c zebra: use qobj and enable concurrent config edits 2016-10-07 09:09:52 -04:00
rtadv.h zebra: fix build with rtadv disabled 2016-06-08 14:15:47 -04:00
rtread_getmsg.c zebra: Fix some warnings found during compile. 2016-10-07 21:05:05 -04:00
rtread_netlink.c lib, zebra: The Bulk of the conversion over to NS and VRF 2016-02-01 10:55:42 -08:00
rtread_sysctl.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
test_main.c zebra: use qobj and enable concurrent config edits 2016-10-07 09:09:52 -04:00
testrib.conf zebra: Build the test client, can be useful, and add IPv6 to testrib.conf 2016-05-26 01:13:58 +00:00
zebra_fpm_dt.c zebra: add developer test functions for FPM code 2016-09-23 12:12:17 -04:00
zebra_fpm_netlink.c zebra: use unsigned args for *addattr 2016-10-18 08:39:21 -04:00
zebra_fpm_private.h zebra: optionally use protobuf with FPM 2016-09-23 12:12:16 -04:00
zebra_fpm_protobuf.c fpm/protobuf: fix compile errors & warnings 2016-09-23 12:12:17 -04:00
zebra_fpm.c zebra: If fpm is not turned on hide the cli for it 2016-10-25 13:05:58 -04:00
zebra_fpm.h zebra: optionally use protobuf with FPM 2016-09-23 12:12:16 -04:00
zebra_memory.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
zebra_memory.h *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
zebra_mpls_netlink.c zebra: check at startup if the kernel supports MPLS 2016-09-23 09:31:25 -04:00
zebra_mpls_null.c zebra: check at startup if the kernel supports MPLS 2016-09-23 09:31:25 -04:00
zebra_mpls_openbsd.c zebra: check at startup if the kernel supports MPLS 2016-09-23 09:31:25 -04:00
zebra_mpls_vty.c zebra: Disable mpls slightly different 2016-10-25 14:30:25 -04:00
zebra_mpls.c ldpd: always advertise labels upon receiving a redistributed route 2016-09-28 16:05:42 -04:00
zebra_mpls.h zebra: check at startup if the kernel supports MPLS 2016-09-23 09:31:25 -04:00
zebra_ns.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
zebra_ns.h lib, vtysh: support multiple VRFs by using linux netns 2016-09-09 12:15:14 -04:00
zebra_ptm_null.c Zebra and bgpd: VRF support for BFD 2016-03-08 05:10:56 -08:00
zebra_ptm_redistribute.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
zebra_ptm_redistribute.h Zebra and bgpd: VRF support for BFD 2016-03-08 05:10:56 -08:00
zebra_ptm.c zebra: use qobj and enable concurrent config edits 2016-10-07 09:09:52 -04:00
zebra_ptm.h bfd: Fix for missing BFD client regs/deregs from quagga clients 2016-06-21 03:39:58 -07:00
zebra_rib.c zebra: kernel interface simplification 2016-10-18 08:36:21 -04:00
zebra_rnh_null.c Zebra: Fix static NHT to work properly in a VRF 2016-02-26 19:13:34 +00:00
zebra_rnh.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
zebra_rnh.h Zebra: Fix static NHT to work properly in a VRF 2016-02-26 19:51:34 +00:00
zebra_routemap.c *: Fix duplicate commands from view/enable node consolidation 2016-10-19 22:28:45 -04:00
zebra_routemap.h *: Consistently support 32-bit route tags 2016-10-07 21:05:05 -04:00
zebra_snmp.c *: snmp: add a load of "static" specifiers 2016-07-28 07:27:47 -04:00
zebra_static.c Merge remote-tracking branch 'origin/cmaster' into cmaster-next 2016-10-21 16:05:03 -04:00
zebra_static.h Merge remote-tracking branch 'origin/cmaster' into cmaster-next 2016-10-21 16:05:03 -04:00
zebra_vrf.c Quagga: Static LSP configuration 2016-09-23 09:30:54 -04:00
zebra_vrf.h Quagga: Fix MPLS LSP scheduling to follow nexthop route update 2016-09-23 09:30:59 -04:00
zebra_vty.c zebra: Disable mpls slightly different 2016-10-25 14:30:25 -04:00
zebra.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
zserv_null.c zebra: Refactor zebra_vrf 2016-04-14 20:57:04 -04:00
zserv.c ldpd: remove dead code from zsend_redistribute_route() 2016-10-18 08:51:24 -04:00
zserv.h zebra: check at startup if the kernel supports MPLS 2016-09-23 09:31:25 -04:00