Class: Ansible::Ruby::Modules::Meraki_switchport
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Meraki_switchport
- Defined in:
- lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb
Overview
Allows for management of switchports settings for Meraki MS switches.
Instance Method Summary collapse
-
#access_policy_number ⇒ Object?
Number of the access policy to apply.,Only applicable to access port types.
-
#allowed_vlans ⇒ String?
List of VLAN numbers to be allowed on switchport.
-
#enabled ⇒ Boolean?
Whether a switchport should be enabled or disabled.
-
#isolation_enabled ⇒ Symbol?
Isolation status of switchport.
-
#link_negotiation ⇒ :"Auto negotiate", ...
Link speed for the switchport.
-
#name ⇒ String?
Switchport description.
-
#number ⇒ Integer?
Port number.
-
#poe_enabled ⇒ Boolean?
Enable or disable Power Over Ethernet on a port.
-
#rstp_enabled ⇒ Boolean?
Enable or disable Rapid Spanning Tree Protocol on a port.
-
#serial ⇒ String?
Serial nubmer of the switch.
-
#state ⇒ :query, ...
Specifies whether a switchport should be queried or modified.
-
#stp_guard ⇒ :disabled, ...
Set state of STP guard.
-
#tags ⇒ String?
Space delimited list of tags to assign to a port.
-
#type ⇒ :access, ...
Set port type.
-
#vlan ⇒ Integer?
VLAN number assigned to port.,If a port is of type trunk, the specified VLAN is the native VLAN.
-
#voice_vlan ⇒ Integer?
VLAN number assigned to a port for voice traffic.,Only applicable to access port type.
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
#access_policy_number ⇒ Object?
Returns Number of the access policy to apply.,Only applicable to access port types.
16 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 16 attribute :access_policy_number |
#allowed_vlans ⇒ String?
Returns List of VLAN numbers to be allowed on switchport.
19 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 19 attribute :allowed_vlans |
#enabled ⇒ Boolean?
Returns Whether a switchport should be enabled or disabled.
23 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 23 attribute :enabled |
#isolation_enabled ⇒ Symbol?
Returns Isolation status of switchport.
27 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 27 attribute :isolation_enabled |
#link_negotiation ⇒ :"Auto negotiate", ...
Returns Link speed for the switchport.
31 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 31 attribute :link_negotiation |
#name ⇒ String?
Returns Switchport description.
35 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 35 attribute :name |
#number ⇒ Integer?
Returns Port number.
39 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 39 attribute :number |
#poe_enabled ⇒ Boolean?
Returns Enable or disable Power Over Ethernet on a port.
43 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 43 attribute :poe_enabled |
#rstp_enabled ⇒ Boolean?
Returns Enable or disable Rapid Spanning Tree Protocol on a port.
47 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 47 attribute :rstp_enabled |
#serial ⇒ String?
Returns Serial nubmer of the switch.
51 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 51 attribute :serial |
#state ⇒ :query, ...
Returns Specifies whether a switchport should be queried or modified.
12 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 12 attribute :state |
#stp_guard ⇒ :disabled, ...
Returns Set state of STP guard.
55 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 55 attribute :stp_guard |
#tags ⇒ String?
Returns Space delimited list of tags to assign to a port.
59 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 59 attribute :tags |
#type ⇒ :access, ...
Returns Set port type.
63 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 63 attribute :type |
#vlan ⇒ Integer?
Returns VLAN number assigned to port.,If a port is of type trunk, the specified VLAN is the native VLAN.
67 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 67 attribute :vlan |
#voice_vlan ⇒ Integer?
Returns VLAN number assigned to a port for voice traffic.,Only applicable to access port type.
71 |
# File 'lib/ansible/ruby/modules/generated/network/meraki/meraki_switchport.rb', line 71 attribute :voice_vlan |