Class: Ansible::Ruby::Modules::Ce_evpn_bd_vni

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

Overview

Manages Ethernet Virtual Private Network (EVPN) VXLAN Network Identifier (VNI) configurations on HUAWEI CloudEngine switches.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#bridge_domain_idObject

Returns Specify an existed bridge domain (BD).The value is an integer ranging from 1 to 16777215.

Returns:

  • (Object)

    Specify an existed bridge domain (BD).The value is an integer ranging from 1 to 16777215.



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

attribute :bridge_domain_id

#evpn:enable, ...

Returns Create or delete an EVPN instance for a VXLAN in BD view.

Returns:

  • (:enable, :disable, nil)

    Create or delete an EVPN instance for a VXLAN in BD view.



16
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_evpn_bd_vni.rb', line 16

attribute :evpn

#route_distinguisherObject?

Returns Configures a route distinguisher (RD) for a BD EVPN instance. The format of an RD can be as follows,1) 2-byte AS number:4-byte user-defined number, for example, 1:3. An AS number is an integer ranging from 0 to 65535, and a user-defined number is an integer ranging from 0 to 4294967295. The AS and user-defined numbers cannot be both 0s. This means that an RD cannot be 0:0.,2) Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number is an integer ranging from 65536 to 4294967295, and a user-defined number is an integer ranging from 0 to 65535.,3) 4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0. A 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers ranging from 0 to 65535.,4) A user-defined number is an integer ranging from 0 to 65535. The AS and user-defined numbers cannot be both 0s. This means that an RD cannot be 0.0:0.,5) 32-bit IP address:2-byte user-defined number. For example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255, and a user-defined number is an integer ranging from 0 to 65535.,6) ‘auto’ specifies the RD that is automatically generated.

Returns:

  • (Object, nil)

    Configures a route distinguisher (RD) for a BD EVPN instance. The format of an RD can be as follows,1) 2-byte AS number:4-byte user-defined number, for example, 1:3. An AS number is an integer ranging from 0 to 65535, and a user-defined number is an integer ranging from 0 to 4294967295. The AS and user-defined numbers cannot be both 0s. This means that an RD cannot be 0:0.,2) Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number is an integer ranging from 65536 to 4294967295, and a user-defined number is an integer ranging from 0 to 65535.,3) 4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0. A 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers ranging from 0 to 65535.,4) A user-defined number is an integer ranging from 0 to 65535. The AS and user-defined numbers cannot be both 0s. This means that an RD cannot be 0.0:0.,5) 32-bit IP address:2-byte user-defined number. For example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255, and a user-defined number is an integer ranging from 0 to 65535.,6) ‘auto’ specifies the RD that is automatically generated.



20
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_evpn_bd_vni.rb', line 20

attribute :route_distinguisher

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



33
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_evpn_bd_vni.rb', line 33

attribute :state

#vpn_target_bothObject?

Returns Add VPN targets to both the import and export VPN target lists of a BD EVPN instance. The format is the same as route_distinguisher.

Returns:

  • (Object, nil)

    Add VPN targets to both the import and export VPN target lists of a BD EVPN instance. The format is the same as route_distinguisher.



23
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_evpn_bd_vni.rb', line 23

attribute :vpn_target_both

#vpn_target_exportObject?

Returns Add VPN targets to the export VPN target list of a BD EVPN instance. The format is the same as route_distinguisher.

Returns:

  • (Object, nil)

    Add VPN targets to the export VPN target list of a BD EVPN instance. The format is the same as route_distinguisher.



30
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_evpn_bd_vni.rb', line 30

attribute :vpn_target_export

#vpn_target_importObject

Returns Add VPN targets to the import VPN target list of a BD EVPN instance. The format is the same as route_distinguisher.

Returns:

  • (Object)

    Add VPN targets to the import VPN target list of a BD EVPN instance. The format is the same as route_distinguisher.



26
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_evpn_bd_vni.rb', line 26

attribute :vpn_target_import