Class: Ansible::Ruby::Modules::Ce_vxlan_gateway
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_vxlan_gateway
- 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
-
#arp_direct_route ⇒ :enable, ...
Enable VLINK direct route on VBDIF interface.
-
#arp_distribute_gateway ⇒ :enable, ...
Enable the distributed gateway function on VBDIF interface.
-
#dfs_all_active ⇒ :enable, ...
Creates all-active gateways.
-
#dfs_id ⇒ Object?
Specifies the ID of a DFS group.
-
#dfs_peer_ip ⇒ Object?
Configure the IP address of an all-active gateway peer.
-
#dfs_peer_vpn ⇒ Object?
Specifies the name of the VPN instance that is associated with all-active gateway peer.
-
#dfs_source_ip ⇒ Object?
Specifies the IPv4 address bound to a DFS group.
-
#dfs_source_vpn ⇒ Object?
Specifies the name of a VPN instance bound to a DFS group.
-
#dfs_udp_port ⇒ Object?
Specifies the UDP port number of the DFS group.
-
#state ⇒ :present, ...
Determines whether the config should be present or not on the device.
-
#vbdif_bind_vpn ⇒ Object?
Specifies the name of the VPN instance that is associated with the interface.
-
#vbdif_mac ⇒ Object?
Specifies a MAC address for a VBDIF interface.
-
#vbdif_name ⇒ Object?
Full name of VBDIF interface, i.e.
-
#vpn_instance ⇒ Object?
Specifies the name of a VPN instance.
-
#vpn_vni ⇒ Object?
Specifies a VNI ID.
Methods inherited from Base
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.
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.
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.
24 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 24 attribute :dfs_all_active |
#dfs_id ⇒ Object?
Returns 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_ip ⇒ Object?
Returns 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_vpn ⇒ Object?
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.
31 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 31 attribute :dfs_peer_vpn |
#dfs_source_ip ⇒ Object?
Returns 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_vpn ⇒ Object?
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.
18 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 18 attribute :dfs_source_vpn |
#dfs_udp_port ⇒ Object?
Returns 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.
57 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 57 attribute :state |
#vbdif_bind_vpn ⇒ Object?
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.
43 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 43 attribute :vbdif_bind_vpn |
#vbdif_mac ⇒ Object?
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.
46 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 46 attribute :vbdif_mac |
#vbdif_name ⇒ Object?
Returns 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_instance ⇒ Object?
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.
34 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 34 attribute :vpn_instance |
#vpn_vni ⇒ Object?
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.
37 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vxlan_gateway.rb', line 37 attribute :vpn_vni |