mellanox.onyx.onyx_linkagg – Manage link aggregation groups 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_linkagg
.
Synopsis¶
This module provides declarative management of link aggregation groups on Mellanox ONYX network devices.
Parameters¶
Examples¶
- name: Configure link aggregation group
onyx_linkagg:
name: Po1
members:
- Eth1/1
- Eth1/2
- name: Remove configuration
onyx_linkagg:
name: Po1
state: absent
- name: Create aggregate of linkagg definitions
onyx_linkagg:
aggregate:
- { name: Po1, members: [Eth1/1] }
- { name: Po2, members: [Eth1/2] }
- name: Remove aggregate of linkagg definitions
onyx_linkagg:
aggregate:
- name: Po1
- name: Po2
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Samer Deeb (@samerd)