Class: Ansible::Ruby::Modules::Ce_vxlan_gateway

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb

Overview

Configuring Centralized All-Active Gateways or Distributed Gateway for the VXLAN Network on HUAWEI CloudEngine devices.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#arp_direct_route:enable, ...

Returns Enable VLINK direct route on VBDIF interface.

Returns:

  • (:enable, :disable, nil)

    Enable VLINK direct route on VBDIF interface.



53
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 53

attribute :arp_direct_route

#arp_distribute_gateway:enable, ...

Returns Enable the distributed gateway function on VBDIF interface.

Returns:

  • (:enable, :disable, nil)

    Enable the distributed gateway function on VBDIF interface.



49
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 49

attribute :arp_distribute_gateway

#dfs_all_active:enable, ...

Returns Creates all-active gateways.

Returns:

  • (:enable, :disable, nil)

    Creates all-active gateways.



24
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 24

attribute :dfs_all_active

#dfs_idObject?

Returns Specifies the ID of a DFS group. The value must be 1.

Returns:

  • (Object, nil)

    Specifies the ID of a DFS group. The value must be 1.



12
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 12

attribute :dfs_id

#dfs_peer_ipObject?

Returns Configure the IP address of an all-active gateway peer. The value is in dotted decimal notation.

Returns:

  • (Object, nil)

    Configure the IP address of an all-active gateway peer. The value is in dotted decimal notation.



28
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 28

attribute :dfs_peer_ip

#dfs_peer_vpnObject?

Returns Specifies the name of the VPN instance that is associated with all-active gateway peer. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The value C(public) is reserved and cannot be used as the VPN instance name.

Returns:

  • (Object, nil)

    Specifies the name of the VPN instance that is associated with all-active gateway peer. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The value C(public) is reserved and cannot be used as the VPN instance name.



31
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 31

attribute :dfs_peer_vpn

#dfs_source_ipObject?

Returns Specifies the IPv4 address bound to a DFS group. The value is in dotted decimal notation.

Returns:

  • (Object, nil)

    Specifies the IPv4 address bound to a DFS group. The value is in dotted decimal notation.



15
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 15

attribute :dfs_source_ip

#dfs_source_vpnObject?

Returns Specifies the name of a VPN instance bound to a DFS group. The value is a string of 1 to 31 case-sensitive characters without spaces. If the character string is quoted by double quotation marks, the character string can contain spaces. The value C(public) is reserved and cannot be used as the VPN instance name.

Returns:

  • (Object, nil)

    Specifies the name of a VPN instance bound to a DFS group. The value is a string of 1 to 31 case-sensitive characters without spaces. If the character string is quoted by double quotation marks, the character string can contain spaces. The value C(public) is reserved and cannot be used as the VPN instance name.



18
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 18

attribute :dfs_source_vpn

#dfs_udp_portObject?

Returns Specifies the UDP port number of the DFS group. The value is an integer that ranges from 1025 to 65535.

Returns:

  • (Object, nil)

    Specifies the UDP port number of the DFS group. The value is an integer that ranges from 1025 to 65535.



21
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 21

attribute :dfs_udp_port

#state:present, ...

Returns Determines whether the config should be present or not on the device.

Returns:

  • (:present, :absent, nil)

    Determines whether the config should be present or not on the device.



57
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 57

attribute :state

#vbdif_bind_vpnObject?

Returns Specifies the name of the VPN instance that is associated with the interface. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The value C(public) is reserved and cannot be used as the VPN instance name.

Returns:

  • (Object, nil)

    Specifies the name of the VPN instance that is associated with the interface. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The value C(public) is reserved and cannot be used as the VPN instance name.



43
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 43

attribute :vbdif_bind_vpn

#vbdif_macObject?

Returns Specifies a MAC address for a VBDIF interface. The value is in the format of H-H-H. Each H is a 4-digit hexadecimal number, such as C(00e0) or C(fc01). If an H contains less than four digits, 0s are added ahead. For example, C(e0) is equal to C(00e0). A MAC address cannot be all 0s or 1s or a multicast MAC address.

Returns:

  • (Object, nil)

    Specifies a MAC address for a VBDIF interface. The value is in the format of H-H-H. Each H is a 4-digit hexadecimal number, such as C(00e0) or C(fc01). If an H contains less than four digits, 0s are added ahead. For example, C(e0) is equal to C(00e0). A MAC address cannot be all 0s or 1s or a multicast MAC address.



46
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 46

attribute :vbdif_mac

#vbdif_nameObject?

Returns Full name of VBDIF interface, i.e. Vbdif100.

Returns:

  • (Object, nil)

    Full name of VBDIF interface, i.e. Vbdif100.



40
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 40

attribute :vbdif_name

#vpn_instanceObject?

Returns Specifies the name of a VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The value C(public) is reserved and cannot be used as the VPN instance name.

Returns:

  • (Object, nil)

    Specifies the name of a VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The value C(public) is reserved and cannot be used as the VPN instance name.



34
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 34

attribute :vpn_instance

#vpn_vniObject?

Returns Specifies a VNI ID. Binds a VXLAN network identifier (VNI) to a virtual private network (VPN) instance. The value is an integer ranging from 1 to 16000000.

Returns:

  • (Object, nil)

    Specifies a VNI ID. Binds a VXLAN network identifier (VNI) to a virtual private network (VPN) instance. The value is an integer ranging from 1 to 16000000.



37
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 37

attribute :vpn_vni