Class: Ansible::Ruby::Modules::Nxos_switchport
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nxos_switchport
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/nxos/nxos_switchport.rb
Instance Method Summary collapse
-
#access_vlan ⇒ String?
If mode=access, used as the access vlan id.
-
#interface ⇒ String
Full name of the interface, i.e.
-
#mode ⇒ :access, ...
Mode for the Layer 2 port.
-
#native_vlan ⇒ String?
If mode=trunk, used as the trunk native vlan id.
-
#state ⇒ :present, ...
Manage the state of the resource.
-
#trunk_vlans ⇒ String?
If mode=trunk, used as the vlan range to ADD or REMOVE from the trunk.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#access_vlan ⇒ String?
Returns if mode=access, used as the access vlan id.
18 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_switchport.rb', line 18 attribute :access_vlan |
#interface ⇒ String
Returns Full name of the interface, i.e. Ethernet1/1.
10 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_switchport.rb', line 10 attribute :interface |
#mode ⇒ :access, ...
Returns Mode for the Layer 2 port.
14 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_switchport.rb', line 14 attribute :mode |
#native_vlan ⇒ String?
Returns if mode=trunk, used as the trunk native vlan id.
22 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_switchport.rb', line 22 attribute :native_vlan |
#state ⇒ :present, ...
Returns Manage the state of the resource.
30 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_switchport.rb', line 30 attribute :state |
#trunk_vlans ⇒ String?
Returns if mode=trunk, used as the vlan range to ADD or REMOVE from the trunk.
26 |
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_switchport.rb', line 26 attribute :trunk_vlans |