a10_sflow_setting
Synopsis
Configure sFlow
Parameters
Parameters |
Choices/Defaults |
Comment |
---|---|---|
state str/required |
[‘noop’, ‘present’, ‘absent’] |
State of the object to be created. |
ansible_host str/required |
Host for AXAPI authentication |
|
ansible_username str/required |
Username for AXAPI authentication |
|
ansible_password str/required |
Password for AXAPI authentication |
|
ansible_port int/required |
Port for AXAPI authentication |
|
a10_device_context_id int |
[‘1-8’] |
Device ID for aVCS configuration |
a10_partition str |
Destination/target partition for object/command |
|
max_header int |
Configure maximum number of bytes that should be copied from a sampled packet (default= 128) (The maximum number of bytes (Default= 128)) |
|
source_ip_use_mgmt bool |
Use management interface’s IP address for source IP of sFlow packets |
|
packet_sampling_rate int |
sFlow packet sampling rate, default is 1000 |
|
counter_polling_interval int |
sFlow counter polling interval, default is 20 |
|
management_link_utilization_percentage int |
percentage limit of the management link speed (Default is 30%) |
|
management_link_utilization int |
limit management link speed in (Mbps) |
|
local_collection str |
‘enable’= Enable local sflow collection; ‘disable’= Disable local sflow collection; |
|
randomize_source_port str |
‘enable’= Randomize source port; ‘disable’= Fix source port 6343; ‘packet- sampling-only’= Only randomized source port for packet-sampling (Default); |
|
port_range_start int |
Source port-range |
|
port_range_end int |
Source port-range end |
|
local_t1_polling_interval int |
Set sFlow local counter polling interval for T1 stats |
|
local_t2_polling_interval int |
Set sFlow local counter polling interval for T2 stats |
|
default_counter_polling_mtu int |
Default MTU for counter-polling packets - DDoS 3.2 format only (Default= 1500) |
|
append_mapping_info bool |
Allow TPS to always send mapping ctr block (260, 271, and 272) |
|
uuid str |
uuid of the object |
Examples
Return Values
- modified_values (changed, dict, )
Values modified (or potential changes if using check_mode) as a result of task operation
- axapi_calls (always, list, )
Sequential list of AXAPI calls made by the task
- endpoint (, str, [‘/axapi/v3/slb/virtual_server’, ‘/axapi/v3/file/ssl-cert’])
The AXAPI endpoint being accessed.
- http_method (, str, [‘POST’, ‘GET’])
HTTP method being used by the primary task to interact with the AXAPI endpoint.
- request_body (, complex, )
Params used to query the AXAPI
- response_body (, complex, )
Response from the AXAPI
Status
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by community.