radware.radware_modules.alteon_config_lacp_aggregation (0.6.12) — module

Manage lacp aggregation in Radware Alteon

| "added in version" 2.9 of radware.radware_modules"

Authors: Leon Meguira (@leonmeguira), Nati Fridman (@natifridman)

stableinterface | supported by certified

Install collection

Install with ansible-galaxy collection install radware.radware_modules:==0.6.12


Add to requirements.yml

  collections:
    - name: radware.radware_modules
      version: 0.6.12

Description

Manage lacp aggregation in Radware Alteon.

This feature is available only in Alteon standalone, VA, and ADC-VX mode.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: alteon configuration command
  radware.radware_modules.alteon_config_lacp_aggregation:
    provider:
      server: 192.168.1.1
      user: admin
      password: admin
      validate_certs: no
      https_port: 443
      ssh_port: 22
      timeout: 5
    state: present
    parameters:
      lacp_system_name: lacp_sys_name
      timeout_mode: short
      block_port_outside_of_aggr: enabled
      groups:
        - id: 50
          state: active
          ports::
            - 2
            - 3
        - id: 100
          state: passive
          ports::
            - 8
            - 9

Inputs

    
state:
    choices:
    - present
    - absent
    - read
    - overwrite
    - append
    default: null
    description:
    - When C(present), guarantees that the object exists with the provided attributes.
    - When C(absent), when applicable removes the object.
    - When C(read), when exists read object from configuration to parameter format.
    - When C(overwrite), removes the object if exists then recreate it.
    - When C(append), append object configuration with the provided parameters
    required: true

provider:
    description:
    - Radware Alteon connection details.
    required: true
    suboptions:
      https_port:
        default: null
        description:
        - Radware Alteon https port.
        required: true
      password:
        default: null
        description:
        - Radware Alteon password.
        required: true
      server:
        default: null
        description:
        - Radware Alteon IP address.
        required: true
      ssh_port:
        default: null
        description:
        - Radware Alteon ssh port.
        required: true
      timeout:
        default: null
        description:
        - Timeout for connection.
        required: true
      user:
        default: null
        description:
        - Radware Alteon username.
        required: true
      validate_certs:
        default: null
        description:
        - If C(no), SSL certificates will not be validated.
        - This should only set to C(no) used on personally controlled sites using self-signed
          certificates.
        required: true
        type: bool

parameters:
    description:
    - Parameters for lacp aggregation configuration.
    suboptions:
      block_port_outside_of_aggr:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Specifies what to do with traffic on a port (whether to block or to forward)
          that is not in a Link Aggregation Group..
        required: false
      groups:
        default: null
        description:
        - LACP group.
        elements: dict
        required: false
        suboptions:
          id:
            default: null
            description:
            - The LACP port ID.
            required: true
            type: int
          ports:
            default: null
            description:
            - Port IDs.
            elements: int
            required: true
            type: list
          state:
            choices:
            - false
            - active
            - passive
            default: null
            description:
            - LACP State.
            - Choose off to turn off LACP on port.
            - Choose active to initiate LACPDU updates on port.
            - Choose passive to not initiate LACPDU updates but responds to peer.
            required: true
        type: list
      lacp_system_name:
        default: null
        description:
        - The name of the LACP group.
        required: false
        type: str
      system_priority:
        default: null
        description:
        - A read-write value indicating the priority value associated with the Actor's
          System ID.
        required: false
        type: int
      timeout_mode:
        choices:
        - short
        - long
        default: null
        description:
        - The size of the timeout. If a port does not receive LACPDUs before the timeout
          expires, Alteon invalidates LACP information pertaining to the port.
        - Choose short for 3 seconds or long for 90 seconds.
        required: false

revert_on_error:
    default: false
    description:
    - If an error occurs, perform revert on alteon.
    required: false
    type: bool

write_on_change:
    default: false
    description:
    - Executes Alteon write calls only when an actual change has been evaluated.
    required: false
    type: bool

Outputs

obj:
  description: parameters object type
  returned: changed, read
  type: dictionary
status:
  description: Message detailing run result
  returned: success
  sample: object deployed successfully
  type: str