a10_ddos_exec_script

Synopsis

Execute scripts

Parameters

Parameters

Choices/Defaults

Comment

state

str/required

[‘noop’, ‘present’]

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

script

str

Specify script to execute

mock

bool

Use mock data

alert_type

int

1= UDP Pkt Rate 2= TCP Pkt Rate 3= ICMP Pkt Rate

level

int

Current Level

threshold

int

Threshold

zone

str

DST Zone name

port_num

int

Port Number

protocol

str

‘dns-tcp’= DNS-TCP Port; ‘dns-udp’= DNS-UDP Port; ‘http’= HTTP Port; ‘tcp’= TCP Port; ‘udp’= UDP Port; ‘ssl-l4’= SSL-L4 Port; ‘sip-tcp’= SIP-TCP Port; ‘sip- udp’= SIP-UDP Port; ‘quic’= QUIC Port;

port_other

str

‘other’= other;

exec_script_port_other_protocol

str

‘tcp’= TCP Port; ‘udp’= UDP Port;

protocol_num

int

Protocol Number

exec_script_ip_portocol

str

‘icmp-v4’= ip-proto icmp-v4; ‘icmp-v6’= ip-proto icmp-v6; ‘other’= ip-proto other; ‘gre’= ip-proto gre; ‘ipv4-encap’= ip-proto IPv4 Encapsulation; ‘ipv6-encap’= ip-proto IPv6 Encapsulation;

src_ip

list

Field src_ip

ip_addr

str

Specify IP address

subnet_ip_addr

str

IP Subnet

src_ipv6

list

Field src_ipv6

ip6_addr

str

Specify IPv6 address

subnet_ipv6_addr

str

IPV6 Subnet

timeout

int

Timeout (Default= 10 seconds, Mock Default= 2 seconds)

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.

Authors

  • A10 Networks