radware.alteon.alteon_config_l7_content_class (1.0.0) — module

create and manage layer7 content class in Radware Alteon

| "added in version" 1.0.0 of radware.alteon"

Authors: Michal Greenberg (@michalg)

Install collection

Install with ansible-galaxy collection install radware.alteon:==1.0.0


Add to requirements.yml

  collections:
    - name: radware.alteon
      version: 1.0.0

Description

create and manage layer7 content class in Radware Alteon.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: alteon configuration command
  radware.alteon.alteon_config_l7_content_class:
    provider:
      server: 192.168.1.1
      user: admin
      password: admin
      validate_certs: no
      https_port: 443
      ssh_port: 22
      timeout: 5
    state: present
    parameters:
      content_class_id: 3
      name: content_class3
      content_class_type: http2

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.
    required: true
    type: str

provider:
    description:
    - Radware Alteon connection details.
    required: true
    suboptions:
      https_port:
        default: null
        description:
        - Radware Alteon https port.
        required: true
        type: int
      password:
        aliases:
        - pass
        - pwd
        default: null
        description:
        - Radware Alteon password.
        required: true
        type: str
      server:
        default: null
        description:
        - Radware Alteon IP address.
        required: true
        type: str
      ssh_port:
        default: null
        description:
        - Radware Alteon ssh port.
        required: true
        type: int
      timeout:
        default: null
        description:
        - Timeout for connection.
        required: true
        type: int
      user:
        default: null
        description:
        - Radware Alteon username.
        required: true
        type: str
      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
    type: dict

parameters:
    description:
    - Parameters for layer7 content class configuration.
    suboptions:
      content_class_id:
        default: null
        description:
        - content class index.
        required: true
        type: str
      content_class_type:
        choices:
        - http
        - http2
        - ssl
        default: null
        description:
        - The content class type. This field can be set only for new entry.
        required: false
        type: str
      cookie:
        choices:
        - 'yes'
        - 'no'
        default: null
        description:
        - Read only field to indicate if cookie table is not empty for current content
          class.
        required: false
        type: str
      file_name:
        choices:
        - 'yes'
        - 'no'
        default: null
        description:
        - Read only field to indicate if URL file name table is not empty for current
          content class.
        required: false
        type: str
      file_type:
        choices:
        - 'yes'
        - 'no'
        default: null
        description:
        - Read only field to indicate if URL file_type table is not empty for current
          content class.
        required: false
        type: str
      header:
        choices:
        - 'yes'
        - 'no'
        default: null
        description:
        - Read only field to indicate if header table is not empty for current content
          class.
        required: false
        type: str
      host_name:
        choices:
        - 'yes'
        - 'no'
        default: null
        description:
        - Read only field to indicate if URL host name table is not empty for current
          content class.
        required: false
        type: str
      logical_expression:
        default: null
        description:
        - Set logical expression between classes.
        required: false
        type: str
      name:
        default: null
        description:
        - Set Descriptive name for the content class.
        required: false
        type: str
      path:
        choices:
        - 'yes'
        - 'no'
        default: null
        description:
        - Read only field to indicate if URL path table is not empty for current content
          class.
        required: false
        type: str
      text:
        choices:
        - 'yes'
        - 'no'
        default: null
        description:
        - Read only field to indicate if text table is not empty for current content class.
        required: false
        type: str
      xml_tag:
        choices:
        - 'yes'
        - 'no'
        default: null
        description:
        - Read only field to indicate if xml_tag table is not empty for current content
          class.
        required: false
        type: str
    type: dict

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: dict
status:
  description: Message detailing run result
  returned: success
  sample: object deployed successfully
  type: str