mirror_frr/pathd
David Lamparter 89cb86aeb0 build, vtysh: extract vtysh commands from .xref
Rather than running selected source files through the preprocessor and a
bunch of perl regex'ing to get the list of all DEFUNs, use the data
collected in frr.xref.

This not only eliminates issues we've been having with preprocessor
failures due to nonexistent header files, but is also much faster.
Where extract.pl would take 5s, this now finishes in 0.2s.  And since
this is a non-parallelizable build step towards the end of the build
(dependent on a lot of other things being done already), the speedup is
actually noticeable.

Also files containing CLI no longer need to be listed in `vtysh_scan`
since the .xref data covers everything.  `#ifndef VTYSH_EXTRACT_PL`
checks are equally obsolete.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-26 17:12:34 +01:00
..
.gitignore pathd: New SR-TE policy management daemon 2020-12-18 16:34:02 +01:00
Makefile pathd: New SR-TE policy management daemon 2020-12-18 16:34:02 +01:00
path_cli.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
path_debug.c *: make sure config.h or zebra.h is first 2021-04-23 12:06:35 +02:00
path_debug.h pathd: New SR-TE policy management daemon 2020-12-18 16:34:02 +01:00
path_errors.c pathd: Fix spelling mistakes 2022-02-14 12:53:48 -05:00
path_errors.h pathd: Handle PCInitiated configuration, main thread. (3/4) 2021-06-22 12:04:03 +02:00
path_main.c *: Convert quagga_signal_X to frr_signal_X 2021-11-11 14:41:27 -05:00
path_nb_config.c pathd: Handle PCInitiated configuration, main thread. (3/4) 2021-06-22 12:04:03 +02:00
path_nb_state.c pathd: New SR-TE policy management daemon 2020-12-18 16:34:02 +01:00
path_nb.c *: explicitly print "exit" at the end of every node config 2021-08-23 22:08:20 +03:00
path_nb.h lib: northbound cli show/cmd functions must not modify data nodes 2021-10-13 20:12:35 +03:00
path_pcep_cli.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
path_pcep_cli.h pathd: Add optional support for PCEP to pathd 2020-12-18 16:47:52 +01:00
path_pcep_config.c pathd: Fix spelling mistakes 2022-02-14 12:53:48 -05:00
path_pcep_config.h pathd: Handle PCInitiated configuration, main thread. (3/4) 2021-06-22 12:04:03 +02:00
path_pcep_controller.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
path_pcep_controller.h *: Fix spelling of wether 2022-04-02 07:46:19 -04:00
path_pcep_debug.c pathd: Handle PCInitiated messages, thread controller. (2/4) 2021-06-22 12:04:03 +02:00
path_pcep_debug.h pathd: Remove unused function 2021-06-05 12:55:48 -04:00
path_pcep_lib.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
path_pcep_lib.h pathd: Handle PCInitiated messages, thread controller. (2/4) 2021-06-22 12:04:03 +02:00
path_pcep_pcc.c pathd: Ensure path is free'd after we no longer need it. 2022-08-15 15:45:05 -04:00
path_pcep_pcc.h pathd: Handle PCInitiated messages, thread controller. (2/4) 2021-06-22 12:04:03 +02:00
path_pcep.c pathd: Handle PCInitiated configuration, main thread. (3/4) 2021-06-22 12:04:03 +02:00
path_pcep.h pathd: Handle PCInitiated configuration, main thread. (3/4) 2021-06-22 12:04:03 +02:00
path_ted.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
path_ted.h pathd. TED support . Client to link State - [part 1/4] 2021-05-10 12:36:46 +02:00
path_zebra.c pathd: add a zebra stop handler 2022-07-22 08:39:06 +02:00
path_zebra.h pathd: add a zebra stop handler 2022-07-22 08:39:06 +02:00
pathd.c pathd: add a zebra stop handler 2022-07-22 08:39:06 +02:00
pathd.h pathd: rework config printing code 2021-08-23 22:08:20 +03:00
subdir.am build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00