EMC VNX Manila driver refactoring targets to the following aspects:
1. Make the object-oriented storage object
2. Improve the unit test coverage
Change-Id: Ifbcad18fc00f9ed0d4f04efead30e8357d88a29f
Implements: blueprint emc-vnx-manila-driver-refactoring
Fix incorrect order assertEqual(observed, expected) as below.
assertEqual(observed, expected) => assertEqual(expected, observed)
Target of this patch:
manila/tests/share/*
Note:
I also fix following asserts around above fixed parts.
assertEqual(xx, True), assertEqual(True, xx) => assertTrue(xx)
As for assertFalse,
I do not convert assertEqual(xx, False) to assertFalse(xx)
because assertFalse(None) does not raise exception.
Change-Id: I56688105ab3b77e4f71bde472763a9c02c43664b
Partial-Bug: #1259292
Currently, if user try to delete several NFS shares on same VDM,
VNX backend would report: unable to acquire lock(s).
Use 'retry' logic to handle such kind of error.
Change-Id: I0dafbda265daf19de3d71ee91fc51fb62313e5ec
Closes-Bug: 1480856
Default type of strings in py 2 and 3 are different. So, convert them
explicitly when it is needed for py 2/3 compatibility.
Partially-Implements: bp py3-compatibility
Change-Id: I9b2d7e97fdc7d073a16e729ce0e90b92281fdf8d
For the pools that are not dynamic, the total capacity of the pool returns
as total size of all members of the pool; For the pools that are dynamic,
it returns the potential, maximum total size, in other words the total size
of all members plus the space available for the pool extension.
Change-Id: Ie093a9ebcda7ca77906efe3786ee585b836c6a52
Closes-bug: 1464136
Manila framework adds a new blueprint to set access-level for a share so
that admin can grant read-only/read-write permission to specific share.
This fix is to implement access-level both for CIFS and NFS share
in VNX Manila driver.
Change-Id: Ib651300978c451ca9b0d4b768c1f06d44d51a951
Implements: bp emc-vnx-manila-driver-read-only-share
When running Manila with VNX File OE 8.1.6 or later,
if user creates a NFS share in Manila, driver will
report nas command error when setting nfs permssion.
This fix will use updated nas command to resolve it.
Change-Id: I0550cdf01278fa4e9aeed7891152fed6dcc0eefc
Closes-Bug: #1465543
The Python 2 next() method of iterators was renamed to __next__() on
Python 3. Use the builtin next() function instead which works on Python
2 and Python 3.
This patch was generated by the next operation of the sixer tool:
https://pypi.python.org/pypi/sixer
Change-Id: I13948f73f34c396c5cb4d55b636f12b96e62f9f9
Closes-Bug: #1464935
Check if share server name is in the parameter server_details when tear down
the share server. If not, just simply return.
Change-Id: Iff85589e198c933b0af67e288ed688be6e1deb39
Closes-Bug: #1446109
Use the third-party library lxml to generate XML request to VNX array,
which replaces the built-in XML builder in the current driver.
Change-Id: Iaca29ef3860b63786d214b700330c374397831b9
Implements: blueprint emc-vnx-manila-driver-lxml-update