arubanetworks / arubanetworks.aos_switch / 1.7.0 / module / arubaoss_dot1x implements rest api for DOT1x configuration | "added in version" 2.4.0 of arubanetworks.aos_switch" Authors: Sanju Sadanandan (@hpe) preview | supported by communityarubanetworks.aos_switch.arubaoss_dot1x (1.7.0) — module
Install with ansible-galaxy collection install arubanetworks.aos_switch:==1.7.0
collections: - name: arubanetworks.aos_switch version: 1.7.0
This implements rest apis which can be used to configure DOT1x
- name: Updates the given console dot1x configuration to the system arubaoss_aaa_dot1x: server_group: "AZM_TACACS"
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 command: choices: - dot1x_config - authenticator_port_config - authentication_method_config - dot1x_port_security - authenticator_port_clearstats - authenticator_port_initialize - authenticator_port_reauthenticate description: Module to be configured. required: false control: choices: - DAPC_UNAUTHORIZED - DAPC_AUTO - DAPC_AUTHORIZED description: 802.1X Authenticator Port operational control required: false port_id: description: Port ID 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 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 allow_mbv: description: Configuration of MAC based Vlans required: false tx_period: description: Tx Period required: false api_version: default: None description: 'Configures (force) API version (vX.Y) for acces to the remote device. ' type: str 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 client_limit: description: Client limit required: false max_requests: default: 2 description: Max requests required: false quiet_period: description: Quiet Period required: false server_group: description: The server group required: false logoff_period: default: 300 description: Logoff Period required: false reauth_period: description: Reauth Period required: false unauth_period: default: 0 description: Unauth period required: false use_lldp_data: description: Use LLDP data required: false server_timeout: default: 300 description: Server timeout required: false validate_certs: default: false description: 'Configures validation of certification for access to the remote device. ' type: bool allow_gvrp_vlans: description: allow GVRP vlans required: false is_dot1x_enabled: description: Global 802.1x admin status required: false allow_mixed_users: description: Allowed users required: false authorized_vlan_id: description: 802.1X authorized VLAN ID. Displays 0 if not configured. Use 0 to reset authorized_vlan_id required: false supplicant_timeout: default: 30 description: Supplicant timeout required: false cached_reauth_delay: description: Global 802.1x cached reauth delay required: false cached_reauth_period: default: 0 description: Cached reauth period required: false controlled_direction: choices: - DCD_IN - DCD_OUT description: Traffic Controlled direction required: false enforce_cache_reauth: description: Authenticator enforce canched reauthentication required: false unauthorized_vlan_id: description: 802.1X unauthorized VLAN ID. Displays 0 if not configured. Use 0 to reset unauthorized_vlan_id. required: false is_authenticator_enabled: description: 802.1X Authenticator Port admin status required: false is_port_speed_vsa_enabled: description: Is port speed VSA enabled required: false primary_authentication_method: choices: - DPAM_LOCAL - DPAM_EAP_RADIUS - DPAM_CHAP_RADIUS description: The primary authentication method required: false secondary_authentication_method: choices: - DSAM_NONE - DSAM_AUTHORIZED - DSAM_CACHED_REAUTH description: The secondary authentication method required: false