Class: Ansible::Ruby::Modules::Ce_vrf_interface

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

Overview

Manages interface specific VPN configuration of 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

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



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

attribute :state

#vpn_interfaceObject

Returns An interface that can binding VPN instance, i.e. 40GE1/0/22, Vlanif10. Must be fully qualified interface name. Interface types, such as 10GE, 40GE, 100GE, LoopBack, MEth, Tunnel, Vlanif.…

Returns:

  • (Object)

    An interface that can binding VPN instance, i.e. 40GE1/0/22, Vlanif10. Must be fully qualified interface name. Interface types, such as 10GE, 40GE, 100GE, LoopBack, MEth, Tunnel, Vlanif.…



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

attribute :vpn_interface

#vrfObject

Returns VPN instance, the length of vrf name is 1 ~ 31, i.e. “test”, but can not be C(public).

Returns:

  • (Object)

    VPN instance, the length of vrf name is 1 ~ 31, i.e. “test”, but can not be C(public).



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

attribute :vrf