Commit Graph

61 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
wangying d50dc1eeda Display error when entering a non-integer
Change-Id: If4b8d09b61f83a8f6dd8193e5780a3435f5e5fe1
Closes-Bug #1806007
Story: 2004547
Task: 28300
2019-02-20 21:53:09 +00:00
Akihiro Motoki 6494132104 i18n: Do not include html directives in translation strings
It is important not to include html directives in translation targets
to avoid unnecessary errors when selecting translated languages.

This is the neutron-lbaas-dashboard version of
https://review.openstack.org/#/c/537301/

Change-Id: I492201195d5b0e18c8c33f29ae4326cd254e07e2
2018-01-26 17:11:34 +09:00
Justin Pomeroy cd74d86dac Add loading and error status to detail pages
This adds a loading indicator to detail pages and makes sure that the
page content is not displayed until fully loaded. This prevents the
pages from displaying with partial content and having the updated
values pop in. It also adds an error indicator with a message when
there is an error loading the page. The page content will not display
if there is an error. This prevents the user from seeing the page in
an error state with missing information and broken links.

Change-Id: If26553b0650f38b92e9624baa73e531714baeef3
Closes-Bug: #1561102
2017-07-26 06:39:25 +08: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 f64018cd57 Fix npm test
Change-Id: Ie0042a31ce959915714153e53cb088be006ba2c1
2017-06-20 21:46:01 +08:00
qiaomin 2761637795 Update for ui bootstrap changes
Change-Id: I329ae0fb6c8e6f0d97866c63e53486a0a08ae084
2017-01-10 14:55:31 +08:00
Jenkins 7597e0a10e Merge "Indicate table loading, error, and empty states" 2016-10-04 00:11:14 +00:00
Jenkins 463b1907c4 Merge "Update load balancer wizard help" 2016-10-04 00:11:08 +00:00
Jenkins 8a011f9641 Merge "Subnet dropdown list has empty fields" 2016-09-30 18:11:55 +00:00
Diana Whitten b6d95570e2 Subnet dropdown list has empty fields
If subnet's name is '', then it falls back to the id value.

Change-Id: I30b31711f08407ec970d6258b314a8b44a5015af
2016-08-18 08:59:59 -07:00
Justin Pomeroy 7cb00ce083 Update load balancer wizard help
This updates the help information displayed in the help panels of the
load balancer wizard.

Closes-Bug: #1563413
Change-Id: I5f0d939ca27cf0f47825b4ae6d518172181da83b
2016-05-10 03:21:33 +00:00
Lucas Palm 52bf766c60 Improve the technique for generating default resource names
This change improves the way that default names are generated when creating
a new loadbalancer or listener resource.  Currently, it is possible that a
name such as 'Load Balancer 1' is generated as a default name suggestion,
even when there already exists one or more load balancers.  The suggested
default name in these create wizards should be a little smarter and at
least offer a suggested name that makes sense with respect to the number
of loadbalancers that already exist.

Closes-Bug: #1563046
Change-Id: I2a2fe5849b3f8d67efcd693a178f7466af7aef0a
2016-03-29 13:56:02 -05:00
Justin Pomeroy 19fdae7029 Indicate table loading, error, and empty states
This adds a loading indicator to the tables so the user can see when
items are being loaded or there was an error loading the items. It
also adds the "No items to display" message if there are no items.

Closes-Bug: #1560541
Change-Id: I3f53e22e2899a562962d4a14734b23ad4f18ae29
2016-03-23 14:04:53 +00:00
Lucas Palm 90ad774200 Do not allow deleting a listener that has a default pool
This change adds checks to the listener delete service to not allow deleting
a listener that currently has a default pool associated with it.  In the case
of the Delete batch action, an error message is displayed, while the delete
row action is simply just not displayed/available if a pool exists.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Iddee0a5cee5ebbead9438a2add8ebcf57f69d348
2016-03-10 14:53:56 -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 1240c01a84 Reload route after performing actions
This removes any special handler functions being used by some tables
and detail pages to refresh the data after performing an action and
just reloads the angular route instead. It's simpler and consistent.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I6b696f51cf709e11bd027f8a10038874479c51db
2016-03-09 22:57:07 +00:00
Justin Pomeroy e208757a24 Add trailing slash to all URLs calling the REST API
All the REST API URLs are registered with a trailing slash and if
you don't add the slash when calling the URL you get redirected.
This makes sure all URLs calling the API have the trailing slash.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I8a4caeba9a8e1a8f3eebbe85b5d0d950ee4bcca0
2016-03-09 16:51:34 -06: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
Jenkins 48ae48f04f Merge "Handle missing key-manager service in workflow" 2016-03-07 23:04:26 +00:00
Justin Pomeroy f44671ca0e Handle missing key-manager service in workflow
This updates the LBaaS v2 workflow so that it does not trip over
itself if the key-manager service is not available. It will also
ignore servers (available members) that are in a state where they
do not have any IP addresses.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Ia3373653f651e273d021ffedf9c2909810e9ecb9
2016-03-07 21:40:41 +00: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 73f1e37304 Update styles to match latest horizon
This makes many small changes to the wizard, tables, form fields
and detail pages to match changes in base horizon.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Id24ed0c6726d13756c5aefebb4b43c27613322c2
2016-03-07 09:52:19 -06:00
Jenkins d3f799b711 Merge "Make workflow enforce all required fields" 2016-03-02 15:41:16 +00:00
Jenkins 5e53423abb Merge "Clean up create load balancer workflow" 2016-03-02 15:41:09 +00: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 b19efdeef3 Make workflow enforce all required fields
This makes the load balancer workflow force all required fields to
be valid before allowing the user to submit. This means that when
creating a new load balancer a listener, pool, and health monitor
are also required.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I7f48c691c653ea8d94f99367730b0771c7ce4485
2016-03-01 10:54:54 -06:00
Justin Pomeroy 1b7b60ddb5 Clean up create load balancer workflow
There were a few problems identified with the create load balancer
workflow and this patch corrects them. It sets a default port when
selecting a listener protocol, updates the allowed health monitor
status codes, removes the pool member description since an
instance does not have a description, removes the HTTPS options for
listener and health monitor protocols, and removes the pool protocol
selection since this can be determined by the listener protocol.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Ica296495b02689bc8616a52dfd709dc323e9bf45
2016-03-01 10:51:57 -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
Jenkins d424350bfa Merge "Add general load balancer service" 2016-03-01 03:47:19 +00:00
Justin Pomeroy b253ddb2f6 Remove page header from pages on tabs
This removes the hz-page-header directive from pages that are
displayed on tabs on detail pages.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I5e272378c4b3e4740d81cdee7ddabafd8a4688ac
2016-02-24 18:51:12 -06:00
Justin Pomeroy 68d0cde4f6 Use the horizon limit filter for connection limit
The limit filter is now merged in horizon so the connection limit
filter used for listeners can be replaced.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: Idb29009bfa966a8698e6f6e7ccad3256314d6411
2016-02-20 09:47:37 -06:00
Justin Pomeroy 3d733f2605 Add general load balancer service
This adds the load balancer service and moves the status mappings
into the service. The horizon decode filter is then used instead of
the custom filters. This service also includes the isActive method
for checking if a given load balancer is active.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I2cb817c15d838715ce2d99a8f2df6a7d716d6395
2016-02-20 00:47:36 +00:00
Justin Pomeroy 900d73820e Update URL routing
This updates the URL routing so URLs include all IDs of the resource
hierarchy. This makes it much easier to create links in pages and to
obtain the information for parent resources.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I6cdfb5446362e854da6a18eb16420d9121329ab9
2016-02-11 11:00:52 -06:00
Jenkins 5004fde680 Merge "Support external members when creating load balancer" 2016-02-10 21:06:08 +00:00
Justin Pomeroy c3d7b527d8 Support external members when creating load balancer
This allows adding external members when creating a load balancer
pool.

Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: If32838acfc9f51de4dd90ce6f293fe9b4a541638
2016-02-10 01:20:45 +00: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