Class: Ansible::Ruby::Modules::Vyos_vlan
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vyos_vlan
- Defined in:
- lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb
Overview
This module provides declarative management of VLANs on VyOS network devices.
Instance Method Summary collapse
-
#address ⇒ String?
Configure Virtual interface address.
-
#aggregate ⇒ Object?
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?
Delay the play should wait to check for declarative intent params values.
-
#interfaces ⇒ Array<String>, String
List of interfaces that should be associated to the VLAN.
-
#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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#address ⇒ String?
Returns Configure Virtual interface address.
16 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 16 attribute :address |
#aggregate ⇒ Object?
Returns List of VLANs definitions.
36 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 36 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 on device it will result in failure.
28 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 28 attribute :associated_interfaces |
#delay ⇒ Integer?
Returns Delay the play should wait to check for declarative intent params values.
32 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 32 attribute :delay |
#interfaces ⇒ Array<String>, String
Returns List of interfaces that should be associated to the VLAN.
24 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 24 attribute :interfaces |
#name ⇒ String?
Returns Name of the VLAN.
12 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 12 attribute :name |
#purge ⇒ Boolean?
Returns Purge VLANs not defined in the I(aggregate) parameter.
39 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 39 attribute :purge |
#state ⇒ :present, ...
Returns State of the VLAN configuration.
43 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 43 attribute :state |
#vlan_id ⇒ Integer
Returns ID of the VLAN. Range 0-4094.
20 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 20 attribute :vlan_id |