Class: Ansible::Ruby::Modules::Ios_vlan

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/ios/ios_vlan.rb

Overview

This module provides declarative management of VLANs on Cisco IOS 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

#aggregateObject?

Returns List of VLANs definitions.

Returns:

  • (Object, nil)

    List of VLANs definitions.



32
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_vlan.rb', line 32

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 interfaces 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 interfaces on device it will result in failure.



24
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_vlan.rb', line 24

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.



28
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_vlan.rb', line 28

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.



20
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_vlan.rb', line 20

attribute :interfaces

#nameString?

Returns Name of the VLAN.

Returns:

  • (String, nil)

    Name of the VLAN.



12
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_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.



35
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_vlan.rb', line 35

attribute :purge

#state:present, ...

Returns State of the VLAN configuration.

Returns:

  • (:present, :absent, :active, :suspend, nil)

    State of the VLAN configuration.



39
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_vlan.rb', line 39

attribute :state

#vlan_idInteger

Returns ID of the VLAN. Range 1-4094.

Returns:

  • (Integer)

    ID of the VLAN. Range 1-4094.



16
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_vlan.rb', line 16

attribute :vlan_id