From d9c9c48a0993524fa6443e317e5046e0e01d7641 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Thu, 8 Aug 2024 11:24:00 -0500 Subject: qos: T6638: require interface state existence in verify conditional (cherry picked from commit ed63c9d1896a218715e13e1799fc059f4561f75e) --- src/conf_mode/qos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/qos.py b/src/conf_mode/qos.py index 45248fb4a..464d7c192 100755 --- a/src/conf_mode/qos.py +++ b/src/conf_mode/qos.py @@ -303,7 +303,7 @@ def apply(qos): return None for interface, interface_config in qos['interface'].items(): - if not verify_interface_exists(interface, warning_only=True): + if not verify_interface_exists(interface, state_required=True, warning_only=True): # When shaper is bound to a dialup (e.g. PPPoE) interface it is # possible that it is yet not availbale when to QoS code runs. # Skip the configuration and inform the user via warning_only=True -- cgit v1.2.3