a10_flowspec_filtering_action

Synopsis

Configure Filtering Actions for a Flowspec

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

flowspec_name

str/required

Key to identify parent object

terminal_action

bool

Evaluation stops after this rule if not set

sample_log

bool

Enable traffic sampling and logging

traffic_rate

int

Type 0x8006 - Apply rate (in Bytes per second) for this class of traffic

traffic_marking

str

‘dscp’= IPv4 DSCP; ‘ipv6-traffic-class’= IPv6 Traffic Class;

dscp_val

int

Set DSCP value

traffic_class

int

Set IPv6 Traffic Class value

redirect

str

‘next-hop-nlri’= Type 0x0800 - IP encoded in MP_REACH_NLRI Next-hop network; ‘next-hop’= Type 0x0800 - Extended community Next-hop (Per v2 dated Feb 2015); ‘vrf-route-target’= Type 0x8008 - Redirect to VRF Route Target;

next_hop_nlri_type

str

‘ip’= Type 0x0800 - IPv4 Address; ‘ipv6’= Type 0x0800 - IPv6 Address;

ip_host_nlri

str

IPv4 host address

copy_ip_host_nlri

bool

Copy bit

ipv6_host_nlri

str

IPv6 host address

copy_ipv6_host_nlri

bool

Copy bit

next_hop_type

str

‘ip’= Type 0x0800 - IPv4 Address; ‘ipv6’= Type 0x0800 - IPv6 Address;

ip_host

str

IPv4 host address

copy_ip_host

bool

Copy bit

ipv6_host

str

IPv6 host address

copy_ipv6_host

bool

Copy bit

vrf_target_string

str

Type 0x8008(ASN-2=Index), 0x8208(ASN-4=Index) - Route Target AS

vrf_target_ip

str

‘ip’= Type 0x8108 - Redirect to route-target IP;

ip_host_rt

str

Type 0x8108 - Route Target IPv4

value_ip_host

int

2-byte decimal value(local-administrator)

ecomm_custom_hex

str

Custom Extended Community in Hex

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.

Authors

  • A10 Networks