Class: Ansible::Ruby::Modules::Ipadm_if

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

Overview

Create, delete, enable or disable IP 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

#nameString

Returns IP interface name.

Returns:

  • (String)

    IP interface name.



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

attribute :name

#state:present, ...

Returns Create or delete Solaris/illumos IP interfaces.

Returns:

  • (:present, :absent, :enabled, :disabled, nil)

    Create or delete Solaris/illumos IP interfaces.



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

attribute :state

#temporarySymbol?

Returns Specifies that the IP interface is temporary. Temporary IP interfaces do not persist across reboots.

Returns:

  • (Symbol, nil)

    Specifies that the IP interface is temporary. Temporary IP interfaces do not persist across reboots.



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

attribute :temporary