VMware: add support for NFS 4.1
ESX 6.0 supports NFS 4.1. This patch enables NFS 4.1 support. Closes-bug: #1451834 DocImpact: The driver will now support NFS version 4.1 Change-Id: I31cd846e5c87dc3de46cc2ec17ce062bf0285221
This commit is contained in:
parent
2a5b1db132
commit
a586b1b28d
@ -147,6 +147,7 @@ class VMwareDSUtilDatastoreSelectionTestCase(test.NoDBTestCase):
|
|||||||
data = [
|
data = [
|
||||||
['VMFS', 'spam-good', True, 20 * units.Gi, 10 * units.Gi],
|
['VMFS', 'spam-good', True, 20 * units.Gi, 10 * units.Gi],
|
||||||
['NFS', 'eggs-good', True, 40 * units.Gi, 15 * units.Gi],
|
['NFS', 'eggs-good', True, 40 * units.Gi, 15 * units.Gi],
|
||||||
|
['NFS41', 'nfs41-is-good', True, 35 * units.Gi, 12 * units.Gi],
|
||||||
['BAD', 'some-name-bad', True, 30 * units.Gi, 20 * units.Gi],
|
['BAD', 'some-name-bad', True, 30 * units.Gi, 20 * units.Gi],
|
||||||
['VMFS', 'some-name-good', True, 50 * units.Gi, 5 * units.Gi],
|
['VMFS', 'some-name-good', True, 50 * units.Gi, 5 * units.Gi],
|
||||||
['VMFS', 'some-other-good', True, 10 * units.Gi, 10 * units.Gi],
|
['VMFS', 'some-other-good', True, 10 * units.Gi, 10 * units.Gi],
|
||||||
|
@ -34,6 +34,7 @@ DISK_TYPE_EAGER_ZEROED_THICK = 'eagerZeroedThick'
|
|||||||
|
|
||||||
DATASTORE_TYPE_VMFS = 'VMFS'
|
DATASTORE_TYPE_VMFS = 'VMFS'
|
||||||
DATASTORE_TYPE_NFS = 'NFS'
|
DATASTORE_TYPE_NFS = 'NFS'
|
||||||
|
DATASTORE_TYPE_NFS41 = 'NFS41'
|
||||||
DATASTORE_TYPE_VSAN = 'vsan'
|
DATASTORE_TYPE_VSAN = 'vsan'
|
||||||
|
|
||||||
DEFAULT_VIF_MODEL = network_model.VIF_MODEL_E1000
|
DEFAULT_VIF_MODEL = network_model.VIF_MODEL_E1000
|
||||||
|
@ -31,6 +31,7 @@ from nova.virt.vmwareapi import vm_util
|
|||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
ALL_SUPPORTED_DS_TYPES = frozenset([constants.DATASTORE_TYPE_VMFS,
|
ALL_SUPPORTED_DS_TYPES = frozenset([constants.DATASTORE_TYPE_VMFS,
|
||||||
constants.DATASTORE_TYPE_NFS,
|
constants.DATASTORE_TYPE_NFS,
|
||||||
|
constants.DATASTORE_TYPE_NFS41,
|
||||||
constants.DATASTORE_TYPE_VSAN])
|
constants.DATASTORE_TYPE_VSAN])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user