Commit Graph

39 Commits

Author SHA1 Message Date
Adam Harwell 7d60958b8c Retiring neutron-lbaas-dashboard
Depends-On: https://review.opendev.org/#/c/658493/
Change-Id: I3e2e42efc30eced5abb6c8fff0d0fc974fc9722b
2019-05-11 03:18:25 -07:00
Michael Johnson cddbf697e6 Fix neutron-lbaas-dashboard and octavia-dashboard
This patch fixes neutron-lbaas-dashboard to function properly when
installed in horizon with octavia-dashboard.

Story: 2004913
Task: 29266

Change-Id: Ib3e1e4d0bef08745bdbba2437481bfba169931ec
2019-03-18 17:19:44 +00:00
coho 10d09ca456 sni_container_refs needed if we want to use sni
Closes-Bug: #1792850
Change-Id: I450a604fee20186c5c7ecf81720eef58de4db056
2018-09-17 10:38:52 +08:00
MinSun d87d0e3bd2 Cannot update ssl certificate when update listener
Update listener success, but only the name and description of the
listener has been updated. Certificate remains same as old one.

Change-Id: I35aa3ca8d77f5cd58d8bd945fadc1061ecf05112
Closes-Bug: #1753656
2018-03-09 09:02:01 +08:00
Corey Bryant 2945c83a01 Remove old unused code.
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
2017-08-25 13:41:16 -04:00
Lucas Palm d57d7a4ebd Show the member status properties
This change adds the 'Operating Status' and 'Provisioning Status'
properties to the member attributes that are visible in the
members table and detail pages.  The member statuses are taken
from the Load Balancer status tree API, which returns all child
resources with their corresponding statuses for a particular Load
Balancer.

Closes-Bug: #1563444
Change-Id: Icd812bdc8774c3dd4522ff923229bfecaeb1b9dd
2017-07-26 05:57:10 +08:00
Jacky Hu 20fde209c2 Move FIP api from network to neutron
Due to I4e59d897508b497a3cd2ae2fda93b30b786610dc, without this change,
the whole lbaas dashboard would be broken.

Change-Id: I2dfd9701829248484f31ca85fbde20e4a211bf85
2017-07-26 05:57:09 +08:00
Erik Olof Gunnar Andersson 5de128d2ef Replace SortedDict with OrderedDict
Starting with Django 1.9 SortedDict has been removed completely,
and this is currently blocking the gate.

This patch replaces SortedDict with the python native OrderedDict.

Closes-Bug: #1696072
Change-Id: I2206fe5807e578b80cc5bf5c38d2556c2adad0b9
2017-06-06 01:05:23 -07:00
Jenkins 8f1df3fcb8 Merge "Fix list_loadbalancers function" 2016-10-13 22:44:49 +00:00
coco-Gao fe611fbd93 Fix list_loadbalancers function
The list_loadbalancers function before modified use local variables
out of scope, to fix it, use list object to contain all the local
variables.

Change-Id: Ibed32c2b3d26e3165fb0c7eb038a4fda3ebffad7
Closes-Bug: #1606656
2016-08-11 11:14:22 +08:00
Matt Borland aba14a4ccd LBaaS dashboard resepects OPENSTACK_SSL settings
Currently when creating a session, the LBaaS dashboard API doesn't respect
OPENSTACK_SSL_NO_VERIFY and OPENSTACK_SSL_CACERT.  This patch directly
addresses that by checking those values, then applying the appropriate logic
for passing into the 'verify' parameter when creating a Session.

Change-Id: Ie452b32353e1430127994644725723ec917602d0
Closes-Bug: 1609843
2016-08-04 15:02:26 +00:00
Matt Borland 8369ddde7a Make Barbican client respect OPENSTACK_ENDPOINT_TYPE
See bug for details; this uses base.py's get_url() function to fetch
the appropriate URL.  Also sets the region.

Change-Id: I9f642965eaf6b0213017c8d536e143db62399311
Closes-Bug: 1593329
2016-06-16 10:49:28 -06:00
Lucas Palm 06ed719b69 Add the Angular LBaaS V2 'Update Member List' Table Action
This change adds the Update Member list table action to the pool members
table.  This wizard allows you to Add or Remove members from the current list
of members associated with a particular pool.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I640fdf2597e4a16191dbce8c20450c7c0dc882f0
2016-03-10 14:59:08 +00:00
Justin Pomeroy 350dc2aff5 Add action for updating pool member weight
This adds the actions for updating the pool member weight to the
members table and the member detail page.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Ia37282c675d0799c6647ed0af39168f2ce006fc8
2016-03-09 16:51:32 +00:00
Justin Pomeroy 051b3cbd1e Add edit health monitor action
This adds the action to update a health monitor.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I017c7adc885a02420e47b0dfff7c314054f189b0
2016-03-09 16:50:32 +00:00
Justin Pomeroy 9e9c74d8cc Add create health monitor action
This adds the Create Health Monitor action to the LBaaS v2 pool
details page.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Ie4312bdb0a29b069011b6babe702f3b7699c0aa1
2016-03-09 16:49:10 +00:00
Justin Pomeroy 05f1bf8fd6 Add health monitor delete action
Adds the delete action to the health monitor details page.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Id97db3daa284a6628bd67e8019ac9782f877290a
2016-03-07 21:37:21 -06:00
Lucas Palm 7616e4073d Add the Angular LBaaS V2 'Edit Pool' Workflow
This change adds the Edit Pool workflow action to the pool
detail page.  This wizard allows you to edit an existing
pool resource, which includes the pool details itself, as
well as the pool members and health monitor under it.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I6d26c30ec88f79a4a7af4508419e79fe2da6dd43
2016-03-07 21:37:21 -06:00
Lucas Palm d43b71b443 Add the Angular LBaaS V2 'Create Pool' workflow
This change adds the Create Pool workflow action to the
listeners table and the listeners detail page.  This wizard
allows you to create a new pool, as well as any of the pool's
child resources, including members and a health monitor.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I934921f207373311b8b65f2ba34546238e961ac9
2016-03-07 21:37:21 -06:00
Justin Pomeroy a7f1b762ed Add pool delete action
Adds the pool delete action to the pool details page.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Ic3ffa9eca363ce73b20841775c3dce1612fafb07
2016-03-07 21:37:21 -06:00
Justin Pomeroy d3c75ce034 Add listener delete actions
Adds the single and multiple delete actions for listeners.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I3a05319e4858e1c903b54c46831c1e323e585c61
2016-03-07 19:21:21 +00:00
Lucas Palm af63722e3a Add the Angular LBaaS V2 'Create Listener' workflow
This change adds the Create Listener workflow action to
the listeners table on the load balancer detail page.  This wizard
allows you to crete a new listener, as well as any resource below
it in the hierarchy.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I40488eac6c116e363071fb82ba3473a8b0430ed9
2016-03-07 12:18:24 -06:00
Justin Pomeroy 51661642c0 Add associate and disassociate floating IP actions
This adds the load balancer actions for associating and
disassociating a floating IP address.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Ie62cbaa6e4e6664a4d266f01557386d6d40cc2b1
2016-03-01 18:12:03 -06:00
Jenkins 988bd51b2e Merge "Add delete load balancer actions" 2016-03-01 23:44:11 +00:00
Justin Pomeroy 8c7979fa3e Add delete load balancer actions
This adds the single and multiple load balancer delete actions. A
load balancer must be in ACTIVE or ERROR state in order for the
delete action to be available. If a load balancer has a listener the
delete request will currently fail, but future work should allow for
the listener and any related resources to also be deleted.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I3902587089963318c49a969f343e5043d8bdaf50
2016-03-01 13:23:54 -06:00
Justin Pomeroy c3ec347a54 Add support for TERMINATED_HTTPS protocol
This adds support for the TERMINATED_HTTPS listener protocol when
creating a new listener. When this option is selected the SSL
Certificates tab is displayed after the Listener Details tab and
allows selecting one or more available certificates. The user must
have barbican available and authority to list certificates and
secrets. Certificate containers must be created in barbican before
they will be available when creating a listener.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Ia9312fa865d85ca977c1daea347d97bd69e9c5ba
2016-03-01 10:46:57 -06:00
Lucas Palm 9a88246fe6 Add the angular LBaaS V2 Edit Action for Listeners
This change implements the edit row action service for the listeners
table.  The edit action of a listener includes the ability to not
only edit the listener itself, but all resources underneath it in the
load balancer hierarchy.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I5fcb20eecbee580f9db5c71da5a2ec84a6f359f9
2016-03-01 08:00:58 -06:00
Lucas Palm cbf51dff4e Add the angular LBaaS V2 health monitor detail page
This change implements the health monitor detail page that shows the details
for a specific health monitor that exists within a particular pool.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I73aad299e22d352b20e74356db96ad7f49e709ca
2016-02-05 20:40:21 +00:00
Lucas Palm 7b90156da1 Add the angular LBaaS V2 members table and detail pages
This change implements the members table under the 'Members' tab on the pools
detail page that shows all of the members that belong to that particular pool.
It also adds the member detail page which includes the details for a specific
member in the pool.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I879c840d174630c697375c5ce7649b01303aeb00
2016-02-05 14:54:00 +00:00
Lucas Palm 964d845e21 Add the angular LBaaS V2 pools detail page
This change implements the details page for the default pool
that is associated with a particular load balancer listener
resource.  It also adds the tab for the pool members table that
will be added in a later patch.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I0c7ef2f5d37363f9753ffbd35deeaf1f2e19ed7d
2016-02-03 15:41:05 -06:00
Lucas Palm 9a642ea1e1 Add angular LBaaS V2 Listeners table and detail pages
This change introduces the missing listeners table under the 'Listeners'
tab on the load balancer details page.  It also adds the listeners detail
page which includes the details for a specific listener.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I948497d7da5417d12078695d7c44d966432409a5
2016-01-29 15:33:15 -06:00
Justin Pomeroy 3c48addc20 Add support for editing a load balancer
This adds the row action to the load balancers table to allow
editing the load balancer.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I20b2d4171f2dc06da903036cfb5918986b5f907b
2016-01-28 13:48:17 -06:00
Justin Pomeroy 729c223f77 Add monitor tab to create load balancer workflow
This adds the monitor tab to the create load balancer workflow and
allows adding a monitor to the pool.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I23ee916f283b2b3f782327f16ca1624a98568cb0
2016-01-27 21:16:54 +00:00
Justin Pomeroy 6c4828d8f6 Add members tab to create load balancer workflow
This adds the members tab to the create load balancer workflow and
allows adding multiple members (nova servers) to the pool.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I469dd9ff4d9aef9b91316699d1edec278957f091
2016-01-26 22:14:34 +00:00
Justin Pomeroy 32166ee5a8 Add listener and pool to create load balancer workflow
This adds Listener Details and Pool Details tabs to the workflow for
creating a new load balancer

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Id6462ddae34e53ef46d1034068ab02ebc2094bd3
2016-01-22 14:09:37 -06:00
Justin Pomeroy f344259472 Add initial workflow for creating load balancer
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
2016-01-14 19:58:25 -06:00
Justin Pomeroy 3d99fc5544 Add routing and load balancer detail page
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
2015-11-30 14:55:26 +00:00
Justin Pomeroy 75fc881f7f Add angular Load Balancers V2 panel
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
2015-11-12 15:38:21 +00:00
Vivek Jain 2d5f4a29ae Initial commit for horizon lbaas v2 dashboard
Co-Authored-By: Milan Tonse <milantonse@gmail.com>
Co-Authored-By: Eric Peterson <eric.peterson1@twcable.com>
Co-Authored-By: Vivek Jain <v.jain007@gmail.com>

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I8a9af14aa13fe928541c299862f1231bab3a7437
2015-10-01 20:43:52 +00:00