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, fix_inclusion, #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, ...
Returns Specifies the interface management status. The value is an enumerated type. up, An interface is in the administrative Up state. down, An interface is in the administrative Down state.
19 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 19 attribute :admin_state |
#description ⇒ Object?
Returns Specifies an interface description. The value is a string of 1 to 242 case-sensitive characters, spaces supported but question marks (?) not supported.
23 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 23 attribute :description |
#interface ⇒ Object?
Returns Full name of interface, i.e. 40GE1/0/10, Tunnel1.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 12 attribute :interface |
#interface_type ⇒ :ge, ...
Returns Interface type to be configured from the device.
15 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 15 attribute :interface_type |
#l2sub ⇒ :yes, ...
Returns Specifies whether the interface is a Layer 2 sub-interface.
30 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 30 attribute :l2sub |
#mode ⇒ :layer2, ...
Returns Manage Layer 2 or Layer 3 state of the interface.
26 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 26 attribute :mode |
#state ⇒ :present, ...
Returns Specify desired state of the resource.
34 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_interface.rb', line 34 attribute :state |