radware.radware_modules.alteon_config_slb_port (0.6.12) — module

Manage SLB port parameters in Radware Alteon

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

Authors: Ofer Epstein (@ofere)

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 SLB port parameters in Radware Alteon.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: alteon configuration command
  radware.radware_modules.alteon_config_slb_port:
    provider: 
      server: 192.168.1.1
      user: admin
      password: admin
      validate_certs: no
      https_port: 443
      ssh_port: 22
      timeout: 5
    state: present
    parameters:
      index: 1
      state: client
      hot_standby: disabled
      inter_switch: disabled
      pip_state: disabled
      rts_state: disabled
      delete: other
      idslb_state: disabled
      filter: disabled
      add_filter: 1
      rem_filter: 1
      server_state: disabled
      client_state: disabled
      l3_filter: disabled
      filter_bmap: 1 2
      inter_switch_vlan: 1
      vlan_bmap: 1 2

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 SLB port configuration.
    suboptions:
      add_filter:
        choices:
        - 1-2048
        default: null
        description:
        - Specify the Filter Number to be added to this Port table.
        required: false
      client_state:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Enable or disable Client Processing.
        required: false
      delete:
        choices:
        - other
        - delete
        default: null
        description:
        - delete raw.
        required: false
      filter:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Enable or disable Filtering.
        required: false
      filter_bmap:
        default: null
        description:
        - The filtering rules applied to the port (read-only).
        required: false
        type: str
      hot_standby:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Enable or disable hot standby processing on the switch port.
        required: false
      idslb_state:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Enable or disable Intrusion Detection server load balancing.
        required: false
      index:
        default: null
        description:
        - SLB port index.
        required: true
        type: str
      inter_switch:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Enable or disable inter-switch processing on the switch port.
        required: false
      inter_switch_vlan:
        choices:
        - 1-4090
        default: null
        description:
        - VLAN for inter-switch processing.
        required: false
      l3_filter:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Enable or disable Layer3 Filtering.
        required: false
      pip_state:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Enable or disable use of proxy IP address on the switch port.
        required: true
      rem_filter:
        choices:
        - 1-2048
        default: null
        description:
        - Specify the Filter Number to be deleted from this Port table.
        required: false
      rts_state:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Enable or disable RTS processing on the switch port.
        required: false
      server_state:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Enable or disable Server Processing.
        required: false
      state:
        choices:
        - none
        - client
        - server
        - client-server
        default: null
        description:
        - SLB state of the port.
        required: false
      vlan_bmap:
        default: null
        description:
        - VLANs associated with this port (read-only).
        required: false
        type: str

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