Class: Ansible::Ruby::Modules::Net_vlan
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Net_vlan
- Defined in:
- lib/ansible/ruby/modules/generated/network/layer2/net_vlan.rb
Overview
This module provides declarative management of VLANs on network devices.
Instance Method Summary collapse
-
#aggregate ⇒ Object?
List of VLANs definitions.
-
#interfaces ⇒ Object?
List of interfaces the VLAN should be configured on.
-
#name ⇒ String?
Name of the VLAN.
-
#purge ⇒ Boolean?
Purge VLANs not defined in the I(aggregate) parameter.
-
#state ⇒ :present, ...
State of the VLAN configuration.
-
#vlan_id ⇒ Integer, ...
ID 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
#aggregate ⇒ Object?
Returns List of VLANs definitions.
23 |
# File 'lib/ansible/ruby/modules/generated/network/layer2/net_vlan.rb', line 23 attribute :aggregate |
#interfaces ⇒ Object?
Returns List of interfaces the VLAN should be configured on.
20 |
# File 'lib/ansible/ruby/modules/generated/network/layer2/net_vlan.rb', line 20 attribute :interfaces |
#name ⇒ String?
Returns Name of the VLAN.
12 |
# File 'lib/ansible/ruby/modules/generated/network/layer2/net_vlan.rb', line 12 attribute :name |
#purge ⇒ Boolean?
Returns Purge VLANs not defined in the I(aggregate) parameter.
26 |
# File 'lib/ansible/ruby/modules/generated/network/layer2/net_vlan.rb', line 26 attribute :purge |
#state ⇒ :present, ...
Returns State of the VLAN configuration.
30 |
# File 'lib/ansible/ruby/modules/generated/network/layer2/net_vlan.rb', line 30 attribute :state |
#vlan_id ⇒ Integer, ...
Returns ID of the VLAN.
16 |
# File 'lib/ansible/ruby/modules/generated/network/layer2/net_vlan.rb', line 16 attribute :vlan_id |