Jan Moskyto Matejka
b5e9fe3e55
Merge branch 'cli-completion' into bash-completion
2017-05-31 15:04:27 +02:00
Pavel Tvrdik
87857f7f46
CLI: Improved auto-completion behavior
...
Auto-complete keywords (for, where, filter, ...) and symbol names (names
of protocols, tables, ...). Client can request daemon for list of all
symbols using new cli command `refresh symbols`.
Next changes:
- Behavior is configured by *.Y files using flags CLI_SF_*
- The file doc/reply_codes was moved to header file
client/reply_codes.h.
- Share birdcl input_read() function code for birdc non-interactive
mode.
- BIRD daemon notifies the client about new symbol set.
- BIRD pushes notification to the client about new symbol set and then
the client should request a package with all symbols (`refresh
symbols`).
- File-based history of previous commands(). In interactive mode in
birdc is stored history of all commands in ~/.birdc_history file.
- BIRD daemon sends notification to clients about interface updates
- Maintains a list of all connected cli clients to daemon. Daemon
sends to all cli clients notification about interfaces states up and
down.
2017-05-18 15:09:15 +02:00
Jan Moskyto Matejka
355b59e46d
Merge remote-tracking branch 'origin/int-new' into bash-completion
2017-05-18 14:02:38 +02:00
Jan Moskyto Matejka
f1ed108bb2
Bash: Complete also in the middle of the line. (And some cleanup, too.)
2017-05-18 13:54:56 +02:00
Ondrej Zajicek (work)
7d5e61a66a
Fix of the previous fix
...
Avoid empty macro argument to avoid default behavior.
2017-05-18 13:29:38 +02:00
Ondrej Zajicek (work)
271fa063a3
Fix minor bug in configure script
...
Space in action branch breaks build on some platforms.
2017-05-18 12:05:09 +02:00
Ondrej Zajicek (work)
9b701e69cc
Merge branch 'master' into int-new
2017-05-17 17:37:27 +02:00
Ondrej Zajicek (work)
d6e01ff900
Fix of the previous commit
2017-05-17 17:30:23 +02:00
Jan Moskyto Matejka
5b8eb44c14
Bash completion for Bird client and daemon.
2017-05-17 17:17:00 +02:00
Ondrej Zajicek (work)
dab6706aba
History lib may be integrated to Readline lib
2017-05-17 17:03:36 +02:00
Ondrej Zajicek (work)
81edd3b3a7
Fix build on systems with dirty headers
2017-05-17 16:21:58 +02:00
Ondrej Zajicek (work)
d19617f06b
Merge remote-tracking branch 'origin/int-new' into int-new
2017-05-17 14:50:00 +02:00
Ondrej Zajicek (work)
144c10fad1
Merge branch 'master' into int-new
2017-05-17 14:38:04 +02:00
Ondrej Zajicek (work)
a01e951d0f
One more configure cleanup
...
Simplify BIRD client library checks, add proper devel header checks and
prefer dependency on just tinfo than full ncurses.
2017-05-17 13:17:40 +02:00
Jan Moskyto Matejka
31874783c4
Client: manipulate history only if interactive
2017-05-16 15:48:08 +02:00
Jan Moskyto Matejka
05d47bd53e
Linpool: default allocation size
2017-05-16 15:34:57 +02:00
Jan Moskyto Matejka
b880e3ffae
Bird readline client saves its history.
2017-05-16 15:34:57 +02:00
Ondrej Zajicek (work)
1c5b4c5d5b
Merge branch 'master' into int-new
2017-05-16 14:56:01 +02:00
Ondrej Zajicek (work)
b845ea097c
Remove autoconf macros for time_t and alignment
...
Replaced by constant compile-time expressions. CPU_STRUCT_ALIGN is not
really correct, but is consistent with the old behavior.
2017-05-16 13:05:00 +02:00
Ondrej Zajicek (work)
b81a73d1fb
Minor autoconf cleanups
...
Make indentation and quotation consistent in configure macros.
Also remove --with-sysinclude option, which was broken for 7 years
and nobody complained.
Thanks to Ruben Kerkhof for source patches.
2017-05-16 13:04:02 +02:00
Ondrej Zajicek (work)
e40542ef3a
Minor autoconf cleanup and documentation update
2017-05-16 12:59:22 +02:00
Ondrej Zajicek (work)
c253ec3a9c
Some more autoconf cleanups
...
Replace integer type width detection with C99 fixed-width types.
Also remove some unused or obsolete code.
Thanks to Ruben Kerkhof for the patchset.
2017-05-16 12:59:22 +02:00
Jan Moskyto Matejka
f8d44b01df
Nest: split route show into separate file
2017-05-15 12:10:51 +02:00
Ondrej Zajicek (work)
fd1f355b7b
Merge branch 'master' into int-new
2017-05-09 17:37:38 +02:00
Ondrej Zajicek (work)
71652572e3
Minor autoconf cleanup and documentation update
2017-05-09 16:46:41 +02:00
Ondrej Zajicek (work)
525a88d879
Merge branch 'master' into int-new
2017-05-09 14:48:21 +02:00
Ondrej Zajicek (work)
5d6dc93043
Some more autoconf cleanups
...
Replace integer type width detection with C99 fixed-width types.
Also remove some unused or obsolete code.
Thanks to Ruben Kerkhof for the patchset.
2017-05-09 13:45:26 +02:00
Ondrej Zajicek (work)
95639d9577
Device: Fix option 'primary'
2017-05-03 12:56:17 +02:00
Ondrej Zajicek (work)
8e25f7d229
One last update to NEWS and example
2017-04-29 22:14:36 +02:00
Ondrej Zajicek (work)
92a85089b8
NEWS and version update
2017-04-29 21:49:13 +02:00
Ondrej Zajicek (work)
b644a490f0
BSD: Fix address scan on OpenBSD
2017-04-29 18:37:51 +02:00
Ondrej Zajicek (work)
1d21306785
Minor fixes
2017-04-29 01:24:30 +02:00
Ondrej Zajicek (work)
e919601aaf
Merge master into int-new
2017-04-28 11:19:12 +02:00
Ondrej Zajicek (work)
5ca4bd5d90
Flowspec: Max tcp mask length is 12 bits
2017-04-26 17:13:45 +02:00
Ondrej Zajicek (work)
a1de692a69
Doc: BIRD example update
2017-04-26 14:38:19 +02:00
Ondrej Zajicek (work)
751fb2366c
Test: Fix broken test for filters
2017-04-26 14:11:28 +02:00
Jan Moskyto Matejka
69fddac052
Merge branch 'int-new' of gitlab.labs.nic.cz:labs/bird into int-new
2017-04-26 12:30:22 +02:00
Jan Moskyto Matejka
93a3661c15
Flowspec: split net_format_flowspec into several functions
2017-04-26 12:26:14 +02:00
Jan Moskyto Matejka
2af807a83f
Test: fixed broken test for VPN RD output
2017-04-26 12:19:39 +02:00
Jan Moskyto Matejka
a2fd34f81f
Debug: Add a Makefile rule for assembler intermediates.
...
The main Makefile rules directly compile to object files;
this target is only for debug purposes.
2017-04-26 10:53:48 +02:00
Ondrej Zajicek (work)
b29499996b
Nest: Update of show route cmd
...
Some code cleanup, multiple bugfixes, allows to specify also channel
for 'show route export'. Interesting how such apparenty simple thing
like show route cmd has plenty of ugly corner cases.
2017-04-25 19:02:31 +02:00
Ondrej Zajicek (work)
6f535924eb
Filter: Fix reconfiguration of roa_check()
2017-04-18 13:56:51 +02:00
Ondrej Zajicek (work)
4278abfe27
Check validity of dest w.r.t. net_type
...
Allow to define static roa/flow routes without dest.
2017-04-18 13:56:40 +02:00
Jan Moskyto Matejka
3484cb9a65
Client: separate config syntax structure for "show route for"
2017-04-18 13:45:50 +02:00
Jan Moskyto Matejka
7ee07a3c39
Nest: Fix route lookup
2017-04-12 16:05:56 +02:00
Jan Moskyto Matejka
97e48b6a18
Adding also our copy of struct rtvia.
2017-04-12 16:04:22 +02:00
Jan Moskyto Matejka
54635f435a
Include local lwtunnel.h unless found in system
2017-04-12 16:04:22 +02:00
Ondrej Zajicek (work)
711d617dc1
BGP: Add support for SAFI 129 (VPN multicast)
...
Which, in contrast to SAFI 128, does not use MPLS labels.
2017-04-12 16:04:22 +02:00
Ondrej Zajicek (work)
ffb38dfb8b
Static: Support for dual-AF IGP tables
...
When recursive routes with hybrid next hops (e.g. IPv6 route with IPv4 next
hop) are allowed, we need both IPv4 and IPv6 IGP tables.
2017-04-12 16:04:22 +02:00
Jan Moskyto Matejka
2faf519cf9
Client: multitable version of show route
2017-04-12 16:04:22 +02:00