summaryrefslogtreecommitdiff
path: root/vtysh/.gitignore
AgeCommit message (Collapse)Author
2024-07-31vtysh, lib: preprocess CLI graphsDavid Lamparter
Store a parsed and built graph of the CLI nodes in vtysh, rather than parsing and building that graph every time vtysh starts up. This provides a 3x to 5x reduction in vtysh startup overhead: `vtysh -c 'configure' -c 'interface lo' -c 'do show version'` - before: 92.9M cycles, 1114 samples - after: 16.5M cycles, 330 samples This improvement is particularly visible for users scripting `vtysh -c` calls, which notably includes topotests. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2024-01-17lib,vtysh: add per-daemon log file configMark Stapp
Add a config that specifies per-deamon log file names. Move the handy generated list of daemon names from vtysh to lib; edit the gitignore files to match. Signed-off-by: Mark Stapp <mjs@labn.net>
2022-10-26build, vtysh: extract vtysh commands from .xrefDavid Lamparter
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>
2020-10-06vtysh: ignore generated file vtysh_daemons.hWesley Coakley
Signed-off-by: Wesley Coakley <wcoakley@nvidia.com>
2018-09-08*: cleanup .gitignore filesDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2018-09-08build: non-recursive vtyshDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2008-08-22[administrivia] Git should ignore backup files and .loT filesPaul Jakma
2008-08-22[administrivia] Add .gitignore files, based on .cvsignores.Paul Jakma