HomeVyOS Platform

frr: T6746: additional improvements after 10.2 upgrade (#4259)

Description

frr: T6746: additional improvements after 10.2 upgrade (#4259)

  • smoketest: T6746: add substring search in getFRRconfig()

Some daemons (e.g. bgpd) have several nested substrings/sections like

router bgp 100
address-family ipv4 unicast
..
exit-address-family
exit

We can now use getFRRconfig() with the substring option to extract only
address-family ipv4 unicast
..
exit-address-family

Making config validation more granular

  • frrender: T6746: only re-render FRR config if config_dict did change
  • frrender: T6746: fix naming glitch isis/eigrp
  • frrender: T6746: add --stdout option when running with debug flags
  • smoketest: T6746: remove unneeded commit_guard time

It was an invalid workarround as the underlaying issue seems to be a race
condition in CStore.

The commit process is not finished until all pending files from
VYATTA_CHANGES_ONLY_DIR are copied to VYATTA_ACTIVE_CONFIGURATION_DIR. This is
done inside libvyatta-cfg1 and the FUSE UnionFS part. On large non-interactive
commits FUSE UnionFS might not replicate the real state in time, leading to
errors when querying the working and effective configuration.

TO BE DELETED AFTER SWITCH TO IN MEMORY CONFIG

Details

Provenance
c-poAuthored on Dec 30 2024, 7:35 PM
GitHubCommitted on Dec 30 2024, 7:35 PM
Parents
rVYOSONEXb58576dcd6ca: T6983: treat vyos-domain-resolver as a real service (#4261)
Branches
Loading...
Tags
Loading...