From 86b6d04c3d00e93e391bdbc1c7788789a9d4c8fe Mon Sep 17 00:00:00 2001 From: Björn Hemfjäll <25451914+bgh88@users.noreply.github.com> Date: Tue, 22 Jun 2021 23:51:01 +0200 Subject: static route fixes (#165) static route fixes Reviewed-by: https://github.com/apps/ansible-zuul --- .../module_utils/network/vyos/config/static_routes/static_routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/module_utils') diff --git a/plugins/module_utils/network/vyos/config/static_routes/static_routes.py b/plugins/module_utils/network/vyos/config/static_routes/static_routes.py index 61cb4ad5..bd7fd15e 100644 --- a/plugins/module_utils/network/vyos/config/static_routes/static_routes.py +++ b/plugins/module_utils/network/vyos/config/static_routes/static_routes.py @@ -375,7 +375,7 @@ class Static_routes(ConfigBase): key="next-hop", attrib=hop["forward_router_address"] + " " - + element, + + "next-hop-interface", value=hop[element], opr=opr, ) @@ -482,7 +482,7 @@ class Static_routes(ConfigBase): key="next-hop", attrib=hop["forward_router_address"] + " " - + element, + + "next-hop-interface", value=hop[element], remove=True, ) -- cgit v1.2.3