radware.alteon.alteon_device_facts (1.0.0) — module

Collect facts from Alteon device

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

Authors: Leon Meguira (@leonmeguira)

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

Collect facts from Alteon device


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: alteon device configuration
  radware.alteon.alteon_device_facts:
    provider:
      server: 192.168.1.1
      user: admin
      password: admin
      validate_certs: no
      https_port: 443
      ssh_port: 22
      timeout: 5
    gather_facts:
      - all
      - gslb_network
      - "!gslb_network"
      - sys_local_user
      - "!spanning_tree"
      - ssl_cert
      - ssl_key
      - "!sys_time_date"

Inputs

    
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

gather_facts:
    choices:
    - all
    - '!all'
    - system_info
    - '!system_info'
    - system_times
    - '!system_times'
    - system_capacity
    - '!system_capacity'
    - adc_software_images
    - '!adc_software_images'
    - vx_software_images
    - '!vx_software_images'
    - appshape
    - '!appshape'
    - gslb_network
    - '!gslb_network'
    - gslb_rule
    - '!gslb_rule'
    - hc_http
    - '!hc_http'
    - hc_logexp
    - '!hc_logexp'
    - hc_tcp
    - '!hc_tcp'
    - server
    - '!server'
    - server_state
    - '!server_state'
    - server_group
    - '!server_group'
    - ssl_cert
    - '!ssl_cert'
    - ssl_client_auth_policy
    - '!ssl_client_auth_policy'
    - ssl_key
    - '!ssl_key'
    - ssl_policy
    - '!ssl_policy'
    - ssl_server_auth_policy
    - '!ssl_server_auth_policy'
    - vadc_instance
    - '!vadc_instance'
    - vadc_instance_state
    - '!vadc_instance_state'
    - virtual_server
    - '!virtual_server'
    - virtual_service
    - '!virtual_service'
    - virtual_service_state
    - '!virtual_service_state'
    - l2_vlan
    - '!l2_vlan'
    - sys_local_user
    - '!sys_local_user'
    - sys_management_access
    - '!sys_management_access'
    - sys_predefined_local_users
    - '!sys_predefined_local_users'
    - sys_radius_auth
    - '!sys_radius_auth'
    - sys_tacacs_auth
    - '!sys_tacacs_auth'
    - sys_snmp
    - '!sys_snmp'
    - sys_logging
    - '!sys_logging'
    - sys_vx_peer_sync
    - '!sys_vx_peer_sync'
    - sys_alerts
    - '!sys_alerts'
    - sys_dns_client
    - '!sys_dns_client'
    - sys_time_date
    - '!sys_time_date'
    - physical_port
    - '!physical_port'
    - physical_port_state
    - '!physical_port_state'
    - physical_port_stats
    - '!physical_port_stats'
    - lacp_aggregation
    - '!lacp_aggregation'
    - lacp_aggregation_state
    - '!lacp_aggregation_state'
    - spanning_tree
    - '!spanning_tree'
    - l2_lldp
    - '!l2_lldp'
    - l3_interface
    - '!l3_interface'
    - l3_interface_state
    - '!l3_interface_state'
    - l3_gateway
    - '!l3_gateway'
    - l3_gateway_state
    - '!l3_gateway_state'
    - l3_bootp_relay
    - '!l3_bootp_relay'
    - l3_static_routes
    - '!l3_static_routes'
    - ha_floating_ip
    - '!ha_floating_ip'
    - ha_config_sync
    - '!ha_config_sync'
    - high_availability
    - '!high_availability'
    - global_redirection
    - '!global_redirection'
    - global_redirection_state
    - '!global_redirection_state'
    - fdn_server
    - '!fdn_server'
    - network_class_ip
    - '!network_class_ip'
    - network_class_region
    - '!network_class_region'
    - dns_responders
    - '!dns_responders'
    - ssl_cert_group
    - '!ssl_cert_group'
    - slb_pip
    - '!slb_pip'
    - slb_pip6
    - '!slb_pip6'
    - ha_service
    - '!ha_service'
    - snmpv3_target_params
    - '!snmpv3_target_params'
    - snmpv3_target_addr_new_cfg
    - '!snmpv3_target_addr_new_cfg'
    - bgp_global
    - '!bgp_global'
    - bgp_peer
    - '!bgp_peer'
    - group_real_server
    - '!group_real_server'
    - bgp_aggr
    - '!bgp_aggr'
    - alteon_cli_command
    - '!alteon_cli_command'
    - snmpv3_usm_user
    - '!snmpv3_usm_user'
    - snmpv3_group
    - '!snmpv3_group'
    - snmpv3_community
    - '!snmpv3_community'
    - snmpv3_view_tree_family
    - '!snmpv3_view_tree_family'
    - snmpv3_notify
    - '!snmpv3_notify'
    - snmp_general
    - '!snmp_general'
    - gel
    - '!gel'
    - slb_port
    - '!slb_port'
    - snmpv3_access
    - '!snmpv3_access'
    - l7_content_class
    - '!l7_content_class'
    - l7_content_class_hostname
    - '!l7_content_class_hostname'
    - l7_content_class_path
    - '!l7_content_class_path'
    - l7_content_class_filename
    - '!l7_content_class_filename'
    - l7_content_class_filetype
    - '!l7_content_class_filetype'
    - l7_content_class_header
    - '!l7_content_class_header'
    - l7_content_class_cookie
    - '!l7_content_class_cookie'
    - content_rule
    - '!content_rule'
    default: null
    description:
    - Facts subsets to collects/ignore.
    - A list of facts to include/exclude in output.
    - values starts with C(!)  specify that a specific subset should not be collected.
    - this module execute read command over all alteon configurators and output objects
    - for some configurators *_stats & *_state bean are available
    - for more details about certain choice , please refer to the approriate module
    elements: str
    required: true
    type: list

Outputs

result:
  description: facts parameters object type
  returned: success
  sample:
    facts_obj:
      global_redirection:
      - cpu_utilization_threshold_percent: 90
        dns_persist_ip4_subnet: 255.255.255.0
        dns_persist_ip6_prefix: 64
        dns_persist_timeout_minute: 60
        dns_persistence_cache_sync: disabled
        dns_redirection_state: enabled
        dssp_tcp_update_port: 80
        dssp_version: 1
        global_http_redirection: enabled
        global_proxy_redirection: enabled
        hostname_matching: enabled
        no_server_dns_response_code: not_exist_domain
        redirect_to_server_name: disabled
        service_down_response: srvfail
        session_utilization_threshold_percent: 90
        site_update_encryption: enabled
        site_update_interval_second: 60
        sites:
        - description: ''
          ha_peer_device: disabled
          primary_ip4_address: 8.9.9.9
          primary_ip6_address: null
          primary_ip_ver: ipv4
          secondary_ip4_address: 0.0.0.0
          secondary_ip6_address: null
          secondary_ip_ver: ipv4
          site_update_state: enabled
          state: enabled
        state: 'on'
      system_capacity:
        cur_and_ena_appshape_scripts: 3(2)
        cur_and_ena_bgp_peers: 0(0)
        cur_and_ena_bgp_route_aggrs: 0(0)
        cur_and_ena_cache_policies: 1(1)
        cur_and_ena_caching_rule_lists: 0(0)
        cur_and_ena_caching_rules: 0(0)
        cur_and_ena_filters: 0(0)
        cur_and_ena_gslb_domains: 1(1)
        cur_and_ena_gslb_failovers_per_site: 2(2)
        cur_and_ena_gslb_local_servers: 1(1)
        cur_and_ena_gslb_metrics_per_rule: 8(8)
        cur_and_ena_gslb_networks: 1(1)
        cur_and_ena_gslb_regions: 8(8)
        cur_and_ena_gslb_remote_servers: 1(1)
        cur_and_ena_gslb_rules: 1(2)
        cur_and_ena_gslb_services: 2(2)
        cur_and_ena_gslb_sites: 1(1)
        cur_and_ena_ip_gateways: 0+0(0+0)
        cur_and_ena_network_filters: 0(0)
        cur_and_ena_ospf_areas: 0(0)
        cur_and_ena_ospf_hosts: 0(0)
        cur_and_ena_ospf_interfaces: 0(0)
        cur_and_ena_ospf_summary_ranges: 0(0)
        cur_and_ena_ospf_virtual_links: 0(0)
        cur_and_ena_ospfv3_areas: 0(0)
        cur_and_ena_ospfv3_hosts: 0(0)
        cur_and_ena_ospfv3_interfaces: 0(0)
        cur_and_ena_ospfv3_summary_ranges: 0(0)
        cur_and_ena_ospfv3_virtual_links: 0(0)
        cur_and_ena_port_teams: 8(0)
        cur_and_ena_real_servers: 7(7)
        cur_and_ena_route_maps: 0(0)
        cur_and_ena_security_policies: 0(0)
        cur_and_ena_server_groups: 7
        cur_and_ena_static_trunks: 0(0)
        cur_and_ena_stg_groups: 16(1)
        cur_and_ena_virtual_servers: 3(3)
        cur_and_ena_vlans: 3(2)
        cur_arp_entries: 11
        cur_as_filters: 0(0)
        cur_bootp_servers: 0
        cur_data_class_manual_entries: 0
        cur_data_class_mem_size_bytes: 0
        cur_data_classes: 0
        cur_dns_servers: 0
        cur_dynamic_dd_entries: 0
        cur_fdb_entries: 0
        cur_gslb_dns_persist_cache_entries: 0(10240)
        cur_ip_interfaces: 1(1)
        cur_ip_route_entries: 5
        cur_local_nets: 0
        cur_network_classes: 1
        cur_network_elements: 1
        cur_session_table_entries: 0
        cur_smart_nat_entries: 0
        cur_ssl_cert_groups: 2
        cur_ssl_certs: 2
        cur_ssl_csrs: 2
        cur_ssl_interm_ca_certs: 0
        cur_ssl_keys: 2
        cur_ssl_trust_ca_certs: 1
        cur_static_arp_entries: 0
        cur_static_ip_routes: 0
        max_appshape_scripts: 50
        max_arp_entries: 8192
        max_as_filters: 256
        max_bgp_peers: 16
        max_bgp_route_aggrs: 16
        max_bootp_servers: 2
        max_cache_policies: 49
        max_caching_rule_lists: 49
        max_caching_rules: 500
        max_data_class_manual_entries: 16384
        max_data_class_mem_size_bytes: 41943040
        max_data_classes: 1024
        max_dns_servers: 2
        max_dynamic_dd_entries: 19032
        max_fdb_entries: 16384
        max_fdb_per_sp: 8192
        max_filters: 2048
        max_gslb_dns_persist_cache_entries: 10240
        max_gslb_domains: 1024
        max_gslb_failovers_per_site: 2
        max_gslb_local_servers: 1024
        max_gslb_metrics_per_rule: 8
        max_gslb_networks: 2048
        max_gslb_regions: 8
        max_gslb_remote_servers: 2047
        max_gslb_rules: 2048
        max_gslb_services: 8192
        max_gslb_sites: 64
        max_ids_groups: 62
        max_ip_gateways: 4+255
        max_ip_interfaces: 256
        max_ip_route_entries: 4096
        max_lacp_trunks: 28
        max_local_nets: 15
        max_manual_entries_per_data_class: 1024
        max_monitor_ports: 1
        max_network_classes: 1024
        max_network_elements: 8192
        max_network_filters: 256
        max_ospf_areas: 3
        max_ospf_hosts: 1024
        max_ospf_interfaces: 256
        max_ospf_lsdb_limit: 12288
        max_ospf_summary_ranges: 16
        max_ospf_virtual_links: 3
        max_ospfv3_areas: 3
        max_ospfv3_hosts: 1024
        max_ospfv3_interfaces: 256
        max_ospfv3_summary_ranges: 16
        max_ospfv3_virtual_links: 3
        max_port_teams: 8
        max_real_ids_servers: 62
        max_real_servers: 2047
        max_real_services: 16384
        max_route_maps: 32
        max_rport_to_vport: 64
        max_security_policies: 1023
        max_server_groups: 1024
        max_session_table_entries: 524275
        max_smart_nat_entries: 1024
        max_ssl_cert_groups: 128
        max_ssl_certs: 99
        max_ssl_csrs: 99
        max_ssl_interm_ca_certs: 24
        max_ssl_keys: 99
        max_ssl_trust_ca_certs: 24
        max_static_arp_entries: 128
        max_static_ip_routes: 1024
        max_static_trunks: 12
        max_stg_groups: 16
        max_trunks_per_trunk_group: 8
        max_virtual_servers: 1024
        max_virtual_services: 1023
        max_vlans: 4096
      system_info:
        device_name: ''
        eth_board_hw_number: N/A
        eth_board_hw_revision: N/A
        fan_status: notRelevant
        fips_card_status: notexist
        fips_security_level: none
        form_factor: Standalone
        free_memory_mb: 328340
        ha_state: NONE
        hard_disk_size_gb: 10
        hard_disk_used_gb: 6
        mac_address: 00:0c:29:c8:4e:ea
        mainboard_hw_number: N/A
        mainboard_hw_revision: Not Available
        management_ipv4_address: 192.168.31.100
        management_ipv6_address: ''
        max_cache_mb: 501
        platfrom_id: VA
        power_supply: notRelevant
        serial_number: N/A
        software_version: 31.0.10.50
        ssl_chip: Not Relevant
        temperature_sensors: notRelevant
        total_memory_mb: 2566064
        total_ram_size_gb: 2
        used_cache_mb: 0
      system_times:
        last_apply_time: 00:50:52 Fri Oct 18, 2019
        last_boot_time: 16:23:18 Fri Oct 11, 2019 (power cycle)
        last_save_time: 21:10:17 Fri Oct  4, 2019
        switch_uptime: 11 days, 13 hours, 19 minutes and 59 seconds
        system_date: 10/24/2019
        system_time: '22:01:07'
  type: dict