123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- class nova::compute::vmware(
- $host_ip,
- $host_username,
- $host_password,
- $cluster_name,
- $api_retry_count = 5,
- $maximum_objects = 100,
- $task_poll_interval = 5.0,
- $use_linked_clone = true,
- $compute_driver = 'vmwareapi.VMwareVCDriver',
- $insecure = $::os_service_default,
- $ca_file = $::os_service_default,
- $datastore_regex = $::os_service_default,
-
- $wsdl_location = undef,
- ) {
- include ::nova::deps
- if $wsdl_location {
- warning('wsdl_location is deprecated, has no effect and will be removed in the future release.')
- }
- nova_config {
- 'DEFAULT/compute_driver': value => $compute_driver;
- 'vmware/host_ip': value => $host_ip;
- 'vmware/host_username': value => $host_username;
- 'vmware/host_password': value => $host_password;
- 'vmware/cluster_name': value => $cluster_name;
- 'vmware/api_retry_count': value => $api_retry_count;
- 'vmware/maximum_objects': value => $maximum_objects;
- 'vmware/task_poll_interval': value => $task_poll_interval;
- 'vmware/use_linked_clone': value => $use_linked_clone;
- 'vmware/insecure': value => $insecure;
- 'vmware/ca_file': value => $ca_file;
- 'vmware/datastore_regex': value => $datastore_regex;
- }
- package { 'python-suds':
- ensure => present,
- tag => ['openstack', 'nova-support-package'],
- }
- }
|