ansible / ansible.builtin / v2.9.3 / module / onyx_protocol Enables/Disables protocols on Mellanox ONYX network devices | "added in version" 2.5 of ansible.builtin" Authors: Samer Deeb (@samerd) preview | supported by communityansible.builtin.onyx_protocol (v2.9.3) — module
pip
Install with pip install ansible==2.9.3
This module provides a mechanism for enabling and disabling protocols Mellanox on ONYX network devices.
- name: enable protocols for MLAG onyx_protocol: lacp: enabled spanning_tree: disabled ip_routing: enabled mlag: enabled dcb_pfc: enabled
bgp: choices: - enabled - disabled description: BGP protocol nve: choices: - enabled - disabled description: nve protocol version_added: '2.9' version_added_collection: ansible.builtin lacp: choices: - enabled - disabled description: LACP protocol lldp: choices: - enabled - disabled description: LLDP protocol magp: choices: - enabled - disabled description: MAGP protocol mlag: choices: - enabled - disabled description: MLAG protocol ospf: choices: - enabled - disabled description: OSPF protocol ip_l3: choices: - enabled - disabled description: IP L3 support dcb_pfc: choices: - enabled - disabled description: DCB priority flow control ip_routing: choices: - enabled - disabled description: IP routing support igmp_snooping: choices: - enabled - disabled description: IP IGMP snooping spanning_tree: choices: - enabled - disabled description: Spanning Tree support
commands: description: The list of configuration mode commands to send to the device. returned: always sample: - no spanning-tree - protocol mlag type: list