parameter | required | default | choices | comments |
---|---|---|---|---|
auth_url | no | http://127.0.0.1:35357/v2.0/ | The keystone url for authentication | |
container_format | no | bare | The format of the container | |
copy_from | no | None | A url from where the image can be downloaded, mutually exclusive with file parameter | |
disk_format | no | qcow2 | The format of the disk that is getting uploaded | |
endpoint_type | no | publicURL |
|
endpoint URL type |
file | no | None | The path to the file which has to be uploaded, mutually exclusive with copy_from | |
is_public | no | yes | Whether the image can be accessed publicly | |
login_password | yes | yes | Password of login user | |
login_tenant_name | yes | yes | The tenant name of the login user | |
login_username | yes | admin | login username to authenticate to keystone | |
min_disk | no | None | The minimum disk space required to deploy this image | |
min_ram | no | None | The minimum ram required to deploy this image | |
name | yes | None | Name that has to be given to the image | |
owner | no | None | The owner of the image | |
region_name | no | None | Name of the region | |
state | no | present |
|
Indicate desired state of the resource |
timeout | no | 180 | The time to wait for the image process to complete in seconds |
Note
Requires glanceclient
Note
Requires keystoneclient