community.general.onyx_protocol (0.1.1) — module

Enables/Disables protocols on Mellanox ONYX network devices

Authors: Samer Deeb (@samerd)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

This module provides a mechanism for enabling and disabling protocols Mellanox on ONYX network devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: enable protocols for MLAG
  onyx_protocol:
    lacp: enabled
    spanning_tree: disabled
    ip_routing: enabled
    mlag: enabled
    dcb_pfc: enabled

Inputs

    
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

Outputs

commands:
  description: The list of configuration mode commands to send to the device.
  returned: always
  sample:
  - no spanning-tree
  - protocol mlag
  type: list