Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-19 | CLI closing fix when its action is run asynchronously. | Maria Matejka | |
Some CLI actions, notably "show route", are run by queuing an event somewhere else. If the user closes the socket, in case such an action is being executed, the CLI must free the socket immediately from the error hook but the pool must remain until the asynchronous event finishes and cleans everything up. | |||
2022-10-12 | CLI fix to break busy-loop waiting for corked show-route exports | Maria Matejka | |
2022-06-27 | The show-route CLI command now uses the route export API | Maria Matejka | |
In the multithreaded environment, it is not supposed that anybody traverses the routing table as the CLI show-route was doing. Now the routing table traversal is gone and CLI won't hold the table locked while computing filters. | |||
2019-11-26 | CLI: Fix continuation lines after final one | Ondrej Zajicek (work) | |
Continuation lines may use short form (with space instead of message number), but this should not be done when previous line is final. Thanks to Kenth Eriksson for the bugreport and analysis. | |||
2019-03-20 | Fixed an undefined symbol bug in CLI introduced by filter refactoring | Maria Matejka | |
2018-02-07 | Nest: Trivial whitespace cleanup | Ondrej Zajicek (work) | |
2017-05-31 | Merge branch 'master' into int-new | Ondrej Zajicek (work) | |
2017-05-31 | CLI: Fix bug in symbol handling introduced in previous patches | Ondrej Zajicek (work) | |
2017-05-16 | Linpool: default allocation size | Jan Moskyto Matejka | |
2017-05-15 | Nest: split route show into separate file | Jan Moskyto Matejka | |
2015-06-08 | unsigned [int] -> uint | Pavel TvrdĂk | |
2012-12-26 | Implements undo command and optional timeout for configuration | Ondrej Zajicek | |
Several new configure command variants: configure undo - undo last reconfiguration configure timeout - configure with scheduled undo if not confirmed in timeout configure confirm - confirm last configuration configure check - just parse and validate config file | |||
2012-07-18 | Implements wildcard matching in config file include. | Ondrej Zajicek | |
Also fixes some minor bugs in include. Thanks Kelly Cochran for suggestion and draft patch. | |||
2011-10-10 | Fixes for include. | Ondrej Zajicek | |
2011-09-11 | Configuration can include other files. | Ondrej Filip | |
2011-07-03 | Prints full community lists during 'show route all'. | Ondrej Zajicek | |
2010-02-21 | Fix configure to enable warnings and fix most of them. | Ondrej Zajicek | |
2009-07-14 | Fixes bug in CLI TX buffer management. | Ondrej Zajicek | |
2004-05-31 | Small correction to va_start/va_end in cli_printf (va_end was missing). | Martin Mares | |
(Andreas) | |||
2000-06-08 | Fixes for the programmer's manual. | Martin Mares | |
2000-06-07 | Fixes to the progdoc. | Martin Mares | |
2000-06-07 | Spelling fixes to progdoc. | Martin Mares | |
2000-06-03 | Minor changes to the progdocs. | Martin Mares | |
2000-06-03 | More documentation. | Martin Mares | |
2000-05-29 | Tracing of CLI connections/commands can be now controlled | Martin Mares | |
by `debug commands <level>' in the configuration. Level 0 means no tracing, 1 means connections only, 2 includes all commands. | |||
2000-04-27 | Fixed a couple of nasty CLI bugs which were triggered on long or multi-part | Martin Mares | |
outputs. It took a whole evening to hunt them down, but now the CLI seems to work fine. Now I run three BGP connections with several thousand routes! | |||
2000-03-31 | Include "lib/string.h" instead of <string.h>. It should give us bzero() | Martin Mares | |
and other non-portable functions on all systems. | |||
2000-03-04 | Enabled short continuations. | Martin Mares | |
1999-12-06 | Implemented echoing of log messages to CLI connections. Just try `echo all'. | Martin Mares | |
1999-12-01 | Reset temporary parser data before parsing, not afterwards. This enables | Martin Mares | |
deferred CLI command handlers to store their temporary data in the CLI parsing pool. | |||
1999-11-30 | Remember protocol instance in proto_config and use that for | Martin Mares | |
`show protocols <name>'. | |||
1999-11-30 | Don't use continuation shortcuts until real client is written. | Martin Mares | |
1999-11-17 | Command line interface now works. | Martin Mares | |
1999-10-31 | Parse CLI commands. We use the same parser as for configuration files (because | Martin Mares | |
we want to allow filter and similar complex constructs to be used in commands and we should avoid code duplication), only with CLI_MARKER token prepended before the whole input. Defined macro CF_CLI(cmd, args, help) for defining CLI commands in .Y files. The first argument specifies the command itself, the remaining two arguments are copied to the help file (er, will be copied after the help file starts to exist). This macro automatically creates a skeleton rule for the command, you only need to append arguments as in: CF_CLI(STEAL MONEY, <$>, [[Steal <$> US dollars or equivalent in any other currency]]): NUM { cli_msg(0, "%d$ stolen", $3); } ; Also don't forget to reset lexer state between inputs. | |||
1999-10-31 | The CLI I/O functions work as desired. | Martin Mares | |
1999-10-29 | First steps of the Command Line Interface: I/O routines. | Martin Mares | |