mellanox.onyx.onyx_bgp – Configures BGP on Mellanox ONYX network devices¶
Note
This plugin is part of the mellanox.onyx collection (version 1.0.0).
To install it use: ansible-galaxy collection install mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_bgp
.
Synopsis¶
This module provides declarative management of BGP router and neighbors on Mellanox ONYX network devices.
Parameters¶
Examples¶
- name: Configure bgp
onyx_bgp:
as_number: 320
router_id: 10.3.3.3
neighbors:
- remote_as: 321
neighbor: 10.3.3.4
- remote_as: 322
neighbor: 10.3.3.5
multihop: 250
purge: True
state: present
networks:
- 172.16.1.0/24
vrf: default
evpn: yes
fast_external_fallover: yes
max_paths: 32
ecmp_bestpath: yes
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Samer Deeb (@samerd), Anas Badaha (@anasb)