
--_D8651FB6-46F9-4DF8-98DD-D992EE03B3E3_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hey thanks on the previous issue. Also is there a way i can access WebAdmin.Html to add custom buttons and ma= ke few tweaks for personal use? I just cant find that file after using git. Aditya Mamidwar -----Original Message----- From: "Einav Cohen" <ecohen@redhat.com> Sent: =E2=80=8E14-=E2=80=8E03-=E2=80=8E2014 01:21 To: "aditya mamidwar" <aditya.mamidwar@gmail.com>; "Vojtech Szocs" <vszocs@= redhat.com> Cc: "users@ovirt.org" <users@ovirt.org>; "engine-devel@ovirt.org" <engine-d= evel@ovirt.org> Subject: Re: [Users] adding scripts if you are trying to hook into UI-specific events, it sounds=20 like you will need to write an oVirt UI Plugin [1] in order to=20 do that. However, I believe that the oVirt UI Plugins=20 infrastructure doesn't support hooking to events such as "tab=20 x was selected" and/or "button b was clicked".=20 It does allow you to add new (custom) tabs/sub-tabs/buttons of=20 your own, and there is a chance that it allows you to hook=20 into events such as 'row x was selected in the grid'.=20 @Vojtech will know better. Vojtech? if you are trying to hook into engine events (e.g. you want to=20 run a script every time a VM is started in oVirt, no matter if=20 the user started it by clicking the 'run' button in the oVirt- engine webadmin, or invoked a REST API request, or an SDK=20 command), then it will require some sort of an "engine-plugin"=20 infrastructure that we don't have at the moment AFAIK.=20 there is a chance that for some of the events you will be able=20 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.mamidwar@gmail.com> To: users@ovirt.org, engine-devel@ovirt.org Sent: Thursday, March 13, 2014 11:23:35 AM Subject: [Users] adding scripts =20 =20 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. =20 can someone guide on achieving this. =20 -- -Aditya Mamidwar =20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20
<A href=3D"mailto:aditya.mamidwar@gmail.com">aditya mamidwar</A>; <A href= =3D"mailto:vszocs@redhat.com">Vojtech Szocs</A></SPAN><BR><SPAN style=3D"FO= NT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Cc: </SP= AN><SPAN style=3D"FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href= =3D"mailto:users@ovirt.org">users@ovirt.org</A>; <A href=3D"mailto:engine-d= evel@ovirt.org">engine-devel@ovirt.org</A></SPAN><BR><SPAN style=3D"FONT-SI= ZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Subject: </SP= AN><SPAN style=3D"FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Re: [Us= ers] adding scripts</SPAN><BR><BR></DIV>if you are trying to hook into UI-s=
--_D8651FB6-46F9-4DF8-98DD-D992EE03B3E3_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8" <HTML><HEAD> <META content=3D"text/html; charset=3Dutf-8" http-equiv=3DContent-Type></HE= AD> <BODY> <DIV> <DIV style=3D"FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Hey thanks = on the previous issue.<BR>Also is there a way i can access WebAdmin.Html to= add custom buttons and make few tweaks for personal use?<BR>I just cant fi= nd that file after using git.<BR><BR>Aditya Mamidwar</DIV></DIV> <DIV dir=3Dltr> <HR> <SPAN style=3D"FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGH= T: bold">From: </SPAN><SPAN style=3D"FONT-SIZE: 11pt; FONT-FAMILY: Calibri,= sans-serif"><A href=3D"mailto:ecohen@redhat.com">Einav Cohen</A></SPAN><BR>= <SPAN style=3D"FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGH= T: bold">Sent: </SPAN><SPAN style=3D"FONT-SIZE: 11pt; FONT-FAMILY: Calibri,= sans-serif">=E2=80=8E14-=E2=80=8E03-=E2=80=8E2014 01:21</SPAN><BR><SPAN sty= le=3D"FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">= To: </SPAN><SPAN style=3D"FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"= pecific events, it sounds <BR>like you will need to write an oVirt UI Plugi= n [1] in order to <BR>do that. However, I believe that the oVirt UI Plugins= <BR>infrastructure doesn't support hooking to events such as "tab <BR>x wa= s selected" and/or "button b was clicked". <BR>It does allow you to add new= (custom) tabs/sub-tabs/buttons of <BR>your own, and there is a chance that= it allows you to hook <BR>into events such as 'row x was selected in the g= rid'. <BR><BR>@Vojtech will know better. Vojtech?<BR><BR>if you are trying = to hook into engine events (e.g. you want to <BR>run a script every time a = VM is started in oVirt, no matter if <BR>the user started it by clicking th= e 'run' button in the oVirt-<BR>engine webadmin, or invoked a REST API requ= est, or an SDK <BR>command), then it will require some sort of an "engine-p= lugin" <BR>infrastructure that we don't have at the moment AFAIK. <BR>there= is a chance that for some of the events you will be able <BR>to utilize th= e VDSM hooks (at the Host level) [2].<BR><BR>----<BR>Thanks,<BR>Einav<BR><B= R>[1] http://www.ovirt.org/Features/UIPlugins<BR><BR>[2] http://www.ovirt.o= rg/VDSM-Hooks<BR><BR><BR>----- Original Message -----<BR>> From: "aditya= mamidwar" <aditya.mamidwar@gmail.com><BR>> To: users@ovirt.org, e= ngine-devel@ovirt.org<BR>> Sent: Thursday, March 13, 2014 11:23:35 AM<BR=
> Subject: [Users] adding scripts<BR>> <BR>> <BR>> I want to c= ommit changes to the engine by adding some bash scripts.<BR>> the script= s should be invoked once a button or tab is selected in the<BR>> webadmi= n portal by the user.<BR>> <BR>> can someone guide on achieving this.= <BR>> <BR>> --<BR>> -Aditya Mamidwar<BR>> <BR>> ____________= ___________________________________<BR>> Users mailing list<BR>> User= s@ovirt.org<BR>> http://lists.ovirt.org/mailman/listinfo/users<BR>> <= BR></BODY></HTML>=
--_D8651FB6-46F9-4DF8-98DD-D992EE03B3E3_--