radware.radware_modules.alteon_config_system_snmp (0.6.12) — module

Manage SNMP 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 SNMP 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_system_snmp:
    provider: 
      server: 192.168.1.1
      user: admin
      password: admin
      validate_certs: no
      https_port: 443
      ssh_port: 22
      timeout: 5
    state: present
    parameters:
      snmp_access_level: read_write
      snmp_v1_v2_state: enabled
      read_community: public
      write_community: private
      trap_ip4_host1: 10.10.10.1
      authentication_failure_traps: enabled
      system_name: alt.test
      system_location: ny

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 SNMP configuration.
    suboptions:
      authentication_failure_traps:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Specifies whether the SNMP entity is permitted to generate authenticationFailure
          traps. The value of this object overrides any configuration information. As
          such, it provides a means whereby all authenticationFailure traps may be disabled.
        - Note that it is strongly recommended that this object be stored in non-volatile
          memory so that it remains constant across re-initializations of the network
          management system.
        required: false
      read_community:
        default: null
        description:
        - The SNMP Read community string.
        required: false
        type: str
      snmp_access_level:
        choices:
        - read_only
        - read_write
        - disabled
        default: null
        description:
        - The SNMP access control.
        required: false
      snmp_v1_v2_state:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Specifies whether to enable V1/V2 access.
        required: false
      system_contact:
        default: disabled
        description:
        - The textual identification of the contact person for this managed node together
          with information on how to contact this person. If no contact information is
          known, the value is the zero-length string.
        required: false
        type: str
      system_location:
        default: null
        description:
        - The physical location of this node (for example, 'telephone closet 3rd floor').
          If the location is unknown, the value is the zero-length string.
        required: false
        type: str
      system_name:
        default: null
        description:
        - An assigned name for this managed node. By convention, this is the node fully-qualified
          domain name. If the name is unknown, the value is the zero-length string.
        required: false
        type: str
      trap_ip4_host1:
        default: null
        description:
        - The first SNMP trap host IP address.
        required: false
        type: str
      trap_ip4_host2:
        default: null
        description:
        - The second SNMP trap host IP address.
        required: false
        type: str
      trap_ip6_host1:
        default: null
        description:
        - The first SNMP trap host IP address.
        required: false
        type: str
      trap_ip6_host2:
        default: null
        description:
        - The second SNMP trap host IP address.
        required: false
        type: str
      trap_source_interface:
        default: null
        description:
        - The SNMP trap source interface number.
        required: false
        type: int
      write_community:
        default: null
        description:
        - The SNMP Write community string.
        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