tests: update sanlk_events

print the full event struct

Signed-off-by: David Teigland <teigland@redhat.com>
python: add support for lockspace events

Add support for sending events to other hosts and listening for
lockspace events.

I added thin wrappers for sanlock_reg_event, sanlock_get_event,
sanlock_end_event, and sanlock_set_event.

Where sanlock C API has unused arguments, the Python bindings do not use
them, since we can add them later as optional arguments in a backward
compatible manner. This ensures that new code depending on this argument
will fail when working with a version that does not provide it.

sanlock_get_event returns one event per call. The Python version is
easier to use, returning list of events in one call, similar to
get_hosts.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
reset: add man pages

Signed-off-by: David Teigland <teigland@redhat.com>
release 3.2.0

Signed-off-by: David Teigland <teigland@redhat.com>
reset: install man pages

Signed-off-by: David Teigland <teigland@redhat.com>
reset: Require lockspace name for local deamon operations

sanlk-reset required lockspace name for the reset command, but did not
require it for reg, end, and clear commands. Running a comment without
did nothing and exit with zero exit code.

Now a lockspace name is required for all commands and the tool exit with
exit code 2 if not available.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>