Class: Ansible::Ruby::Modules::Nova_compute

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#auth_urlString?

Returns The keystone url for authentication.

Returns:

  • (String, nil)

    The keystone url for authentication



22
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 22

attribute :auth_url

#auto_floating_ipString?

Returns Should a floating ip be auto created and assigned.

Returns:

  • (String, nil)

    Should a floating ip be auto created and assigned



70
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 70

attribute :auto_floating_ip

#availability_zoneObject?

Returns Name of the availability zone.

Returns:

  • (Object, nil)

    Name of the availability zone



80
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 80

attribute :availability_zone

#config_driveString?

Returns Whether to boot the server with config drive enabled.

Returns:

  • (String, nil)

    Whether to boot the server with config drive enabled



95
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 95

attribute :config_drive

#flavor_idInteger?

Returns The id of the flavor in which the new VM has to be created. Mutually exclusive with flavor_ram.

Returns:

  • (Integer, nil)

    The id of the flavor in which the new VM has to be created. Mutually exclusive with flavor_ram



48
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 48

attribute :flavor_id

#flavor_includeObject?

Returns Text to use to filter flavor names, for the case, such as Rackspace, where there are multiple flavors that have the same ram count. flavor_include is a positive match filter - it must exist in the flavor name.

Returns:

  • (Object, nil)

    Text to use to filter flavor names, for the case, such as Rackspace, where there are multiple flavors that have the same ram count. flavor_include is a positive match filter - it must exist in the flavor name.



56
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 56

attribute :flavor_include

#flavor_ramInteger?

Returns The minimum amount of ram in MB that the flavor in which the new VM has to be created must have. Mutually exclusive with flavor_id.

Returns:

  • (Integer, nil)

    The minimum amount of ram in MB that the flavor in which the new VM has to be created must have. Mutually exclusive with flavor_id



52
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 52

attribute :flavor_ram

#floating_ip_poolsObject?

Returns list of floating IP pools from which to choose a floating IP.

Returns:

  • (Object, nil)

    list of floating IP pools from which to choose a floating IP



77
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 77

attribute :floating_ip_pools

#floating_ipsObject?

Returns list of valid floating IPs that pre-exist to assign to this node.

Returns:

  • (Object, nil)

    list of valid floating IPs that pre-exist to assign to this node



74
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 74

attribute :floating_ips

#image_excludeObject?

Returns Text to use to filter image names, for the case, such as HP, where there are multiple image names matching the common identifying portions. image_exclude is a negative match filter - it is text that may not exist in the image name. Defaults to “(deprecated)”.

Returns:

  • (Object, nil)

    Text to use to filter image names, for the case, such as HP, where there are multiple image names matching the common identifying portions. image_exclude is a negative match filter - it is text that may not exist in the image name. Defaults to “(deprecated)”



45
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 45

attribute :image_exclude

#image_idString

Returns The id of the base image to boot. Mutually exclusive with image_name.

Returns:

  • (String)

    The id of the base image to boot. Mutually exclusive with image_name



37
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 37

attribute :image_id

#image_nameObject

Returns The name of the base image to boot. Mutually exclusive with image_id.

Returns:

  • (Object)

    The name of the base image to boot. Mutually exclusive with image_id



41
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 41

attribute :image_name

#key_nameString?

Returns The key pair name to be used when creating a VM.

Returns:

  • (String, nil)

    The key pair name to be used when creating a VM



59
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 59

attribute :key_name

#login_passwordString

Returns Password of login user.

Returns:

  • (String)

    Password of login user



14
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 14

attribute :login_password

#login_tenant_nameString

Returns The tenant name of the login user.

Returns:

  • (String)

    The tenant name of the login user



18
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 18

attribute :login_tenant_name

#login_usernameString

Returns login username to authenticate to keystone.

Returns:

  • (String)

    login username to authenticate to keystone



10
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 10

attribute :login_username

#metaHash?

Returns A list of key value pairs that should be provided as a metadata to the new VM.

Returns:

  • (Hash, nil)

    A list of key value pairs that should be provided as a metadata to the new VM



83
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 83

attribute :meta

#nameString

Returns Name that has to be given to the instance.

Returns:

  • (String)

    Name that has to be given to the instance



33
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 33

attribute :name

#nicsArray<Hash>, ...

Returns A list of network id’s to which the VM’s interface should be attached.

Returns:

  • (Array<Hash>, Hash, nil)

    A list of network id’s to which the VM’s interface should be attached



66
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 66

attribute :nics

#region_nameObject?

Returns Name of the region.

Returns:

  • (Object, nil)

    Name of the region



26
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 26

attribute :region_name

#scheduler_hintsObject?

Returns Arbitrary key/value pairs to the scheduler for custom use.

Returns:

  • (Object, nil)

    Arbitrary key/value pairs to the scheduler for custom use



102
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 102

attribute :scheduler_hints

#security_groupsObject?

Returns The name of the security group to which the VM should be added.

Returns:

  • (Object, nil)

    The name of the security group to which the VM should be added



63
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 63

attribute :security_groups

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource



29
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 29

attribute :state

#user_dataObject?

Returns Opaque blob of data which is made available to the instance.

Returns:

  • (Object, nil)

    Opaque blob of data which is made available to the instance



99
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 99

attribute :user_data

#waitString?

Returns If the module should wait for the VM to be created.

Returns:

  • (String, nil)

    If the module should wait for the VM to be created.



87
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 87

attribute :wait

#wait_forInteger?

Returns The amount of time the module should wait for the VM to get into active state.

Returns:

  • (Integer, nil)

    The amount of time the module should wait for the VM to get into active state



91
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb', line 91

attribute :wait_for