Class: Ansible::Ruby::Modules::Nxos_vlan
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nxos_vlan
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vlan.rb
Overview
Manages VLAN configurations on NX-OS switches
Instance Method Summary collapse
-
#admin_state ⇒ :up, ...
Manage the vlan admin state of the VLAN equivalent to shut/no shut in vlan config mode.
-
#name ⇒ String?
Name of VLAN.
-
#state ⇒ :present, ...
Manage the state of the resource.
-
#vlan_id ⇒ String?
Single vlan id.
-
#vlan_range ⇒ Array<String>, ...
Range of VLANs such as 2-10 or 2,5,10-15, etc.
-
#vlan_state ⇒ :active, ...
Manage the vlan operational state of the VLAN (equivalent to state | suspend command.
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 Manage the vlan admin state of the VLAN equivalent to shut/no shut in vlan config mode.
27 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vlan.rb', line 27 attribute :admin_state |
#name ⇒ String?
Returns name of VLAN.
19 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vlan.rb', line 19 attribute :name |
#state ⇒ :present, ...
Returns Manage the state of the resource.
31 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vlan.rb', line 31 attribute :state |
#vlan_id ⇒ String?
Returns single vlan id.
11 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vlan.rb', line 11 attribute :vlan_id |
#vlan_range ⇒ Array<String>, ...
Returns range of VLANs such as 2-10 or 2,5,10-15, etc.
15 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vlan.rb', line 15 attribute :vlan_range |
#vlan_state ⇒ :active, ...
Returns Manage the vlan operational state of the VLAN (equivalent to state | suspend command.
23 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vlan.rb', line 23 attribute :vlan_state |