community.network.ce_vxlan_global module – Manages global attributes of VXLAN and bridge domain on HUAWEI CloudEngine devices.
Note
This module is part of the community.network collection (version 5.1.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.ce_vxlan_global
.
Note
The community.network collection has been deprecated and will be removed from Ansible 12. See the discussion thread for more information.
DEPRECATED
- Removed in:
version 6.0.0
- Why:
This collection and all content in it is unmaintained and deprecated.
- Alternative:
Unknown.
Synopsis
Manages global attributes of VXLAN and bridge domain on HUAWEI CloudEngine devices.
Aliases: network.cloudengine.ce_vxlan_global
Parameters
Parameter |
Comments |
---|---|
Specifies a bridge domain ID. The value is an integer ranging from 1 to 16777215. |
|
Enabling or disabling the VXLAN ACL extension function. Choices:
|
|
Load balancing of VXLAN packets through ECMP in optimized mode. Choices:
|
|
Eth-Trunk from load balancing VXLAN packets in optimized mode. Choices:
|
|
Configuring the Layer 3 VXLAN Gateway to Work in Non-loopback Mode. Choices:
|
|
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. Choices:
|
|
Enabling or disabling the VXLAN service extension function. Choices:
|
|
Determines whether the config should be present or not on the device. Choices:
|
|
Set the tunnel mode to VXLAN when configuring the VXLAN feature. Choices:
|
Notes
Note
Recommended connection is
network_cli
.This module also works with
local
connections for legacy playbooks.
Examples
- name: Vxlan global module test
hosts: ce128
connection: local
gather_facts: false
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
community.network.ce_vxlan_global:
bridge_domain_id: 100
nvo3_acl_extend: enable
provider: "{{ cli }}"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
check to see if a change was made on the device Returned: always Sample: |
|
k/v pairs of configuration after module execution Returned: verbose mode Sample: |
|
k/v pairs of existing configuration Returned: verbose mode Sample: |
|
k/v pairs of parameters passed into module Returned: verbose mode Sample: |
|
commands sent to the device Returned: always Sample: |
Status
This module will be removed in version 6.0.0. [deprecated]
For more information see DEPRECATED.