Class: Ansible::Ruby::Modules::Nxos_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nxos_interface
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/nxos/nxos_interface.rb
Overview
Manages physical attributes of interfaces of NX-OS switches
Instance Method Summary collapse
-
#admin_state ⇒ :up, ...
Administrative state of the interface.
-
#description ⇒ String?
Interface description.
-
#interface ⇒ String
Full name of interface, i.e.
-
#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, ...
Returns Administrative state of the interface.
15 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_interface.rb', line 15 attribute :admin_state |
#description ⇒ String?
Returns Interface description.
19 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_interface.rb', line 19 attribute :description |
#interface ⇒ String
Returns Full name of interface, i.e. Ethernet1/1, port-channel10.
11 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_interface.rb', line 11 attribute :interface |
#mode ⇒ :layer2, ...
Returns Manage Layer 2 or Layer 3 state of the interface.
23 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_interface.rb', line 23 attribute :mode |
#state ⇒ :present, ...
Returns Specify desired state of the resource.
27 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_interface.rb', line 27 attribute :state |