arubanetworks / arubanetworks.aos_switch / 1.7.0 / module / arubaoss_port_rate_limit implements rest api for AAA Accounting configuration | "added in version" 2.4.0 of arubanetworks.aos_switch" Authors: Sanju Sadanandan (@hpe) preview | supported by communityarubanetworks.aos_switch.arubaoss_port_rate_limit (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 AAA Accounting
- name: Updates attributes of port ICMP rate limit per port id arubaoss_port_rate_limit: command: update_rate_limit_attributes port_id: 1 icmp_traffic_type: "PITT_IP_ALL" rate_limit_in_kbps: "10" rate_limit_in_percent: "0"
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: - update_rate_limit_attributes - clear_rate_limit_trap - update_rate_limit_onPort - update_rate_limit_attributes_onPort default: update_rate_limit_attributes description: Function name calls according to configuration required required: false port_id: description: Port_id of the port required: true 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 direction: choices: - PTD_IN - PTD_OUT default: PTD_IN description: Traffic flow direction. port_id, traffic_type and direction are required to uniquely identify the rate_limit value to be set. PTD_OUT is applicable, only when traffic_type is PTT_ALL on specific platforms required: false rate_limit: description: Rate limit value. rate_limit_in_kbps and rate_limit_in_percent will be null if rate_limit is not configured 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 traffic_type: choices: - PTT_BCAST - PTT_MCAST - PTT_ALL - PTT_UKWN_UNCST default: PTT_ALL description: The traffic type. port_id, traffic_type and direction are required to uniquely identify the rate_limit value to be set required: false validate_certs: default: false description: 'Configures validation of certification for access to the remote device. ' type: bool icmp_rate_limit: description: ICMP Rate Limit value. required: false queues_direction: choices: - PTD_OUT default: PTD_OUT description: Queue traffic direction. port_id and queues_direction are required to uniquely identify the queue_rate_percentage to be set required: false icmp_traffic_type: choices: - PITT_IP_ALL - PITT_IP_V4 - PITT_IP_V6 default: PITT_IP_V4 description: ICMP traffic type. required: false queue_rate_percentage: description: Rate limit for each egress queue in percentage. Apply the default value on all queues to reset the configuration required: false
message: description: The output message that the sample module generates original_message: description: The original name param that was passed in type: str