Commit graph

2955 commits

Author SHA1 Message Date
Mark Stapp 3dd4d417be
Merge pull request #18657 from Jafaral/commit-msg-format
Some checks are pending
build-test / Build the x86 ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu x86 docker image (push) Blocked by required conditions
build-test / Build the ARM ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu ARM docker image (push) Blocked by required conditions
doc: add commit message guidelines to the dev guide
2025-04-29 11:37:41 -04:00
Russ White 5398e01dca
Merge pull request #18605 from pguibert6WIND/sharp_usid
Add sharp support for seg6local routes with uSID flavor
2025-04-29 11:16:21 -04:00
Russ White a710f4bdb7
Merge pull request #18417 from AndriiFullroot/VyOS_T7226
ldpd: Option for disabled LDP hello message during TCP
2025-04-29 11:11:35 -04:00
Philippe Guibert cb8d0e125c sharpd: add End.B6.Encap behaviour to seg6local routes
Add End.B6.Encap support to install seg6local routes.

> ubuntu2204hwe# sharp install seg6local-routes 4004::4 nexthop-seg6local loop1 End_B6_Encap nexthop-seg6 2001::5 encap 2001🅰️🅱️c 2001🅰️:d:e 1
> ubuntu2204hwe# do show ipv6 route
> [..]
> D>* 4004::4/128 [150/0] via 2001::5, loop1, seg6local End.B6.Encap nh6 2001::5, seg6 2001🅰️🅱️c,2001🅰️:d:e, weight 1, 00:00:04

The uB6_Encap operation is also supported, but not displayed in the
documentation as iproute2 does not support it yet.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2025-04-25 15:22:47 +02:00
Philippe Guibert a65e5eab3e sharpd: add uSID block and function length parameters to seg6local route
Add the possibility to configure uSID seg6local route with specific
block and node length.

> ubuntu2204hwe# sharp install seg6local-routes 1005::1 nexthop-seg6local loop1 uN usid-block-length 40 usid-function-length 8 1
> ubuntu2204hwe# Ctrl-D
> # ip -6 ro show
> 1005::1 nhid 26  encap seg6local action End flavors next-csid lblen 40 nflen 8 dev loop1 proto 194 metric 20 pref medium

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2025-04-25 14:51:49 +02:00
Philippe Guibert 542a0f7518 sharpd: add uSID instruction support to seg6local routes
Seg6local routes can be installed with uSID instruction.

> ubuntu2204hwe# sharp install seg6local-routes 1006::1 nexthop-seg6local loop1 uN
> ubuntu2204hwe# Ctrl-D
> # ip -6 ro show
> 1006::1 nhid 28  encap seg6local action End flavors next-csid lblen 32 nflen 16 dev loop1 proto 194 metric 20 pref medium

As of today, uA and uN can be displayed with iproute2. The other
instructions are not rejected by the kernel, but are not displayed by
iproute2.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2025-04-25 14:30:13 +02:00
Donald Sharp ebe3458288 doc: Document new test dependancy
ssmping is needed to test the ssmpingd in the pimd daemon.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2025-04-23 13:56:07 -04:00
Donald Sharp 827e1d69b9
Merge pull request #18691 from valentinbinotto/valentin-dev
Some checks are pending
build-test / Build the x86 ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu x86 docker image (push) Blocked by required conditions
build-test / Build the ARM ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu ARM docker image (push) Blocked by required conditions
doc: state correct default behaviour of VTYSH_PAGER env if unset (vtysh manpage)
2025-04-23 09:23:12 -04:00
Donatas Abraitis 0ffed03d4a
Merge pull request #16836 from cscarpitta/feature/srv6-show-sids
Some checks are pending
build-test / Build the x86 ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu x86 docker image (push) Blocked by required conditions
build-test / Build the ARM ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu ARM docker image (push) Blocked by required conditions
zebra: Add CLI to display SRv6 SIDs allocated
2025-04-23 05:22:27 +03:00
Donald Sharp 06dd473602 doc: line vty was not documented
Try to document the sub-node `line vty` and
what it can do.  Call out the distinction
between vtysh and VTY.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2025-04-22 15:18:41 -04:00
Valentin Binotto f690276086 doc: Updated the default for VTYSH_PAGER if unset in user docs
Signed-off-by: Valentin Binotto <git.8c400bab53f220f13efe0112c1ea2f96@v434project.com>
2025-04-22 16:01:41 +00:00
Russ White 87923c8cb0
Merge pull request #18626 from donaldsharp/RA_me
Some checks are pending
build-test / Build the x86 ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu x86 docker image (push) Blocked by required conditions
build-test / Build the ARM ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu ARM docker image (push) Blocked by required conditions
Implement RFC8781 (NAT64 prefix in RA's)
2025-04-21 17:32:58 -04:00
Carmine Scarpitta 0ecf39ed9a doc: Add example for show specific SID CLI
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2025-04-19 10:59:43 +00:00
Carmine Scarpitta 13b1a5f75b doc: Add example for show SIDs CLI
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2025-04-19 10:59:43 +00:00
Carmine Scarpitta e49558718a doc: Add documentation for show SIDs command
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2025-04-19 10:59:43 +00:00
Jafar Al-Gharaibeh 5d49e40b83 doc: add commit message guidelines to the dev guide
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
2025-04-18 09:58:16 -05:00
David Lamparter 38ea0258ae zebra: implement RFC8781 (NAT64 prefix in RAs)
This tells hosts on the subnet if (and which) NAT64 prefix is in use.
Useful for things like xlat464, or local dns64.

Updated from the previous -03 draft implementation.  (PLC field did not
exist before.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2025-04-15 14:20:05 +02:00
Christopher Dziomba 86628752a5
doc: Add v4-over-v6 next-hop to staticd docs
GATEWAY can now be v4 or v6 for v4 routes, for v6 routes it
can only be v6 (like today).

Signed-off-by: Christopher Dziomba <christopher.dziomba@telekom.de>
2025-04-14 19:34:17 +02:00
Christian Hopps 3f6be74025 doc: add a diagram for config datastore cleanup on file reads
Signed-off-by: Christian Hopps <chopps@labn.net>
2025-04-08 07:04:19 +00:00
Christian Hopps 1ef4f19009
Merge pull request #15471 from opensourcerouting/frrreload_logfile
tools: Add option to frr-reload to specify alternate logfile
2025-03-30 05:52:43 -04:00
Andrii Melnychenko 7bc20bd767 doc/user: Added disable-establish-hello option documentation for ldpd
Signed-off-by: Andrii Melnychenko <a.melnychenko@vyos.io>
2025-03-25 14:52:20 +01:00
Donald Sharp 6940c1923b doc: Modify typesafe documentation
The typesafe documentation needs a bit of warning about
how they can cause problems on conversion.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2025-03-18 13:56:28 -04:00
Martin Winter b16752c26c
doc: Update frr-reload doc to include new option
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2025-03-10 23:23:11 +01:00
Mark Stapp 5af56c8bc9
Merge pull request #18338 from donaldsharp/documentation_typesafe
Documentation typesafe
2025-03-07 11:44:00 -05:00
Donald Sharp f1c75deb8e doc: The sbfd documentation was not being included
Add the sbfd documentation, such as it is, to the
developer documentation so that it can be read
by people.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2025-03-06 21:58:32 -05:00
Donald Sharp 4738cb51d2 doc: Developer documentation missing some build instructions
The building-frr-for-ubuntu2404 and building-doc were missing
from the compilation of developer documents.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2025-03-06 21:49:12 -05:00
Donald Sharp 39909f9fb9 doc: Add typesafe conversion examples
Try to give some good examples of various lists being
converted over to the typesafe way of doing things.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2025-03-06 21:43:10 -05:00
Quentin Young 5b1bae0c1b doc: don't override automake builtin targets
Automake generates default targets for `info`, `html`, `pdf` and
corresponding `install-info` and `install-html` targets to install the
artifacts generated by those rules. Prior to this change we are
overriding those targets which generates a warning.

The automake targets are designed to automatically build texinfo sources
without requiring user-specified rules. We do not have texinfo sources
so this functionality is not in use, but we are still overriding the
built in targets which is considered poor form. Automake has facilities
to modify the built in targets in the form of `-local` rules; this patch
renames the rules we had defined to use the `-local` ones.

The resulting targets generated by Automake look like this:

  html: html-am
  html-am: html-local

i.e. the final `html` target generated when using `html-local` to define
our custom rules is identical to the one we get by overriding the built
in `html` target. The same goes for the others.

So, the only effect this patch has is suppressing the warnings and
bringing us in line with Automake best practice.

Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2025-03-05 12:25:31 -08:00
Russ White 93c2dc28bc
Merge pull request #18306 from LabNConsulting/aceelindem/bfd-log-session-changes
bfdd: Add "log-session-changes" command to BFD configuration and operational state via YANG Northbound API.
2025-03-04 09:48:36 -05:00
Russ White 21dc0a4d16
Merge pull request #17961 from opensourcerouting/fix/bgp_reject_as_aggregate
bgpd: Do not advertise aggregate routes to contributing ASes
2025-03-04 09:18:38 -05:00
Acee Lindem dc942c5043 doc: Add "log-session-changes" documentation.
Signed-off-by: Acee Lindem <acee@lindem.com>
2025-03-03 20:23:13 +00:00
Philippe Guibert 52b1db86dc bgpd: add match ecommunity <exact|any> options
The exact-match and the any options are missing for the extended
communities. Add missing options that are present on the match
operations for communities and large-communities.

> route-map rmap permit 1
>  match extcommunity 1
> exit
> !
> route-map rmap permit 2
>  match extcommunity 2 any
> exit
> !
> route-map rmap permit 3
>  match extcommunity 3 exact-match
> exit

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2025-02-27 22:25:52 +01:00
Philippe Guibert c3084cacf4 bgpd: add 'match extcommunity-count' command to restrict comm count
Add a mechanism in route-map to filter out route-map which have a list
of extended communities greater than the given number.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2025-02-27 22:25:52 +01:00
Donald Sharp 594f65d888
Merge pull request #18242 from kaffarell/master
fabricd: add option to treat dummy interfaces as loopback interfaces
2025-02-26 11:18:22 -05:00
Gabriel Goller 84d99ad8a6 fabricd: add option to treat dummy interfaces as loopback interfaces
Enable dummy-interfaces to be used as router-id interfaces in openfabric
networks. This allows multiple openfabric routers with different
router-ids on a single node when using IP unnumbered setup (interfaces
without IPs configured). Previously we were limited by having a single
loopback interface, allowing only one openfabric router per node.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
2025-02-26 10:07:54 +01:00
Carmine Scarpitta 35b40cc996 doc: Add SRv6 uA SID configuration to staticd documentation
This commit adds detailed explanation on configuring SRv6 uA SIDs.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2025-02-26 07:19:52 +01:00
Christian Hopps 30f8de4417 doc: update mgmtd list of converted
Signed-off-by: Christian Hopps <chopps@labn.net>
2025-02-21 18:44:51 +00:00
Rafael Zalamena c92061b8db doc: add allowed-neighbors command
Let users know about new command to filter PIM sessions based on peer
address.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2025-02-19 09:56:09 -03:00
Donald Sharp 23fc4ce666
Merge pull request #18111 from opensourcerouting/gmp-leave
pimd,pim6d: support IGMPv2/MLDv1 immediate leave
2025-02-19 07:21:00 -05:00
Russ White 77ab298369
Merge pull request #18189 from Shbinging/fix_ip_rip_split-horizon
doc: correct `ip rip split-horizon` command in the documentation
2025-02-18 09:16:46 -05:00
Shbinging 5256a8b5c0 doc: correct ip rip split-horizon command in the RIP documentation.
The previous version incorrectly spelled the command as `ip split-horizon`. The correct command is `ip rip split-horizon`, as indicated in the code at line 675 of rip_cli.c.

Signed-off-by: Shbinging <bingshui@smail.nju.edu.cn>
2025-02-18 15:37:19 +08:00
David Schweizer 1951e713d2
doc: Update description of 'allow-reserved-ranges'
Update user documentation to reflect behavior of config command
'allow-reserved-ranges' after changes enable use of ipv4 class E
addresses by default.

Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
2025-02-14 15:05:08 +01:00
Donald Sharp b9ac2c7b2f
Merge pull request #18080 from opensourcerouting/fix/enable_ll_capability_if_using_unnumerred
bgpd: Some fixes/improvements for Link-Local Next Hop capability
2025-02-13 14:06:24 -05:00
Russ White fbff0436d3
Merge pull request #18046 from LabNConsulting/aceelindem/ospf-lsa-add-delete-hook
ospfd: Replace LSDB callbacks with LSA Update/Delete hooks.
2025-02-13 11:16:42 -05:00
Rafael Zalamena 16511bf3b0 doc: document new immediate-leave commands
Let user know about this new multicast knob.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2025-02-13 12:45:48 -03:00
Jafar Al-Gharaibeh f70530c8e8
Merge pull request #18032 from opensourcerouting/gmp-limit
pimd,pim6d: implement GMP group / source limits
2025-02-13 09:32:07 -06:00
Acee Lindem b44258413f ospfd: Replace LSDB callbacks with LSA Update/Delete hooks.
Replace the LSDB callbacks with LSA update and delete hooks using the
the FRR hook mechanism. Remove redundant callbacks by placing the LSA
update and delete hooks in a single place so that deletes don't need
to be handled by the update hook. Simplify existing OSPF TE and OSPF
API Server callbacks now that there is no ambiguity or redundancy.
Also cleanup the debugging by separating out opaque-lsa debugging
from the overloaded event debugging.

Signed-off-by: Acee Lindem <acee@lindem.com>
2025-02-12 08:21:34 -05:00
Russ White b040b83c35
Merge pull request #17870 from opensourcerouting/fix/bgp_show_ip_bgp_cmd_internal
bgpd: Show internal data for BGP routes
2025-02-11 08:44:43 -05:00
Donatas Abraitis 195636e3b3 doc: Enable Link-Local Next Hop capability for unnumbered peers implicitly
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2025-02-10 23:05:15 +02:00
Rafael Zalamena 54c5da3ab0 doc: document MLD reset command
Document newly added reset command for MLD (similar to clear ip igmp
interfaces).

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2025-02-10 15:40:07 -03:00