Change in vdsm[master]: gluster: Added gluster hooks support

danken at redhat.com danken at redhat.com
Mon May 6 13:47:25 UTC 2013


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 <tjeyasin at redhat.com>
---
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 <tjeyasin at redhat.com>
Gerrit-Reviewer: Adam Litke <agl at us.ibm.com>
Gerrit-Reviewer: Aravinda VK <avishwan at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Timothy Asir <tjeyasin at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list