From 4a4b3487354a484e7bef5d66b6c030a42550bcd8 Mon Sep 17 00:00:00 2001 From: rfranks-securenet Date: Tue, 28 Mar 2023 21:07:01 +0100 Subject: BGP Password fix (#305) * BGP Password fix Updated command to use neighbor.password rather than neighbor.address * Added changelog fragment --- plugins/module_utils/network/vyos/rm_templates/bgp_global.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/module_utils/network/vyos/rm_templates/bgp_global.py b/plugins/module_utils/network/vyos/rm_templates/bgp_global.py index 0f7fd8b..69cccce 100644 --- a/plugins/module_utils/network/vyos/rm_templates/bgp_global.py +++ b/plugins/module_utils/network/vyos/rm_templates/bgp_global.py @@ -873,7 +873,7 @@ class Bgp_globalTemplate(NetworkTemplate): *$""", re.VERBOSE, ), - "setval": "protocols bgp {{ as_number }} neighbor {{ neighbor.address }} password {{ neighbor.address }}", + "setval": "protocols bgp {{ as_number }} neighbor {{ neighbor.address }} password {{ neighbor.password }}", "compval": "neighbor.password", "result": { "as_number": "{{ as_num }}", -- cgit v1.2.3