Puppet Class: nova::compute::vmware

Defined in:
manifests/compute/vmware.pp

Overview

Parameters:

  • host_ip (Any)
  • host_username (Any)
  • host_password (Any)
  • cluster_name (Any)
  • api_retry_count (Any) (defaults to: 5)
  • maximum_objects (Any) (defaults to: 100)
  • task_poll_interval (Any) (defaults to: 5.0)
  • use_linked_clone (Any) (defaults to: true)
  • wsdl_location (Any) (defaults to: undef)


47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'manifests/compute/vmware.pp', line 47

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,
  $wsdl_location=undef
) {

  nova_config {
    'DEFAULT/compute_driver':      value => 'vmwareapi.VMwareVCDriver';
    '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;
  }

  if $wsdl_location {
    nova_config {
      'VMWARE/wsdl_location' : value => $wsdl_location;
    }
  }

  package { 'python-suds':
    ensure   => present
  }
}