Documentation

ce_vxlan_global - Manages global attributes of VXLAN and bridge domain on HUAWEI CloudEngine devices.

New in version 2.4.

Synopsis

  • Manages global attributes of VXLAN and bridge domain on HUAWEI CloudEngine devices.

Options

parameter required default choices comments
bridge_domain_id
no
Specifies a bridge domain ID. The value is an integer ranging from 1 to 16777215.
nvo3_acl_extend
no
  • enable
  • disable
Enabling or disabling the VXLAN ACL extension function.
nvo3_ecmp_hash
no
  • enable
  • disable
Load balancing of VXLAN packets through ECMP in optimized mode.
nvo3_eth_trunk_hash
no
  • enable
  • disable
Eth-Trunk from load balancing VXLAN packets in optimized mode.
nvo3_gw_enhanced
no
  • l2
  • l3
Configuring the Layer 3 VXLAN Gateway to Work in Non-loopback Mode.
nvo3_prevent_loops
no
  • enable
  • disable
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
no
  • enable
  • disable
Enabling or disabling the VXLAN service extension function.
state
no present
  • present
  • absent
Determines whether the config should be present or not on the device.
tunnel_mode_vxlan
no
  • enable
  • disable
Set the tunnel mode to VXLAN when configuring the VXLAN feature.

Examples

- 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 }}"

Return Values

Common return values are documented here Return Values, the following are the fields unique to this module:

name description returned type sample
end_state k/v pairs of configuration after module execution verbose mode dict {'nvo3_acl_extend': 'enable', 'bridge_domain_id': {'90': None, '80': None, '100': None}}
changed check to see if a change was made on the device always boolean True
updates commands sent to the device always list ['bridge-domain 100', 'ip tunnel mode vxlan']
proposed k/v pairs of parameters passed into module verbose mode dict {'state="present"': None, 'nvo3_acl_extend': 'enable', 'bridge_domain_id': '100'}
existing k/v pairs of existing configuration verbose mode dict {'bridge_domain': {'90': None, '80': None}, 'nvo3_acl_extend': 'disable'}


Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

Support

This module is community maintained without core committer oversight.

For more information on what this means please read Module Support

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.