Hi,
in oVirt master / 4.0, following new UI plugin API
functions are now available.
--
engineBaseUrl [1]: can be used to construct Engine
URLs.
Signature:
engineBaseUrl()
Examples:
// returns something like:
//
https://example.com:8443/ovirt-engine/
api.engineBaseUrl()
[1]
https://gerrit.ovirt.org/#/c/55694/
--
showAlert [2]: can be used to show 'global' alert
messages (colored boxes in top-center part of UI).
Signature:
showAlert(alertTypeName, message, options)
Examples:
api.showAlert('success', 'Everything is good');
api.showAlert('danger', 'Something is bad', {
autoHideMs: 3000
});
[2]
https://gerrit.ovirt.org/#/c/55504/
--
Regards,
Vojtech