Class: Ansible::Ruby::Modules::Infinity

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

Overview

Manage Infinity IPAM using REST API

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

#action:reserve_next_available_ip, ...

Returns Action to perform.

Returns:

  • (:reserve_next_available_ip, :release_ip, :delete_network, :add_network, :reserve_network, :release_network, :get_network_id)

    Action to perform



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

attribute :action

#ip_addressString?

Returns IP Address for a reservation or a release.

Returns:

  • (String, nil)

    IP Address for a reservation or a release



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

attribute :ip_address

#network_addressString?

Returns Network address with CIDR format (e.g., 192.168.310.0).

Returns:

  • (String, nil)

    Network address with CIDR format (e.g., 192.168.310.0)



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

attribute :network_address

#network_family4, ...

Returns Network family defined by Infinity, e.g. IPv4, IPv6 and Dual stack.

Returns:

  • (4, 6, :dual, nil)

    Network family defined by Infinity, e.g. IPv4, IPv6 and Dual stack



56
# File 'lib/ansible/ruby/modules/generated/net_tools/infinity/infinity.rb', line 56

attribute :network_family

#network_idString?

Returns Network ID.

Returns:

  • (String, nil)

    Network ID



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

attribute :network_id

#network_locationInteger?

Returns the parent network id for a given network.

Returns:

  • (Integer, nil)

    the parent network id for a given network



48
# File 'lib/ansible/ruby/modules/generated/net_tools/infinity/infinity.rb', line 48

attribute :network_location

#network_nameString?

Returns The name of a network.

Returns:

  • (String, nil)

    The name of a network



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

attribute :network_name

#network_sizeString?

Returns Network bitmask (e.g. 255.255.255.220) or CIDR format (e.g., /26).

Returns:

  • (String, nil)

    Network bitmask (e.g. 255.255.255.220) or CIDR format (e.g., /26)



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

attribute :network_size

#network_type:lan, ...

Returns Network type defined by Infinity.

Returns:

  • (:lan, :shared_lan, :supernet, nil)

    Network type defined by Infinity



52
# File 'lib/ansible/ruby/modules/generated/net_tools/infinity/infinity.rb', line 52

attribute :network_type

#passwordObject

Returns Infinity password.

Returns:

  • (Object)

    Infinity password



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

attribute :password

#server_ipObject

Returns Infinity server_ip with IP address.

Returns:

  • (Object)

    Infinity server_ip with IP address



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

attribute :server_ip

#usernameObject

Returns Username to access Infinity,The user must have Rest API privileges.

Returns:

  • (Object)

    Username to access Infinity,The user must have Rest API privileges



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

attribute :username