Commit Graph

85959 Commits

Author SHA1 Message Date
Alexandru Bleotu
491faaa2ab Review changes 2017-09-20 17:20:39 -04:00
Alexandru Bleotu
23f58c0ff3 Even more pylint 2017-09-20 17:07:17 -04:00
Alexandru Bleotu
819e015d33 Added InvalidEntityError in salt.exceptions 2017-09-20 17:02:17 -04:00
Alexandru Bleotu
aa26f0bb83 Fixed list_differ because of ignore_unset_values change in dictdiffer 2017-09-20 13:54:58 -04:00
Alexandru Bleotu
a41b5072da more pylint 2017-09-20 13:40:36 -04:00
Alexandru Bleotu
8cdaf01642 pylint 2017-09-20 09:40:22 -04:00
Alexandru Bleotu
4f4db431fa Fixed tests for the ignore_unset_values change 2017-09-20 09:40:20 -04:00
Alexandru Bleotu
f7f4f34c3a Moved ignore_unset_values parameter as a RecursiveDictDiffer attribute 2017-09-20 09:35:44 -04:00
Alexandru Bleotu
9f0d639358 Skip ext vsan libraries pylint checks 2017-09-20 09:32:54 -04:00
Alexandru Bleotu
7bb54430ab Added licenses_configured state that checks the the VSAN licenses are added to the vCenter and assigned to the cluster 2017-09-20 06:29:05 -04:00
Alexandru Bleotu
d0a794663e Added salt.modules.vsphere.assign_license that assigns a license to an entity 2017-09-20 06:29:03 -04:00
Alexandru Bleotu
4656f26264 Added salt.modules.vsphere.list_assigned_licenses that list the licenses assigned to an entity 2017-09-20 06:29:01 -04:00
Alexandru Bleotu
25ac4400db Added salt.modules.vsphere._validate_entity that validates a cluster and a vcenter description 2017-09-20 06:29:00 -04:00
Alexandru Bleotu
906babd358 Added salt.modules.vsphere._get_entity that describes a cluster and a vcenter 2017-09-20 06:28:58 -04:00
Alexandru Bleotu
31894c23c3 Added salt.modules.vsphere.add_license 2017-09-20 06:28:56 -04:00
Alexandru Bleotu
02f9aca827 Added salt.modules.vsphere.list_licenses that lists all licenses on a vCenter 2017-09-20 06:28:54 -04:00
Alexandru Bleotu
6f7b1dde12 Imported additional JSON schema definitions in salt.modules.vsphere 2017-09-20 06:28:53 -04:00
Alexandru Bleotu
14deb25379 Added tests for salt.utils.vmware.assign_license 2017-09-20 06:28:51 -04:00
Alexandru Bleotu
5c953af15b Added salt.utils.vmware.assign_license 2017-09-20 06:28:49 -04:00
Alexandru Bleotu
e0ae5ecd83 Added tests for salt.utils.vmware.get_assigned_licenses 2017-09-20 06:28:47 -04:00
Alexandru Bleotu
5f268fc5d9 Added salt.utils.vmware.get_assigned_licenses 2017-09-20 06:28:46 -04:00
Alexandru Bleotu
ca33adcee7 Added tests for salt.utils.vmware.add_license 2017-09-20 06:28:44 -04:00
Alexandru Bleotu
3e2ff2ad86 Added salt.utils.vmware.add_license 2017-09-20 06:28:42 -04:00
Alexandru Bleotu
e660af495b Added tests for salt.utils.vmware.get_licenses 2017-09-20 06:28:40 -04:00
Alexandru Bleotu
67ef6adcb9 Added salt.utils.vmware.get_licenses 2017-09-20 06:28:39 -04:00
Alexandru Bleotu
e844dbceeb Added tests for salt.utils.vmware.get_license_assignment_manager 2017-09-20 06:28:37 -04:00
Alexandru Bleotu
1d57000f18 Added salt.utils.vmware.get_license_assignment_manager 2017-09-20 06:28:35 -04:00
Alexandru Bleotu
9f566fbe9c Added tests for salt.utils.vmware.get_license_manager 2017-09-20 06:28:33 -04:00
Alexandru Bleotu
ee47cd0c00 Added salt.utils.vmware.get_license_manager 2017-09-20 06:28:32 -04:00
Alexandru Bleotu
4394601ca1 Added VCenterEntitySchema JSON schema 2017-09-20 06:28:30 -04:00
Alexandru Bleotu
693d23421d Added ESXClusterEntitySchema and LicenseSchema JSON schemas 2017-09-20 06:28:28 -04:00
Alexandru Bleotu
71b10b81f9 Added tests for salt.modules.vspere.rename_datastore 2017-09-20 06:28:26 -04:00
Alexandru Bleotu
b027579e06 Added salt.modules.vspere.rename_datastore that renames a datastore 2017-09-20 06:28:25 -04:00
Alexandru Bleotu
0949e57211 Added salt.modules.vspere.list_datastores_via_proxy that returns a list of datastore representations
- can filter on datastore name, backing disk id,
  backing_disk_scsi_addresses (the last two only apply to VMFS datastore
  and if the proxy ``esxi`` - pointing to an an ESXi host)
2017-09-20 06:28:23 -04:00
Alexandru Bleotu
643f38c98c Added tests for salt.utils.vmware.rename_datastore 2017-09-20 06:28:21 -04:00
Alexandru Bleotu
792f4e985a Added salt.utils.vmware.rename_datastore 2017-09-20 06:28:19 -04:00
Alexandru Bleotu
51e881e5cf Added tests for salt.utils.vmware.get_datastores 2017-09-20 06:28:18 -04:00
Alexandru Bleotu
da7fdae103 Added salt.utils.vmware.get_datastores which returns a list of vim.Datastore objects
- can retrieve the datastores visible to the root folder, a datacenter,
  a cluster and an ESXi host
- can filter on datastore name and backing disk id (the latter, only if it is
  a VMFS datastore and the reference is an ESXi host)
2017-09-20 06:28:16 -04:00
Alexandru Bleotu
457246a871 Added tests for salt.utils.vmware.get_storage_system 2017-09-20 06:28:14 -04:00
Alexandru Bleotu
0a5e5066cd Added salt.utils.vmware.get_storage_system that retrieves an ESXi host's storage system 2017-09-20 06:28:12 -04:00
Alexandru Bleotu
85f328f49c Added vsan_datastore_configured esxcluster state that renames the vSan datastore on a cluster 2017-09-20 06:28:11 -04:00
Alexandru Bleotu
26207e2acc Added salt.states.esxcluster._get_vsan_datastore 2017-09-20 06:28:09 -04:00
Alexandru Bleotu
08100d719d Added cluster_configured state to create/manage ESX clusters 2017-09-20 06:28:07 -04:00
Alexandru Bleotu
359069904b Added JSON schema defintions ESX cluster config and all dependencies 2017-09-20 06:28:05 -04:00
Alexandru Bleotu
f042334584 Added tests for list_diff 2017-09-20 06:28:03 -04:00
Alexandru Bleotu
e1822b4a96 Added ListDictDiffer that recursively compares lists of dictionaries 2017-09-20 06:28:02 -04:00
Alexandru Bleotu
81a02f49e8 Added tests for RecursiveDictDiffer 2017-09-20 06:28:00 -04:00
Alexandru Bleotu
ca9235ff94 Added RecursiveDictDiffer in salt.utils.dictdiffer that recursively compares dictionaries 2017-09-20 06:27:58 -04:00
Alexandru Bleotu
01f241028a Added salt.modules.vsphere.update_cluster that updates a cluster according to spec, including VSAN configuration 2017-09-20 06:27:40 -04:00
Alexandru Bleotu
345b783ad6 Added salt.modules.vsphere.create_cluster that creates a cluster according to spec, including configuring VSAN 2017-09-20 06:27:13 -04:00