Hey thanks on the previous issue.
Also is there a way i can access WebAdmin.Html to add custom buttons and make 
few tweaks for personal use?
I just cant find that file after using git.

Aditya Mamidwar

-----Original Message-----
From: "Einav Cohen" <eco...@redhat.com>
Sent: ‎14-‎03-‎2014 01:21
To: "aditya mamidwar" <aditya.mamid...@gmail.com>; "Vojtech Szocs" 
<vsz...@redhat.com>
Cc: "users@ovirt.org" <users@ovirt.org>; "engine-de...@ovirt.org" 
<engine-de...@ovirt.org>
Subject: Re: [Users] adding scripts

if you are trying to hook into UI-specific events, it sounds 
like you will need to write an oVirt UI Plugin [1] in order to 
do that. However, I believe that the oVirt UI Plugins 
infrastructure doesn't support hooking to events such as "tab 
x was selected" and/or "button b was clicked". 
It does allow you to add new (custom) tabs/sub-tabs/buttons of 
your own, and there is a chance that it allows you to hook 
into events such as 'row x was selected in the grid'. 

@Vojtech will know better. Vojtech?

if you are trying to hook into engine events (e.g. you want to 
run a script every time a VM is started in oVirt, no matter if 
the user started it by clicking the 'run' button in the oVirt-
engine webadmin, or invoked a REST API request, or an SDK 
command), then it will require some sort of an "engine-plugin" 
infrastructure that we don't have at the moment AFAIK. 
there is a chance that for some of the events you will be able 
to utilize the VDSM hooks (at the Host level) [2].

----
Thanks,
Einav

[1] http://www.ovirt.org/Features/UIPlugins

[2] http://www.ovirt.org/VDSM-Hooks


----- Original Message -----
> From: "aditya mamidwar" <aditya.mamid...@gmail.com>
> To: users@ovirt.org, engine-de...@ovirt.org
> Sent: Thursday, March 13, 2014 11:23:35 AM
> Subject: [Users] adding scripts
> 
> 
> I want to commit changes to the engine by adding some bash scripts.
> the scripts should be invoked once a button or tab is selected in the
> webadmin portal by the user.
> 
> can someone guide on achieving this.
> 
> --
> -Aditya Mamidwar
> 
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to