Class: Ansible::Ruby::Modules::Omapi_host
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Omapi_host
- 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
-
#ddns ⇒ :yes, ...
Enable dynamic DNS updates for this host.
-
#host ⇒ String?
Sets OMAPI server host to interact with.
-
#ip ⇒ String?
Sets the lease host IP address.
-
#key ⇒ String
Sets the TSIG key content for authenticating against OMAPI server.
-
#key_name ⇒ String
Sets the TSIG key name for authenticating against OMAPI server.
-
#macaddr ⇒ String
Sets the lease host MAC address.
-
#name ⇒ String?
Sets the host lease hostname (mandatory if state=present).
-
#port ⇒ Integer?
Sets the OMAPI server port to interact with.
-
#state ⇒ :present, :absent
Create or remove OMAPI host.
-
#statements ⇒ Object?
Attach a list of OMAPI DHCP statements with host lease (without ending semicolon).
Methods inherited from Base
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.
47 |
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 47 attribute :ddns |
#host ⇒ String?
Returns Sets OMAPI server host to interact with.
20 |
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 20 attribute :host |
#ip ⇒ String?
Returns Sets the lease host IP address.
40 |
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 40 attribute :ip |
#key ⇒ String
Returns 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_name ⇒ String
Returns 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 |
#macaddr ⇒ String
Returns Sets the lease host MAC address.
36 |
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 36 attribute :macaddr |
#name ⇒ String?
Returns 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 |
#port ⇒ Integer?
Returns 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.
12 |
# File 'lib/ansible/ruby/modules/generated/net_tools/omapi_host.rb', line 12 attribute :state |
#statements ⇒ Object?
Returns 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 |