This patch fixes neutron-lbaas-dashboard to function properly when
installed in horizon with octavia-dashboard.
Story: 2004913
Task: 29266
Change-Id: Ib3e1e4d0bef08745bdbba2437481bfba169931ec
The neutron-lbaas-dashboard repo had legacy code that is not used in
the current version of the dashboard. This patch removes that code.
Note: This is modeled after Michael Johnson's patch to do the same
for octavia-dashboard: https://review.openstack.org/#/c/496961/
Change-Id: I20e6bc4bceb629bcdd068559f4f57802a69904ed
Closes-Bug: 1712654
By using Horizon's templateview which adds PageTitleMixin, the dashboard
will display the page title properly when one browses to LoadBalancer
panel.
Change-Id: Ic79dbf8600bb013d2b76b1193b739ce7ecf0de78
Closes-Bug: #1644061
The oslo.log (logging) configuration library provides standardized
configuration for all openstack projects. It also provides custom
formatters, handlers and support for context specific logging (like
resource id's etc).
I think it's better to use the common logging module.
Change-Id: I4f2574b60157c94a37b7c02283a10abc88d98d26
This adds the "allowed" check to the Load Balancers panel so that
it's not displayed if the extension is not enabled or if the horizon
config explicitly disables it.
Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I7b384c2f78aa0aa622d23b8b4ee317dd99f396e0
This moves around the REST API module import so that it gets
imported correctly and does not mess up the static file auto
discovery process. Individual files can then be removed from
the plugin file.
Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Iadc1dae0019d00d1fd13f875ab75da9e8d20f3bb
This adds the action for creating a new load balancer. This only
includes the first panel of the workflow which allows creating the
load balancer object itself. Follow on patches will add support for
the listener, pool, monitor, and members.
This also adds the missing .eslintrc file and fixes code that was
failing the eslint rules.
There is a slight problem with the styling of the action button that
is probably an issue in the horizon action-list widget. This can be
treated as a bug and fixed later.
Depends-On: I230995c069d94ca41d70582b9c665289f0acb86e
Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Ie0bfe6bd41a60259bc8642d4e046b420a50df55f
This adds the routing to allow navigating between angular pages as
well as the beginning of the load balancer detail page. The detail
page is very basic but is based on both the existing angular Images
detail page and the designs from invision. It includes two empty
tabs that will eventually hold the tables for Pools and Members.
Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Icbf4396238036b20712ca643e635dd84fe66a86e
This adds an angular version of the Load Balancers V2 panel,
including the Load Balancers table and config to get karma working.
The karma config assumes the horizon directory is a sibling of
neutron-lbaas-dashboard.
To use, copy the _1481_project_ng_loadbalancersv2_panel.py file from
neutron_lbaas_dashboard/enabled into openstack_dashboard/enabled.
Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I99c4ec705433385c19256c887944706472642a25