0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 18:21:54 +00:00
Commit Graph

4204 Commits

Author SHA1 Message Date
Katerina Kubecova
85d3eb7ebf show protocols all from cbor - problems with buffer 2024-01-09 10:20:15 +01:00
Maria Matejka
fc8e454fb6 little makefile fix 2024-01-04 11:54:47 +01:00
Katerina Kubecova
fca9fca3d9 includes still broken 2024-01-04 11:46:34 +01:00
Maria Matejka
a214035951 minor example update 2024-01-04 11:22:09 +01:00
Katerina Kubecova
9fb61e6034 broken includes for cbors 2024-01-04 10:57:16 +01:00
Katerina Kubecova
b7bc3d195a print_cbor: ospf show topology somehow works 2023-12-22 16:42:14 +01:00
Katerina Kubecova
0d74089e9a client.c: show memory somehow works in cbor, bird command prompt for cbor has little bugs 2023-12-20 16:17:12 +01:00
Maria Matejka
401ff80ed6 more lib stuff inside clients 2023-12-12 14:34:10 +01:00
Maria Matejka
4381ca1ec2 some entry points in client 2023-12-11 14:41:03 +01:00
Maria Matejka
708ce3f700 some crappy cbor fiddling with ip addresses 2023-12-10 14:35:35 +01:00
Katerina Kubecova
b0f148b86c client does not work for yi sock 2023-12-08 10:27:37 +01:00
Katerina Kubecova
17b08668a1 cmds.c, cbor_cmds.c (, config.Y): 'show symbols constant', 'show symbols variable' work 2023-12-07 13:42:23 +01:00
Katerina Kubecova
c200b7972b cbor ip addresses stored with 52/54 tag, but without yang changes 2023-12-07 10:28:44 +01:00
Katerina Kubecova
78750e197f birdc.py: first complete cbor to cbor commands, cbor saving int64 fix 2023-12-06 08:40:40 +01:00
Katerina Kubecova
0dccbc81d6 show__ospf.yang: Deleting any key leads to Missing key, not deleting any key leads to Duplicate key 2023-12-04 09:37:26 +01:00
Katerina Kubecova
ff7f5df4c5 fixup! cbor_cmds.c, ospf_for_cbor.c: ospf show topology looks working 2023-12-01 15:00:26 +01:00
Katerina Kubecova
5a079e8eae cbor_cmds.c, ospf_for_cbor.c: ospf show topology looks working 2023-12-01 14:43:24 +01:00
Katerina Kubecova
c27d43bf4c cbor_parse, cbor_cmds: looks like show_status and show_symbols work (show_symbols args included) 2023-11-29 15:14:16 +01:00
Katerina Kubecova
d91390e2d2 cbor_parse: parsing command, can show memory 2023-11-28 11:57:40 +01:00
Katerina Kubecova
10afb161bd second socket does not work 2023-11-24 13:57:27 +01:00
Maria Matejka
af8a604b43 fixup! fixup! fixup! fixup! various fices 2023-11-23 10:00:33 +01:00
Katerina Kubecova
6ba81eb8b8 fixup! fixup! fixup! various fices 2023-11-23 09:57:36 +01:00
Katerina Kubecova
d54ef3e310 fixup! fixup! various fices 2023-11-23 09:56:35 +01:00
Katerina Kubecova
6ab2f0fa54 fixup! various fices 2023-11-23 09:51:48 +01:00
Maria Matejka
1fb14f5769 various fices 2023-11-23 09:23:46 +01:00
Katerina Kubecova
52921062b8 cbor.c: primitive tools for writing cbor 2023-11-23 08:52:51 +01:00
Katerina Kubecova
cebae02023 fixup! split show_protocols_all to submodules, show memory and status updates 2023-11-16 16:40:33 +01:00
Katerina Kubecova
6d73b93be8 split show_protocols_all to submodules, show memory and status updates 2023-11-16 15:40:56 +01:00
Katerina Kubecova
d2ca67127d added yang & json show_protocols and show_protocols_all 2023-11-16 12:56:14 +01:00
Maria Matejka
ce6fa363b2 YANG: CBOR -> JSON basic converter 2023-11-15 13:56:37 +01:00
Maria Matejka
fe52f98a92 YANG: JSON -> CBOR always checks the deps and venv 2023-11-15 12:34:16 +01:00
Maria Matejka
815b1d4036 YANG: basic convertor JSON -> CBOR 2023-11-15 12:31:42 +01:00
Maria Matejka
1b9939b936 YANG: just some auxiliary files 2023-11-15 11:17:55 +01:00
Soha Jin
31aa62ae6d OSPF: On physical PtP links, skip next-hop resolving
Signed-off-by: Soha Jin <soha@jin.sh>
Co-developed-by: Wende Tan <twd2.me@gmail.com>
2023-11-09 14:33:25 +01:00
Ondrej Zajicek
a740054db5 Nest: Minor fixes in MPLS 2023-10-25 18:25:46 +02:00
Michal Rada
06301a991d Doc: prefix match prefix pattern definition typo (in sets of prefixes definition) 2023-10-24 18:02:40 +02:00
Ondrej Zajicek
63f1c4d918 Use RTA_MAX_SIZE in rta_do_cow()
This allows to modify MPLS label stack in filters. Fixes a bug in
handling of 'gw_mpls' attribute.
2023-10-24 14:25:18 +02:00
Maria Matejka
108c4cfaf3 Autoconf: minor reduction of redundancy
Joined BIRD_CHECK_GCC_OPTION and BIRD_ADD_GCC_OPTION.
2023-10-24 12:45:08 +02:00
Ondrej Zajicek
c9b7b03211 CI: Update for new netlab worker
- Change tag from 'birdlab' to 'netlab'
 - Change path of gitlab-runner home dir
 - Use stayrtr from Debian
2023-10-18 03:37:59 +02:00
Ondrej Zajicek
5973031460 CI: Add MPLS tests 2023-10-16 15:34:01 +02:00
Ondrej Zajicek
b5e9e5197b MPLS: Fix issue with recursive MPLS routes
Recursive MPLS routes used hostentry from the original route, which
triggered different table than MPLS table, and therefore were not
updated.
2023-10-16 15:21:36 +02:00
Ondrej Zajicek
0e1fbaa5b2 NEWS and version update 2023-10-06 18:53:25 +02:00
Ondrej Zajicek
23f94b1368 Doc: Minor fixes 2023-10-06 18:52:02 +02:00
Ondrej Zajicek
c5c3a22bcc Conf: Bytestrings with hex: should use the same general format as ones without.
Either hex:01234567, or hex:01:23:45:67. No confusing formats like
hex:0123:4567🆎cdef, which looks like there is an implicit zero byte.
2023-10-06 04:59:47 +02:00
Pavel Šorejs
e83beb70bd KRT: Allow to learn routes with RTPROT_KERNEL
The Kernel protocol, even with the option 'learn' enabled, ignores
direct routes created by the OS kernel (on Linux these are routes
with rtm_protocol == RTPROT_KERNEL).

Implement optional behavior where both OS kernel and third-party routes
are learned, it can be enabled by 'learn all' option.

Minor changes by committer.
2023-10-06 04:55:56 +02:00
Ondrej Zajicek
57aa077227 BGP: Improve custom BGP attributes
- Implement EA_GET for custom BGP attributes
 - Forbid EA_SET on existing opaque attributes
 - Forbid redefining existing attributes
 - Document possible compatibility problems
2023-10-05 21:54:25 +02:00
Ondrej Zajicek
ba01a6f2e6 MPLS: Handle compatibility with old configs
Old configs do not define MPLS domains and may use a static protocol
to define static MPLS routes.

When MPLS channel is the only channel of static protocol, handle it
as a main channel. Also, define implicit MPLS domain if needed and
none is defined.
2023-10-05 17:54:43 +02:00
Ondrej Zajicek
de09fda5dc Filter: Fix scope handling in for loops
Changes in scope implementation broke scope handling in for loops.
The term in for loops is supposed to be parsed in the parent scope.
2023-10-05 14:26:22 +02:00
Ondrej Zajicek
abae806efd Conf: Fix 'show symbols'
Seems like the root scope was not marked as active.
2023-10-04 20:16:13 +02:00
Ondrej Zajicek
ab47c2ae46 BGP: Custom attribute definitions should use cfg_alloc(), not malloc()
Otherwise we would get memory leaks.
2023-10-04 20:16:13 +02:00