[openstack-dev] [horizon] Modifying existing dashboards with plugins

Skyler Berg sberg at tintri.com
Wed Jul 8 18:03:54 UTC 2015

The 07/07/2015 11:35, Thai Q Tran wrote:
>    Right, this was the suggestion I also recommended in IRC. The only issue
>    here is if/when another plugin attempt to extend from the same panel, then
>    we'd run into conflicts that would require manual resolution (but I'm not
>    sure there is any other way around this).
>    -----Lin Hua Cheng <os.lcheng at gmail.com> wrote: -----
>    To: "OpenStack Development Mailing List (not for usage questions)"
>    <openstack-dev at lists.openstack.org>
>    From: Lin Hua Cheng <os.lcheng at gmail.com>
>    Date: 07/07/2015 10:30AM
>    Subject: Re: [openstack-dev] [horizon] Modifying existing dashboards with
>    plugins
>    This was discussed two summits ago, I believe the preferred way to modify
>    the tables was to extend the panel classes, do your customization there,
>    and use the plugin mechanism to turn off the original panel and add the
>    newly extended panel.   
>    It is not straight-forward, but it will be have less risk breaking than
>    monkey-patching the table class through the customization module.
>    -Lin

This should work my intended use case. I misunderstood on IRC and missed
the part about disabling the original panel.

>    On Tue, Jul 7, 2015 at 8:23 AM, Rob Cresswell (rcresswe)
>    <rcresswe at cisco.com> wrote:
>      AFAIK, the customisation is mainly restricted to panels and dashboards
>      and
>      styling, as Matthias said.
>      I^1ll be looking into extending the workflows shortly. If you have any
>      ideas on implementation, feel free to suggest.
>      Rob

I am just starting this plugin now. I will let you know if I have ideas
going forward.

>      On 07/07/2015 11:00, "Matthias Runge" <mrunge at redhat.com> wrote:
>      >On Mon, Jul 06, 2015 at 04:23:29PM -0700, Skyler Berg wrote:
>      >> I am wondering if there is a way to have plugins modify existing
>      >> dashboards currently that I am overlooking. If not, should there be?
>      >
>      >Very briefly: There is currently no way to extend something else other
>      >than a dashboard or a panel.
>      >
>      >It's a known issue, there should be a pluggable way to extend tables
>      >etc.
>      >--
>      >Matthias Runge <mrunge at redhat.com>

Thank you all for the helpful responses.

Skyler Berg


More information about the OpenStack-dev mailing list