Hello! If you'd like to create your own UI plugin, I'd suggest to first take a look at samples-uiplugins <https://gerrit.ovirt.org/#/q/project:samples-uiplugins> repo. In general, the UI plugin API has stayed (more or less) backwards-compatible since oVirt 3.2.x days, so most of these sample plugins should still work.
Next, you might want to check out the ui-extensions project (GitHub mirror link below, Gerrit link here <https://gerrit.ovirt.org/#/q/project:ovirt-engine-ui-extensions>) - we'll use it to contain multiple oVirt admin UI extensions: - dashboard page - VM migrate dialog (used on both VM main grid and Host/VM detail grid) - ... and hopefully more in the future! (we're currently using ovirt-engine-dashboard but it will soon be replaced with ovirt-engine-ui-extensions which gets installed as part of ovirt-engine installation) You might also want to read the feature page at https://ovirt.org/develop/release-management/features/ux/uiplugins/ but it's probably better to dive into examples. Regards, Vojtech On Thu, Aug 2, 2018 at 12:54 PM, Greg Sheremeta <gsher...@redhat.com> wrote: > Hi :) > > I can certainly help with the UI plugin part. The new way to do this is > using react + REST API. Take a look at > https://github.com/oVirt/ovirt-engine-ui-extensions > you could model your plugin on the Migrate VM plugin there. > https://github.com/oVirt/ovirt-engine-ui-extensions/ > blob/master/src/integrations/buttons.js > > I suspect you'll need to do backend work for this one though :) Someone > else can chime in here. > > Best wishes, > Greg > > On Thu, Aug 2, 2018 at 4:12 AM 董青龙 <dd...@126.com> wrote: > >> Hi all, >> I want to develop an UI plugin for ovirt which aimes at >> translating metrics to prices like CloudKitty of openstack. Has anyone done >> it? Can anyone give me some advice? Thanks! >> >> >> >> _______________________________________________ >> Users mailing list -- users@ovirt.org >> To unsubscribe send an email to users-le...@ovirt.org >> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ >> oVirt Code of Conduct: https://www.ovirt.org/community/about/community- >> guidelines/ >> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ >> message/NQ4NFILNJYLHYJETIDKOL3FKGPM2VZH4/ >> > > > -- > > GREG SHEREMETA > > SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX > > Red Hat NA > > <https://www.redhat.com/> > > gsher...@redhat.com IRC: gshereme > <https://red.ht/sig> > > _______________________________________________ > Users mailing list -- users@ovirt.org > To unsubscribe send an email to users-le...@ovirt.org > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ > oVirt Code of Conduct: https://www.ovirt.org/community/about/community- > guidelines/ > List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ > message/U76QPEVC3KKTAMRHBOXKQPWXE7PAM3F3/ > >
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/D3WAEUS4LAXNAXRSA3MSPAU3Z5QZ2PVM/