Dan Kenigsberg has submitted this change and it was merged.

Change subject: gluster: Added gluster hooks support
......................................................................


gluster: Added gluster hooks support

Gluster hooks enable users to run scripts on pre or post level of
gluster command execution. Pre scripts are executed before gluster
command execution and post scripts are executed after gluster
command execution.

Below new verbs are added to perform to list, enable and disable hooks.

New verbs:
* glusterHookEnable
* glusterHookDisable
* glusterHooksList
    Output structure:
        [{'name': HOOK-NAME,
          'status': STATUS,
          'type': MIME_TYPE,
          'command': GLUSTERCOMMAND,
          'level': HOOK-LEVEL,
          'md5sum': MD5SUM}]

Change-Id: I3918aa035d90967f1297dc7fadcf14b6a9385c45
Signed-off-by: Timothy Asir <[email protected]>
---
M client/vdsClientGluster.py
M vdsm.spec.in
M vdsm/gluster/Makefile.am
M vdsm/gluster/__init__.py
M vdsm/gluster/api.py
M vdsm/gluster/exception.py
A vdsm/gluster/hooks.py
M vdsm/gluster/vdsmapi-gluster-schema.json
M vdsm/svdsm.logger.conf.in
9 files changed, 407 insertions(+), 4 deletions(-)

Approvals:
  Adam Litke: Looks good to me, but someone else must approve
  Timothy Asir: Verified
  Aravinda VK: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/9671
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3918aa035d90967f1297dc7fadcf14b6a9385c45
Gerrit-PatchSet: 30
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Timothy Asir <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Aravinda VK <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Bala.FA <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Timothy Asir <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to