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/network/nxos/nxos_vlan.rb
Overview
Manages VLAN configurations on NX-OS switches.
Instance Method Summary collapse
-
#admin_state ⇒ :up, ...
Manage the VLAN administrative state of the VLAN equivalent to shut/no shut in VLAN config mode.
-
#aggregate ⇒ Array<Hash>, ...
List of VLANs definitions.
-
#associated_interfaces ⇒ Array<String>, ...
This is a intent option and checks the operational state of the for given vlan C(name) for associated interfaces.
-
#delay ⇒ Integer?
Time in seconds to wait before checking for the operational state on remote device.
-
#interfaces ⇒ Array<String>, ...
List of interfaces that should be associated to the VLAN or keyword ‘default’.
-
#mapped_vni ⇒ Object?
The Virtual Network Identifier (VNI) ID that is mapped to the VLAN.
-
#mode ⇒ :ce, ...
Set VLAN mode to classical ethernet or fabricpath.
-
#name ⇒ String?
Name of VLAN or keyword ‘default’.
-
#purge ⇒ :yes, ...
Purge VLANs not defined in the I(aggregate) parameter.
-
#state ⇒ :present, ...
Manage the state of the resource.
-
#vlan_id ⇒ Integer?
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.
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 administrative state of the VLAN equivalent to shut/no shut in VLAN config mode.
36 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 36 attribute :admin_state |
#aggregate ⇒ Array<Hash>, ...
Returns List of VLANs definitions.
51 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 51 attribute :aggregate |
#associated_interfaces ⇒ Array<String>, ...
Returns This is a intent option and checks the operational state of the for given vlan C(name) for associated interfaces. If the value in the C(associated_interfaces) does not match with the operational state of vlan interfaces on device it will result in failure.
28 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 28 attribute :associated_interfaces |
#delay ⇒ Integer?
Returns Time in seconds to wait before checking for the operational state on remote device. This wait is applicable for operational state arguments.
59 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 59 attribute :delay |
#interfaces ⇒ Array<String>, ...
Returns List of interfaces that should be associated to the VLAN or keyword ‘default’.
24 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 24 attribute :interfaces |
#mapped_vni ⇒ Object?
Returns The Virtual Network Identifier (VNI) ID that is mapped to the VLAN. Valid values are integer and keyword ‘default’. Range 4096-16773119.
40 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 40 attribute :mapped_vni |
#mode ⇒ :ce, ...
Returns Set VLAN mode to classical ethernet or fabricpath. This is a valid option for Nexus 5000 and 7000 series.
47 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 47 attribute :mode |
#name ⇒ String?
Returns Name of VLAN or keyword ‘default’.
20 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 20 attribute :name |
#purge ⇒ :yes, ...
Returns Purge VLANs not defined in the I(aggregate) parameter. This parameter can be used without aggregate as well.
55 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 55 attribute :purge |
#state ⇒ :present, ...
Returns Manage the state of the resource.
43 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 43 attribute :state |
#vlan_id ⇒ Integer?
Returns Single VLAN ID.
12 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 12 attribute :vlan_id |
#vlan_range ⇒ Array<String>, ...
Returns Range of VLANs such as 2-10 or 2,5,10-15, etc.
16 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 16 attribute :vlan_range |
#vlan_state ⇒ :active, ...
Returns Manage the vlan operational state of the VLAN.
32 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_vlan.rb', line 32 attribute :vlan_state |