1 # == define: cinder::volume::vmdk
3 # Configure the VMware VMDK driver for cinder.
8 # The IP address of the VMware vCenter server.
11 # The username for connection to VMware vCenter server.
14 # The password for connection to VMware vCenter server.
17 # (optional) The number of times we retry on failures,
18 # e.g., socket error, etc.
21 # [*max_object_retrieval*]
22 # (optional) The maximum number of ObjectContent data objects that should
23 # be returned in a single result. A positive value will cause
24 # the operation to suspend the retrieval when the count of
25 # objects reaches the specified maximum. The server may still
26 # limit the count to something less than the configured value.
27 # Any remaining objects may be retrieved with additional requests.
30 # [*task_poll_interval*]
31 # (optional) The interval in seconds used for polling of remote tasks.
34 # [*image_transfer_timeout_secs*]
35 # (optional) The timeout in seconds for VMDK volume transfer between Cinder and Glance.
39 # (optional) VIM Service WSDL Location e.g
40 # http://<server>/vimService.wsdl. Optional over-ride to
41 # default location for bug work-arounds.
45 # (optional) The name for the folder in the VC datacenter that will contain cinder volumes.
46 # Defaults to 'cinder-volumes'.
49 class cinder::volume::vmdk(
53 $volume_folder = 'cinder-volumes',
54 $api_retry_count = 10,
55 $max_object_retrieval = 100,
56 $task_poll_interval = 5,
57 $image_transfer_timeout_secs = 7200,
58 $wsdl_location = undef
61 cinder::backend::vmdk { 'DEFAULT':
63 host_username => $host_username,
64 host_password => $host_password,
65 volume_folder => $volume_folder,
66 api_retry_count => $api_retry_count,
67 max_object_retrieval => $max_object_retrieval,
68 task_poll_interval => $task_poll_interval,
69 image_transfer_timeout_secs => $image_transfer_timeout_secs,
70 wsdl_location => $wsdl_location,