community / community.general / 0.1.1 / module / onyx_protocol Enables/Disables protocols on Mellanox ONYX network devices Authors: Samer Deeb (@samerd) preview | supported by communitycommunity.general.onyx_protocol (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
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
bfd: choices: - enabled - disabled description: bfd protocol bgp: choices: - enabled - disabled description: BGP protocol nve: choices: - enabled - disabled description: nve protocol 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