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:
Gary Kotton 2015-05-04 10:07:35 -07:00 committed by garyk
parent 2a5b1db132
commit a586b1b28d
3 changed files with 3 additions and 0 deletions

View File

@ -147,6 +147,7 @@ class VMwareDSUtilDatastoreSelectionTestCase(test.NoDBTestCase):
data = [
['VMFS', 'spam-good', True, 20 * units.Gi, 10 * 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],
['VMFS', 'some-name-good', True, 50 * units.Gi, 5 * units.Gi],
['VMFS', 'some-other-good', True, 10 * units.Gi, 10 * units.Gi],

View File

@ -34,6 +34,7 @@ DISK_TYPE_EAGER_ZEROED_THICK = 'eagerZeroedThick'
DATASTORE_TYPE_VMFS = 'VMFS'
DATASTORE_TYPE_NFS = 'NFS'
DATASTORE_TYPE_NFS41 = 'NFS41'
DATASTORE_TYPE_VSAN = 'vsan'
DEFAULT_VIF_MODEL = network_model.VIF_MODEL_E1000

View File

@ -31,6 +31,7 @@ from nova.virt.vmwareapi import vm_util
LOG = logging.getLogger(__name__)
ALL_SUPPORTED_DS_TYPES = frozenset([constants.DATASTORE_TYPE_VMFS,
constants.DATASTORE_TYPE_NFS,
constants.DATASTORE_TYPE_NFS41,
constants.DATASTORE_TYPE_VSAN])