Class: Ansible::Ruby::Modules::Omapi_host

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb

Overview

Create, update and remove OMAPI hosts into compatible DHCPd servers.

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

#ddns:yes, ...

Returns Enable dynamic DNS updates for this host.

Returns:

  • (:yes, :no, nil)

    Enable dynamic DNS updates for this host.



47
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 47

attribute :ddns

#hostString?

Returns Sets OMAPI server host to interact with.

Returns:

  • (String, nil)

    Sets OMAPI server host to interact with.



20
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 20

attribute :host

#ipString?

Returns Sets the lease host IP address.

Returns:

  • (String, nil)

    Sets the lease host IP address.



40
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 40

attribute :ip

#keyString

Returns Sets the TSIG key content for authenticating against OMAPI server.

Returns:

  • (String)

    Sets the TSIG key content for authenticating against OMAPI server.



32
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 32

attribute :key

#key_nameString

Returns Sets the TSIG key name for authenticating against OMAPI server.

Returns:

  • (String)

    Sets the TSIG key name for authenticating against OMAPI server.



28
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 28

attribute :key_name

#macaddrString

Returns Sets the lease host MAC address.

Returns:

  • (String)

    Sets the lease host MAC address.



36
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 36

attribute :macaddr

#nameString?

Returns Sets the host lease hostname (mandatory if state=present).

Returns:

  • (String, nil)

    Sets the host lease hostname (mandatory if state=present).



16
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 16

attribute :name

#portInteger?

Returns Sets the OMAPI server port to interact with.

Returns:

  • (Integer, nil)

    Sets the OMAPI server port to interact with.



24
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 24

attribute :port

#state:present, :absent

Returns Create or remove OMAPI host.

Returns:

  • (:present, :absent)

    Create or remove OMAPI host.



12
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 12

attribute :state

#statementsObject?

Returns Attach a list of OMAPI DHCP statements with host lease (without ending semicolon).

Returns:

  • (Object, nil)

    Attach a list of OMAPI DHCP statements with host lease (without ending semicolon).



44
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 44

attribute :statements