Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-12-03 | Implemented `show static'. It's a relatively good example of how to write | Martin Mares | |
show commands for other protocols. | |||
1999-12-03 | Added proto_get_named() to be used in CLI commands to get protocol instance | Martin Mares | |
of a given protocol with optionally given name. See `show static' for an example. | |||
1999-12-03 | Renamed SHOW PROTOCOLS VERBOSE to SHOW PROTOCOLS ALL to be consistent | Martin Mares | |
with the other commands. | |||
1999-12-02 | Implemented `show route where <condition>' command. | Martin Mares | |
Pavel, please check my addition to filter/config.Y. | |||
1999-12-02 | I tried to turn on the YYERROR_VERBOSE switch, but bison is buggy as hell, | Martin Mares | |
so it doesn't even compile. Turned it again off and added a comment on it. | |||
1999-12-02 | Avoid `default rule can be matched' warning in CLI state. | Martin Mares | |
1999-12-01 | Updated TODO file. | Martin Mares | |
1999-12-01 | Added dumping of routing tables (`show route'). This includes filtering. | Martin Mares | |
1999-12-01 | Added get_route_info and show_route_data hooks to struct protocol. | Martin Mares | |
Please implement them. | |||
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-12-01 | Make ACCEPT/REJECT actually return the result... | Martin Mares | |
1999-12-01 | Stupid bug (essentially while(1) loop) occuring sometimes during start | Pavel Machek | |
of bird fixed. | |||
1999-12-01 | accept should behave as return, not running any commands after it. | Pavel Machek | |
1999-12-01 | Actually check sequence numbers. | Pavel Machek | |
1999-12-01 | Implemented get_status for the pipe protocol (reports name of the other | Martin Mares | |
side of the pipe). Please do so for your protocols as well. | |||
1999-12-01 | `show protocols' now shows time of last state change and protocol-dependent | Martin Mares | |
status information (obtained via newly introduced hook protocol->get_status). | |||
1999-12-01 | Introduced new protocol-dependent integer field `aux' to struct neighbor. | Martin Mares | |
1999-12-01 | Added tm_format_reltime() for formatting of relative time quantities. | Martin Mares | |
1999-12-01 | FIXME's cleaned up: I have actually fixed things without killing | Pavel Machek | |
comments. There are no urgent FIXME's in filters. Perhaps we should start with documentation? | |||
1999-12-01 | Use linux-22 configuration with all 2.2.x and 2.3.x kernels. This means | Martin Mares | |
you need to have your kernel compiled with netlink routing messages enabled. If it doesn't work for you, use --with-sysconfig=linux-21 and let me know what's going wrong. | |||
1999-11-30 | Remember protocol instance in proto_config and use that for | Martin Mares | |
`show protocols <name>'. | |||
1999-11-30 | Lexer supports fallback symbol tables and uses them to recognize | Martin Mares | |
symbols from global config when parsing CLI commands. cf_lex_init_tables() is now called automatically inside the lexer. | |||
1999-11-30 | Use TIME_INFINITY for initialization of password entries instead | Martin Mares | |
of 2000000000 (BTW who wrote that???) | |||
1999-11-30 | Moved TIME_INFINITY to timer.h, so that it's publicly available. | Martin Mares | |
1999-11-30 | `show interfaces' and `show protocols' works. | Martin Mares | |
1999-11-30 | Don't use continuation shortcuts until real client is written. | Martin Mares | |
1999-11-30 | Inicialisation of Topology Graph (TG). | Ondrej Filip | |
1999-11-25 | Added few basic commands: show status, show interfaces [summary], | Martin Mares | |
show protocols (incomplete). | |||
1999-11-25 | cli_msg() moved to cli.h, so that it can be used outside the parser. | Martin Mares | |
1999-11-25 | Added ip_scope_text() for translating of scopes to strings. | Martin Mares | |
1999-11-25 | md5 authentication seems to work. | Pavel Machek | |
1999-11-25 | Bugfixes: select right password for password authentication, do not | Pavel Machek | |
try to process authentication blocks as datablocks, make it possible to add data at end of packet. Password authentication should actually work. | |||
1999-11-25 | Filters: fix rta access to use ->aux field. | Pavel Machek | |
1999-11-25 | Triggered updates should now actually work. Fixed metric=16 -> time it | Pavel Machek | |
out logic. | |||
1999-11-25 | Fix timeouts. Triggered updates are not done, yet. | Pavel Machek | |
1999-11-24 | Check that prefixes are really prefixes + fix config file to | Pavel Machek | |
comply. (:-( 1.2.3.4/8 looks nicer than 1.0.0.0/8). | |||
1999-11-24 | Sorry, previous commit did not even compile. | Pavel Machek | |
1999-11-24 | Filters: write access to dynamic attributes should actually work. It | Pavel Machek | |
would be nice to find method of testing such beasts. | |||
1999-11-18 | More CLI plans... | Martin Mares | |
1999-11-18 | Allow EA type to be set to 'undefined' which overrides all further definitons | Martin Mares | |
of that EA in the same list and causes ea_find() to fail unless you add EA_ALLOW_UNDEF to the second argument. ea_sort (resp. ea_do_prune()) removes all undef'd attributes from the list. I hope this works :) | |||
1999-11-18 | Filters: first parts of extended attributes being read-write. It can | Pavel Machek | |
not actually work since I do not do rta/rte cow, yet. | |||
1999-11-18 | Split inst->code into inst->code and inst->aux. Both are only 16 bit, | Pavel Machek | |
so aux is suitable for storing type but not much more. | |||
1999-11-18 | DEF_PREF_UKR and DEF_PREF_SINK removed. | Martin Mares | |
1999-11-18 | You can now print enum. | Pavel Machek | |
1999-11-17 | ospf.c and ospc.h splitted into various files. | Ondrej Filip | |
1999-11-17 | Added skeleton of command tree. Please inspect. | Martin Mares | |
1999-11-17 | Another bugfix. (In EXCHANGE state.) | Ondrej Filip | |
1999-11-17 | Fixed bug receiving dbdes packets in EXSTART state. | Ondrej Filip | |
1999-11-17 | Added some temporary examples of how to define CLI commands (search for CF_CLI). | Martin Mares | |
To define a new command, just add a new rule to the gramar: CF_CLI(COMMAND NAME, arguments, help-args, help-text) { what-should-the-command-do } ; where <arguments> are appended to the RHS of the rule, <help-args> is the argument list as shown in the help and <help-text> is description of the command for the help. <what-should-the-command-do> is a C code snippet to be executed. It should not take too much time to execute. If you want to print out a lot of information, you can schedule a routine to be called after the current buffer is flushed by making cli->cont point to the routine (see the TEST LONG command definition for an example); if the connection is closed in the meantime, cli->cleanup gets called. You can access `struct cli' belonging to the connection you're currently servicing as this_cli, but only during parse time, not from routines scheduled for deferred execution. Functions to call inside command handlers: cli_printf(cli, code, printf-args) -- print text to CLI connection, <code> is message code as assigned in doc/reply_codes or a negative one if it's a continuation line. cli_msg(code, printf-args) -- the same for this_cli. Use 'sock -x bird.ctl' for connecting to the CLI until a client is written. | |||
1999-11-17 | If the main event queue is not empty, call select() with zero timeout, so | Martin Mares | |
that the events are ran again after the FD's are checked. This allows us to schedule I/O checks between processing of user commands. |