community.general.onyx_buffer_pool (0.1.1) — module

Configures Buffer Pool

Authors: Anas Badaha (@anasb)

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 declarative management of Onyx Buffer Pool configuration on Mellanox ONYX network devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: configure buffer pool
  onyx_buffer_pool:
    name: roce
    pool_type: lossless
    memory_percent: 50.00
    switch_priority: 3

Inputs

    
name:
    description:
    - pool name.
    required: true

pool_type:
    choices:
    - lossless
    - lossy
    default: lossy
    description:
    - pool type.

memory_percent:
    description:
    - memory percent.

switch_priority:
    description:
    - switch priority, range 1-7.

Outputs

commands:
  description: The list of configuration mode commands to send to the device.
  returned: always
  sample:
  - traffic pool roce type lossless
  - traffic pool roce memory percent 50.00
  - traffic pool roce map switch-priority 3
  type: list