Sunday, June 9, 2013

oVirt UI-VDSM-Hooks Plugin

Using CGI scripts located on the host's web-server, VDSM commands (vdsClient)
can be invoked directly from the WebAdmin UI. This solution is useful for commonly
used commands, scripts that are based on vdsClient API or as a shell replacement...
Following are some screenshots and code snippets to illustrate the technique capabilities
(UI-Plugin's infrastructure and hooks examples can be fetched here).

Hooks Examples

right-click on a host





VdsClient API

UI for all VdsClient API commands

VdsClient - 'list' command

VdsClient - list table

Main CGI Script


 VdsClient API Script


    Plugin's start HTML


    Full Source Code

    No comments:

    Post a Comment