a10_network_vlan

Synopsis

Configure VLAN

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

vlan_num

int/required

VLAN number

shared_vlan

bool

Configure VLAN as a shared VLAN

untagged_eth_list

list

Field untagged_eth_list

untagged_ethernet_start

str

Ethernet port (Interface number)

untagged_ethernet_end

str

Ethernet port

untagged_trunk_list

list

Field untagged_trunk_list

untagged_trunk_start

int

Trunk groups

untagged_trunk_end

int

Trunk Group

untagged_lif

str

Logical tunnel interface (Logical tunnel interface name)

tagged_eth_list

list

Field tagged_eth_list

tagged_ethernet_start

str

Ethernet port (Interface number)

tagged_ethernet_end

str

Ethernet port

tagged_trunk_list

list

Field tagged_trunk_list

tagged_trunk_start

int

Trunk groups

tagged_trunk_end

int

Trunk Group

ve

int

ve number

name

str

VLAN name

traffic_distribution_mode

str

‘sip’= sip; ‘dip’= dip; ‘l3-lookup’= l3-lookup; ‘primary’= primary; ‘blade’= blade; ‘l4-src-port’= l4-src-port; ‘l4-dst-port’= l4-dst-port;

uuid

str

uuid of the object

user_tag

str

Customized tag

sampling_enable

list

Field sampling_enable

counters1

str

‘all’= all; ‘broadcast_count’= Broadcast counter; ‘multicast_count’= Multicast counter; ‘ip_multicast_count’= IP Multicast counter; ‘unknown_unicast_count’= Unknown Unicast counter; ‘mac_movement_count’= Mac Movement counter; ‘shared_vlan_partition_switched_counter’= SVLAN Partition switched counter;

oper

dict

Field oper

vlan_name

str

Field vlan_name

ve_num

int

Field ve_num

is_shared_vlan

str

Field is_shared_vlan

un_tagg_eth_ports

dict

Field un_tagg_eth_ports

tagg_eth_ports

dict

Field tagg_eth_ports

un_tagg_logical_ports

dict

Field un_tagg_logical_ports

tagg_logical_ports

dict

Field tagg_logical_ports

span_tree

str

Field span_tree

vlan_num

int

VLAN number

stats

dict

Field stats

broadcast_count

str

Broadcast counter

multicast_count

str

Multicast counter

ip_multicast_count

str

IP Multicast counter

unknown_unicast_count

str

Unknown Unicast counter

mac_movement_count

str

Mac Movement counter

shared_vlan_partition_switched_counter

str

SVLAN Partition switched counter

vlan_num

int

VLAN number

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