Class: Ansible::Ruby::Modules::Ce_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_interface
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb
Overview
Manages physical attributes of interfaces on HUAWEI CloudEngine switches.
Instance Method Summary collapse
-
#admin_state ⇒ :up, ...
Specifies the interface management status.
-
#description ⇒ Object?
Specifies an interface description.
-
#interface ⇒ Object?
Full name of interface, i.e.
-
#interface_type ⇒ :ge, ...
Interface type to be configured from the device.
-
#l2sub ⇒ :yes, ...
Specifies whether the interface is a Layer 2 sub-interface.
-
#mode ⇒ :layer2, ...
Manage Layer 2 or Layer 3 state of the interface.
-
#state ⇒ :present, ...
Specify desired state of the resource.
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
#admin_state ⇒ :up, ...
19 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 19 attribute :admin_state |
#description ⇒ Object?
23 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 23 attribute :description |
#interface ⇒ Object?
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 12 attribute :interface |
#interface_type ⇒ :ge, ...
15 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 15 attribute :interface_type |
#l2sub ⇒ :yes, ...
30 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 30 attribute :l2sub |
#mode ⇒ :layer2, ...
26 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 26 attribute :mode |
#state ⇒ :present, ...
34 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 34 attribute :state |