Class: Ansible::Ruby::Modules::Vyos_vlan

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#addressString?

Returns Configure Virtual interface address.

Returns:

  • (String, nil)

    Configure Virtual interface address.



16
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 16

attribute :address

#aggregateObject?

Returns List of VLANs definitions.

Returns:

  • (Object, nil)

    List of VLANs definitions.



36
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 36

attribute :aggregate

#associated_interfacesArray<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.

Returns:

  • (Array<String>, String, nil)

    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

#delayInteger?

Returns Delay the play should wait to check for declarative intent params values.

Returns:

  • (Integer, nil)

    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

#interfacesArray<String>, String

Returns List of interfaces that should be associated to the VLAN.

Returns:

  • (Array<String>, String)

    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

#nameString?

Returns Name of the VLAN.

Returns:

  • (String, nil)

    Name of the VLAN.



12
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 12

attribute :name

#purgeBoolean?

Returns Purge VLANs not defined in the I(aggregate) parameter.

Returns:

  • (Boolean, nil)

    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.

Returns:

  • (:present, :absent, nil)

    State of the VLAN configuration.



43
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 43

attribute :state

#vlan_idInteger

Returns ID of the VLAN. Range 0-4094.

Returns:

  • (Integer)

    ID of the VLAN. Range 0-4094.



20
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_vlan.rb', line 20

attribute :vlan_id