vmpooler/spec
Glenn Sarti 7077eadc65 (POOLER-83) Add ability to specify a datacenter for vsphere
Previously the vsphere provider assumed that there was one and only one
datacenter (DC) in the vsphere instance.  However this is simply not true for
many vSphere installations.  This commit:
- Adds the ability to define a vSphere datacenter at the Pool or Provider level
  whereby the Pool setting takes precedence
- If no datacenter is specified the default behaviour of picking the first DC
  in the vSphere instance
- Updated all tests for the new setting
- Update the vmpooler configuration file example with relevant setting name
  and expected behaviour
- Fixed a bug in the rvmomi_helper whereby if no DC was found it would return
  all DCs.  This is opposite behaviour of the real RBVMOMI library as it returns
  nil
2017-06-20 15:48:30 -07:00
..
integration (POOLER-73) Restructure tests to unit and integration directories 2017-02-17 13:04:38 -08:00
unit (POOLER-83) Add ability to specify a datacenter for vsphere 2017-06-20 15:48:30 -07:00
helpers.rb (POOLER-70) Update _check_pool for VM Provider 2017-05-17 13:52:28 -07:00
rbvmomi_helper.rb (POOLER-83) Add ability to specify a datacenter for vsphere 2017-06-20 15:48:30 -07:00
spec_helper.rb (POOLER-73) Add spec tests for vsphere_helper 2017-03-20 17:31:59 -07:00