diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2026-10-09 14:19:11 +0300 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2026-10-09 14:37:43 +0300 |
| commit | c254b0dca087083b77dea7dc3c8c3a797be7cf72 (patch) | |
| tree | 9e5e9e7d20a6fcaf1877739c87fe5e9da9028999 /python | |
| parent | 4b022646b7657416b3429202784ffb280eac9c80 (diff) | |
| download | vyos-1x-c254b0dca087083b77dea7dc3c8c3a797be7cf72.tar.gz vyos-1x-c254b0dca087083b77dea7dc3c8c3a797be7cf72.zip | |
vpp: T9161: Fix smoketests failing on NICs capped at 1500 MTU
VPP now rejects an MTU above the NIC limit, but the CI NICs are capped
at 1500, so tests using MTU 2500 on eth1 failed. The rejected commit
also left a queued initial VPP dependency in the commit daemon, which
the next commit ran with the old config, so every following test failed
too. Pending initial dependents are now cleared before each script run
in vyos-configd and vyos-commitd, and the tests use MTUs that fit any
NIC.
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/configdep.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/vyos/configdep.py b/python/vyos/configdep.py index 80dbcf873..f0b52afea 100644 --- a/python/vyos/configdep.py +++ b/python/vyos/configdep.py @@ -257,6 +257,12 @@ def set_dependents_initial( ) +def clear_dependents_initial(): + """Drop initial dependents left over from a failed commit, so the next + commit does not run them.""" + dependency_list_initial.clear() + + def call_dependents_initial(): # pylint: disable=global-statement global dependency_list_initial |
