New in version 2.4.
Parameter |
Choices/Defaults |
Comments |
---|---|---|
bridge_domain_id
|
|
Specifies a bridge domain ID. The value is an integer ranging from 1 to 16777215.
|
nvo3_acl_extend
|
|
Enabling or disabling the VXLAN ACL extension function.
|
nvo3_ecmp_hash
|
|
Load balancing of VXLAN packets through ECMP in optimized mode.
|
nvo3_eth_trunk_hash
|
|
Eth-Trunk from load balancing VXLAN packets in optimized mode.
|
nvo3_gw_enhanced
|
|
Configuring the Layer 3 VXLAN Gateway to Work in Non-loopback Mode.
|
nvo3_prevent_loops
|
|
Loop prevention of VXLAN traffic in non-enhanced mode. When the device works in non-enhanced mode, inter-card forwarding of VXLAN traffic may result in loops.
|
nvo3_service_extend
|
|
Enabling or disabling the VXLAN service extension function.
|
state
|
|
Determines whether the config should be present or not on the device.
|
tunnel_mode_vxlan
|
|
Set the tunnel mode to VXLAN when configuring the VXLAN feature.
|
- name: vxlan global module test
hosts: ce128
connection: local
gather_facts: no
vars:
cli:
host: "{{ inventory_hostname }}"
port: "{{ ansible_ssh_port }}"
username: "{{ username }}"
password: "{{ password }}"
transport: cli
tasks:
- name: Create bridge domain and set tunnel mode to VXLAN
ce_vxlan_global:
bridge_domain_id: 100
nvo3_acl_extend: enable
provider: "{{ cli }}"
Common return values are documented here, the following are the fields unique to this module:
Key |
Returned |
Description |
---|---|---|
changed
boolean
|
always |
check to see if a change was made on the device
Sample:
True
|
end_state
dict
|
verbose mode |
k/v pairs of configuration after module execution
Sample:
{'nvo3_acl_extend': 'enable', 'bridge_domain_id': {'90': None, '80': None, '100': None}}
|
existing
dict
|
verbose mode |
k/v pairs of existing configuration
Sample:
{'bridge_domain': {'90': None, '80': None}, 'nvo3_acl_extend': 'disable'}
|
proposed
dict
|
verbose mode |
k/v pairs of parameters passed into module
Sample:
{'state="present"': None, 'nvo3_acl_extend': 'enable', 'bridge_domain_id': '100'}
|
updates
list
|
always |
commands sent to the device
Sample:
['bridge-domain 100', 'ip tunnel mode vxlan']
|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Hint
If you notice any issues in this documentation you can edit this document to improve it.