Python Libray: Forcing Volume.vpd83 to be lower 32 hex digitals

 * Raise error(INVALID_ARGUMENT) if got incorrect format of vpd83, should be
   lower 32 hex digitals.

Signed-off-by: Gris Ge <fge@redhat.com>
Plugins: Change VPD83 to lower 32 hex digitals V2

 * Updated these plugins for Volume.vpd83 property:
    SMI-S
    Nstor
    sim

 * These plugins already set correct vpd83:
    simc
    ontap

V2: Fix merge conflicts
    Simplify regex. string in smis.py

Signed-off-by: Gris Ge <fge@redhat.com>
Signed-off-by: Tony Asleson <tasleson@redhat.com>
plugin_test.py: Fix vpd check

Signed-off-by: Tony Asleson <tasleson@redhat.com>
C & PY: Public function/method to check vpd format

The library expects and now enforces 32 character lower case hex
representation for vpd 0x83.

Added:

C:  lsm_volume_vpd83_verify
Py: Volume.vpd83_verify

To allow a user the ability to validate the vpd.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
plugin_test.py: Remove trailing '_' from random names

Change this so random names are in the form:

lsm_<component>_<random characters>

Signed-off-by: Tony Asleson <tasleson@redhat.com>
Run plugin_test.py against sim & simc

Signed-off-by: Tony Asleson <tasleson@redhat.com>
_client.py: Use the class constant for default flags

Replaced all the flags=0 with flags=FLAG_RSVD

Signed-off-by: Tony Asleson <tasleson@redhat.com>
Packaging: Add PyYAML as build require for plugin_test.py

As plugin_test.py has been added into `make check`, we need to make sure
PyYAML is installed by RPM SPEC or autoconf.

Signed-off-by: Gris Ge <fge@redhat.com>
C & PY: Remove volume SNAPSHOT replication type

No plugins/arrays we have support for support the ability to make
a read only point in time copy of a volume.  We can add this back later
if this proves to be incorrect.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
Updates to man page and cmdline.py

Signed-off-by: Tony Asleson <tasleson@redhat.com>
Doxygen corrections.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
plugin_test.py: Create new ag if possible during testing

If we can create one then do so instead of mucking with existing
access groups.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
nstor.py: Get plugin_test.py to pass

Fixed a number of issue with the nstor plugin.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
plugin_test.py: Fix disks listing & resize size

* Nstor want's things aligned to 8K boundaries.
* Check for disk capability before trying to list disks

Signed-off-by: Tony Asleson <tasleson@redhat.com>
smis.py: Raise NAME_CONFLICT on replicate with dupe name.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
plugin_test.py: Improve test_mask_unmask

Signed-off-by: Tony Asleson <tasleson@redhat.com>
smis.py: Spelling corrections

Signed-off-by: Tony Asleson <tasleson@redhat.com>
ontap.py: PEP8 fixes & remove TODO

Signed-off-by: Tony Asleson <tasleson@redhat.com>
smis.py: Check key before lookup

Signed-off-by: Tony Asleson <tasleson@redhat.com>
C: Make filter function static

This was showing up as a public symbol in the SO which is not
wanted.

Signed-off-by: Tony Asleson <tasleson@redhat.com>