From cb738721c15ac01f49f66144dae80eb478331f77 Mon Sep 17 00:00:00 2001 From: omnom62 <75066712+omnom62@users.noreply.github.com> Date: Sat, 22 Aug 2026 01:04:18 +1000 Subject: T8989: wave 2 modules: interfaces, l3_interfaces, lag_interfaces, lldp_interfaces, ospfv2/3, ospf_interfaces * T8989: vyos_interfaces * T8989: vyos_interfaces changelog * T8989: vyos_interfaces changelog * T8989: changelog typo * T8989: vyos_l3_interfaces module * T8989: vyos_l3_interfaces module SIT and UAT * T8989: vyos_l3_interfaces doc * T8989: lag_interfaces * T8989: lag interfaces * T8989: lldp_interfaces * T8989: lldp_interfaces module * T8989: SIT updated * T8989: SIT updated * T8989: SIT updated * T8989: typo fixes * T8989: SIT and UAT updates * T8989: ospf_v3 module * T8989: ospf_v3 module * T8989: vyos_ospf_interfaces * T8989: vyos_ospf_interfaces SIT * T8989: vyos_ospf_interfaces SIT * T8989: vyos_ospfv3 SIT and UAT --------- Co-authored-by: John Estabrook --- plugins/modules/vyos_logging_global.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/modules/vyos_logging_global.py') diff --git a/plugins/modules/vyos_logging_global.py b/plugins/modules/vyos_logging_global.py index 09fdd6b..f18ba3f 100644 --- a/plugins/modules/vyos_logging_global.py +++ b/plugins/modules/vyos_logging_global.py @@ -305,7 +305,7 @@ def normalize_running(raw): for f, data in raw.get("console", {}).get("facility", {}).items(): result["console"]["facilities"][f] = data.get("level") - g = raw.get("global", {}) + g = raw.get("local", {}) for f, data in g.get("facility", {}).items(): result["global"]["facilities"][f] = data.get("level") if "archive" in g: @@ -315,7 +315,7 @@ def normalize_running(raw): if "preserve-fqdn" in g: result["global"]["preserve_fqdn"] = True - for host, data in raw.get("host", {}).items(): + for host, data in raw.get("remote", {}).items(): h = {"port": data.get("port"), "facilities": {}} for f, fd in data.get("facility", {}).items(): h["facilities"][f] = { @@ -402,7 +402,7 @@ def build_commands(want, have, state): ) cmds += diff_facilities( - ["system", "syslog", "global"], + ["system", "syslog", "local"], want["global"]["facilities"], have["global"]["facilities"], state, @@ -416,7 +416,7 @@ def build_commands(want, have, state): ) cmds += diff_map( - ["system", "syslog", "host"], + ["system", "syslog", "remote"], want["hosts"], have["hosts"], state, -- cgit v1.2.3