Class: Ansible::Ruby::Modules::Dladm_vlan

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

Overview

Create or delete VLAN interfaces on Solaris/illumos systems.

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

Returns VLAN underlying link name.

Returns:

  • (String)

    VLAN underlying link name.



16
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vlan.rb', line 16

attribute :link

#nameString

Returns VLAN interface name.

Returns:

  • (String)

    VLAN interface name.



12
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vlan.rb', line 12

attribute :name

#state:present, ...

Returns Create or delete Solaris/illumos VNIC.

Returns:

  • (:present, :absent, nil)

    Create or delete Solaris/illumos VNIC.



28
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vlan.rb', line 28

attribute :state

#temporaryBoolean?

Returns Specifies that the VLAN interface is temporary. Temporary VLANs do not persist across reboots.

Returns:

  • (Boolean, nil)

    Specifies that the VLAN interface is temporary. Temporary VLANs do not persist across reboots.



20
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vlan.rb', line 20

attribute :temporary

#vlan_idBoolean?

Returns VLAN ID value for VLAN interface.

Returns:

  • (Boolean, nil)

    VLAN ID value for VLAN interface.



24
# File 'lib/ansible/ruby/modules/generated/network/illumos/dladm_vlan.rb', line 24

attribute :vlan_id