tester.c: Add test for URI with no path

Signed-off-by: Tony Asleson <tasleson@redhat.com>
C & PY API: access_group_initiator_[add|delete] V2

For the initiator add we use both initiator id (string) and an
enumerated initiator type.

For the initiator delete we use just initiator id.

This patch makes the delete match the add.  I also added a
validation check for the initiator id in the delete.

V2: Update plugin_test.py

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

plugin_test.py: Correct for signature change

Signed-off-by: Tony Asleson <tasleson@redhat.com>
ontap.py: Use just logical unit name with no path

Using the full path and name for the name is an implementation
detail.  Changed to just using name and the plugin_data storing
the full path and name instead.

Also fixed a bug where the pool id for the volumes was incorrect.  It
always showed the id for the aggregate that the NetApp volume was on.
Fixed this and I also changed so we wouldn't display the NetApp volume
that gets created if a user decides to create a logical unit on an aggregate
instead of selecting a pool that is a NetApp volume (fs).  This was done so
that when the user passes the base aggregate, the newly created lsm volume
pool id would match the one passed in, not some NetApp volume that was
created as a container to house the newly created logical volume.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
simc plugin: Remove un-used code

This no longer needed with pool create/delete functionality
removed.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
PY & C: Re-work return codes

Reduced the number of return codes and replaced with

NAME_CONFLICT  == item with name already exists
NO_STATE_CHANGE == requested operation did nothing

This patch is incomplete as I want to introduce unit tests in the
plug_test.py which exercise all these error paths to ensure that
each of the plug-ins are working as expected.

make check runs clean, but NetApp, Nstor and SMI-S will need
improvements.

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