diff options
| author | Christian Breunig <christian@breunig.cc> | 2024-12-11 20:14:45 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2024-12-16 22:24:50 +0100 |
| commit | 55683a8406e17408021437cb35b57c48bd8b2ab1 (patch) | |
| tree | bc149befb6ceadc94bf57503c65dd9267339edf0 /src/conf_mode/protocols_mpls.py | |
| parent | 779f311e7fe81e3c85de28f13e4e12e33b255483 (diff) | |
| download | veeos-1x-55683a8406e17408021437cb35b57c48bd8b2ab1.tar.gz veeos-1x-55683a8406e17408021437cb35b57c48bd8b2ab1.zip | |
configd: T6746: handle FRR config reload as last step in commit
Diffstat (limited to 'src/conf_mode/protocols_mpls.py')
| -rwxr-xr-x | src/conf_mode/protocols_mpls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/protocols_mpls.py b/src/conf_mode/protocols_mpls.py index 12899f0b2..bab9648c4 100755 --- a/src/conf_mode/protocols_mpls.py +++ b/src/conf_mode/protocols_mpls.py @@ -67,12 +67,12 @@ def verify(config_dict): return None def generate(config_dict): - if 'frrender_cls' not in config_dict: + if config_dict and 'frrender_cls' not in config_dict: FRRender().generate(config_dict) return None def apply(config_dict): - if 'frrender_cls' not in config_dict: + if config_dict and 'frrender_cls' not in config_dict: FRRender().apply() if not has_frr_protocol_in_dict(config_dict, 'mpls'): |
