arubanetworks.aos_switch.arubaoss_system_attributes (1.7.0) — module

implements rest api for system attributes

| "added in version" 2.4.0 of arubanetworks.aos_switch"

Authors: Sanju Sadanandan (@hpe)

preview | supported by community

Install collection

Install with ansible-galaxy collection install arubanetworks.aos_switch:==1.7.0


Add to requirements.yml

  collections:
    - name: arubanetworks.aos_switch
      version: 1.7.0

Description

This implements rest apis which can be used to configure system attributes

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
     - name: Updates the given console authorization configuration
             to the system
       arubaoss_system_attributes:
         hostname: "Test_santorini"
         location: "Bangalore"
         contact: "08099035734"
         domain_name: "hpe.com"
         version: "IAV_IP_V4"
         device_operation_mode: "DOM_AUTONOMOUS"
         uplink_vlan_id: "10"
         uplink_ip: "10.100.20.30"
         default_gateway_ip: "10.100.119.1"

Inputs

    
host:
    description: 'Specifies the DNS host name or address for connecting to the remote
      device over the specified transport. The value of host is used as the destination
      address for the transport.

      '
    type: str

port:
    description: 'Specifies the port to use when building the connection to the remote
      device.

      '
    type: int

contact:
    description: Contact information for the system.
    required: false

timeout:
    description: 'Specifies the timeout in seconds for communicating with the network
      device for either connecting or sending commands. If the timeout is exceeded before
      the operation is completed, the module will error.

      '
    type: int

use_ssl:
    description: 'Configures use SSL (HTTPS) for access to the remote device.

      '
    type: bool

version:
    choices:
    - IAV_IP_V4
    - IAV_IP_V6
    default: IAV_IP_V4
    description: Version of ip address
    required: false

hostname:
    description: The system name
    required: false

location:
    description: Location where the system is installed
    required: false

password:
    description: 'Specifies the password to use to authenticate the connection to the
      remote device. This value is used to authenticate the SSH session. If the value
      is not specified in the task, the value of environment variable ANSIBLE_NET_PASSWORD
      will be used instead.

      '
    type: str

provider:
    description: A dict object containing connection details.
    suboptions:
      api_version:
        default: None
        description: 'Configures (force) API version (vX.Y) for acces to the remote device.

          '
        type: str
      host:
        description: 'Specifies the DNS host name or address for connecting to the remote
          device over the specified transport. The value of host is used as the destination
          address for the transport.

          '
        type: str
      password:
        description: 'Specifies the password to use to authenticate the connection to
          the remote device. This value is used to authenticate the SSH session. If the
          value is not specified in the task, the value of environment variable ANSIBLE_NET_PASSWORD
          will be used instead.

          '
        type: str
      port:
        description: 'Specifies the port to use when building the connection to the remote
          device.

          '
        type: int
      ssh_keyfile:
        description: 'Specifies the SSH key to use to authenticate the connection to the
          remote device. This value is the path to the key used to authenticate the SSH
          session. If the value is not specified in the task, the value of environment
          variable ANSIBLE_NET_SSH_KEYFILE will be used instead.

          '
        type: path
      timeout:
        description: 'Specifies the timeout in seconds for communicating with the network
          device for either connecting or sending commands. If the timeout is exceeded
          before the operation is completed, the module will error.

          '
        type: int
      transport:
        default: aossapi
        description: 'Configures the transport (aossapi or network_cli) mode.

          '
        type: str
      use_proxy:
        default: false
        description: 'Configures use (Local) Proxy for access to the remote device.

          '
        type: bool
      use_ssl:
        description: 'Configures use SSL (HTTPS) for access to the remote device.

          '
        type: bool
      username:
        description: 'Configures the username to use to authenticate the connection to
          the remote device. This value is used to authenticate the SSH session. If the
          value is not specified in the task, the value of environment variable ANSIBLE_NET_USERNAME
          will be used instead.

          '
        type: str
      validate_certs:
        default: false
        description: 'Configures validation of certification for access to the remote
          device.

          '
        type: bool
    type: dict

username:
    description: 'Configures the username to use to authenticate the connection to the
      remote device. This value is used to authenticate the SSH session. If the value
      is not specified in the task, the value of environment variable ANSIBLE_NET_USERNAME
      will be used instead.

      '
    type: str

uplink_ip:
    description: Ip address of Vlan via which central is connected. This is applicable
      only when device_operation_mode is DOM_CLOUD or DOM_CLOUD_WITH_SUPPORT. This won't
      be available for non Central uses case
    required: false

api_version:
    default: None
    description: 'Configures (force) API version (vX.Y) for acces to the remote device.

      '
    type: str

domain_name:
    description: Regulatory domain where the system is operating on
    required: false

ssh_keyfile:
    description: 'Specifies the SSH key to use to authenticate the connection to the remote
      device. This value is the path to the key used to authenticate the SSH session.
      If the value is not specified in the task, the value of environment variable ANSIBLE_NET_SSH_KEYFILE
      will be used instead.

      '
    type: path

uplink_vlan_id:
    description: Vlan via which central is connected. This is applicable only when device_operation_mode
      is DOM_CLOUD or DOM_CLOUD_WITH_SUPPORT. This won't be available for non Central
      uses case
    required: false

validate_certs:
    default: false
    description: 'Configures validation of certification for access to the remote device.

      '
    type: bool

default_gateway_ip:
    description: The global IPV4 default gateway. Input octets as 0.0.0.0 to reset.
    required: false

device_operation_mode:
    choices:
    - DOM_CLOUD
    - DOM_CLOUD_WITH_SUPPORT
    - DOM_AUTONOMOUS
    default: DOM_AUTONOMOUS
    description: Mode in which the device is operating on
    required: false