arubanetworks.aoscx.aoscx_poe (4.3.2) — module

Manages the configuration of an Interface's Power over Ethernet.

| "added in version" 4.0.0 of arubanetworks.aoscx"

Authors: Aruba Networks (@ArubaNetworks)

preview | supported by certified

Install collection

Install with ansible-galaxy collection install arubanetworks.aoscx:==4.3.2


Add to requirements.yml

  collections:
    - name: arubanetworks.aoscx
      version: 4.3.2

Description

This module manages the Power over Ethernet configuration onto a selected interface.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Configure Power over Ethernet on Interface 1/1/5
  aoscx_poe:
    interface: 1/1/5
    enable: true
    priority: high
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable Power Over Ethernet on Interface 1/1/10
  aoscx_poe:
    interface: 1/1/10
    enable: true
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Disable Power Over Ethernet on Interface 1/1/10
  aoscx_poe:
    interface: 1/1/10
    enable: false
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set Power Criticality level over Ethernet on Interface 1/1/7
  aoscx_poe:
    interface: 1/1/7
    priority: low
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set class for Power over Ethernet on Interface 1/1/4
  aoscx_poe:
    interface: 1/1/4
    assigned_class: 3
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set allocate method for Power over Ethernet on Interface 1/1/4
  aoscx_poe:
    interface: 1/1/4
    allocate_by_method: class
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable PD requested class override on Interface 1/1/4
  aoscx_poe:
    interface: 1/1/4
    pd_class_override: true
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable detection of pre-standard on Interface 1/1/4
  aoscx_poe:
    interface: 1/1/4
    pre_standard_detect: true
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete parameter selected on Interface 1/1/4
  aoscx_poe:
    interface: 1/1/4
    allocate_by_method: class
    state: delete

Inputs

    
state:
    choices:
    - create
    - update
    - delete
    default: create
    description: Create, update or delete the Interface's PoE configuration.
    required: false
    type: str

enable:
    description: 'Configurable flag to control PoE power delivery on this Interface. A
      value of true would enable PoE power delivery on this Interface. By default, the
      flag is set to false for all PoE capable Interfaces.

      '
    required: false
    type: bool

priority:
    choices:
    - low
    - high
    - critical
    description: 'Power priority level for the PoE Interface. The choices are ''low'',
      ''high'', and ''critical''.

      '
    required: false
    type: str

interface:
    description: The name of an interface available inside a switch
    required: true
    type: str

assigned_class:
    choices:
    - 3
    - 4
    - 6
    - 8
    description: 'Assigned class (power limit) for the PoE Interface. The choices are
      3, 4, 6 and 8.

      '
    required: false
    type: int

pd_class_override:
    description: Enable PD requested class override by user assigned class.
    required: false
    type: bool

allocate_by_method:
    choices:
    - usage
    - class
    description: 'Configure the power allocation method for the PoE Interface. The choices
      are ''usage'' and ''class''.

      '
    required: false
    type: str

pre_standard_detect:
    description: Enable detection of pre-standard PoE devices.
    required: false
    type: bool