redhat: Add Workaround for inet_ntop replacement which breaks rpmsNewer glibc on RedHat 9 fail with _FORTIFY_SOURCE on the frr replacement
of the inet_ntop. Fixes https://github.com/FRRouting/frr/issues/18575
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
test: Add test case to verify RA advAdded test cases with interface down/up/shutdown
to verify RA state of an interface
Signed-off-by: Soumya Roy <souroy@nvidia.com>
zebra: V6 RA not sent anymore after interface up-down-upIssue:
Once interface is shutdown, the interface is removed from
wheel timer. Now when the interface is up again, current code
won't add the interface to wheel timer again, so it won't send RA
anymore for that interface
Fix:
Moved wheel_add for interface inside rtadv_start_interface_events
This is more common function which gets triggered for both
RA enable and interface up event
Also on any ...
Merge pull request #18729 from opensourcerouting/feature/draft-wang-idr-next-next-hop-nodes_with_topotestbgpd: Implement BGP Next Hop Dependent Characteristics Attribute (NNHN only)
tests: add top-level query topotestDo a combination of queries with `datastore X` and `with-config` and
`only-config` options.
Signed-off-by: Christian Hopps <chopps@labn.net>
lib: remove arbitrary message size limitLarge routing tables can return very large results the system handles it.
Signed-off-by: Christian Hopps <chopps@labn.net>
lib: northbound add support for root-level operational data walkSupport `show mgmt get-data /* ...` to query all state.
Signed-off-by: Christian Hopps <chopps@labn.net>
mgmtd: improve get-data handling of "/*" queriesMerge yang-library results into any other state (config or returned backend
state).
Use `show mgmt get-data ...` to get all config and state for support bundles.
Signed-off-by: Christian Hopps <chopps@labn.net>
zebra: finish moving `ip[v6] forwarding` to NB/mgmtdNeed to put the CLI handler in the file linked into mgmtd, also use
NB yang CLI write function for config generation.
Signed-off-by: Christian Hopps <chopps@labn.net>
lib: fix remove extra space when dumping srv6 instruction with no optionThe following uSID instruction is displayed with an extra space after
the name of the instruction and before the comma.
> I>* fc00:0:2::/48 [115/0] is directly connected, sr0, seg6local uN , weight 1, 00:00:18
Remove the extra space appended. After:
> I>* fc00:0:2::/48 [115/0] is directly connected, sr0, seg6local uN, weight 1, 00:00:18
Fixes: ebac40af0c01 ("lib: add support for next-csid i...
lib: fix show ipv6 route adds an extra space to display srv6 flavorsAn extra space is needed, when dumping the End PSP flavor.
> ubuntu2204hwe# show ipv6 route
> [..]
> D>* 1::12/128 [150/0] is directly connected, dum0, seg6local End (PSP), weight 1, 00:11:40
> D>* 1::13/128 [150/0] is directly connected, dum0, seg6local uN (PSP), weight 1, 00:11:21
This extra space is unnecessary.
Fixes: a95fd3e76fc1 ("lib: add support for flavors in seg6 routes")
Signed...
isisd: handle End instruction with psp flavorAdd PSP flavor in IS-IS for End behavior only.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib, isisd: add srv6 macro to update behavior codepointThe srv6 codepoint depends on the flavors used.
Return the appropriate codepoint for ISIS End and End.X codepoints.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
topotests: add bgp mpls pic testAdd a test that controls if pic contexts are applied to MPLS routes.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
topotests: add pic mode support API when starting daemonsAdd the pic mode support in frr API, in order to get the -p option into
zebra.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra: add pic support to MPLS based routes tooMPLS labeled routes are also eligible to PIC support.
Return true when a labeled route is used.
Signed-off-by: hanyu.zly <hanyu.zly@alibaba-inc.com>
zebra: add pic support for Kernel based dataplaneIn the kernel, when a nexthop group is set to go down,
for instance because zebra detects an IGP failure,
then the other nexthop groups that share the same IP,
but do have other settings like SRv6 or label options are not updated by the
kernel. This is because the kernel does not have a nexthop-group hierarchy,
contrary to the sonic dataplane. To mitigate it, add a picnh_dependents
structure to...
zebra: Add PIC support in the srv6 VPN scenario.This PR implements the separation of nh_srv6-related information,
which was originally stored in the nexthop, in the srv6-vpn scenario.
It generates a new pic nexthop that contains only the next-hop forwarding
information.
Meanwhile, the original nexthop containing nh_srv6 is used
as pic context information and indexed separately.
With this modification, we can converge the nexthop group and...
bgpd: fix to show exist/non-exist-map in 'show run' properlyCurrently, peergroup_filter_check() does not check whether exist-map or
non-exist-map is configured along with advertise-map. This check is
missing only when the peer is part of peergroup and having the
exist/non-exist-map. So the 'show run' does not show the
configured exist/non-exist-map as expected.
This new check is needed because, unlike other filter type the adv-map can have
exist/non-ex...
ldpd: Free up leaked prefix-list memory on shutdownOn shutdown the prefix-list memory was being leaked
clean it up.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>