PaloAltoNetworks / ansible-pan

Ansible modules for Palo Alto Networks NGFWs
Other
229 stars 159 forks source link

Global BGP enable or disable not possible for multiple sites with existing panos_bgp module #427

Closed demakkar closed 4 years ago

demakkar commented 5 years ago

Global BGP enable or disable not possible for Multiple sites but only 1 site at a time with existing panos_bgp module since we need to mention the router id and local as for each site.

However this is possible via command line using the command.

set network virtual-router abc protocol bgp enable no

- name: Shutdown the global bgp panos_bgp: ip_address: "{{ inventory_hostname }}" username: "{{cli_username}}" password: "{{cli_password}}" vr_name: exp-route router_id: "a.b.c.d" local_as: XXXX enable: false register: sysinfo_output