horizon/openstack_dashboard/dashboards/admin/aggregates
pengyuesheng a040c02a91 Do not call handle() when AZ is required
On "Edit Host Aggregation" form under Host Aggregates panel,
if the availability zone is cleared, both the error message and
the success message will appear.

In the aggregate API, nova does not allow to clear AZ once
it is set. This commit moves the check for availability_zone field
to the form definition. handle() method is now never called for
such case and the error message will be shown around the field.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I74e03a47cee6915e9c24c6cf5c3264bf8b0e39b8
Closes-Bug: #1822971
2019-05-28 08:56:46 +08:00
..
templates/aggregates Branding: Workflow cancel btn should be themable 2016-03-14 12:48:11 -07:00
__init__.py Host aggregates panel. 2014-03-04 15:25:32 +00:00
constants.py Angularize metadata update modals 2015-08-25 13:29:03 +00:00
forms.py Do not call handle() when AZ is required 2019-05-28 08:56:46 +08:00
panel.py Rework hardcoded policy in admin dash 2016-11-18 15:42:16 -07:00
tables.py Change image_id to aggregate_id 2019-02-21 10:02:23 +08:00
tests.py Do not call handle() when AZ is required 2019-05-28 08:56:46 +08:00
urls.py Update URLs to Django 1.8+ style 2016-03-28 11:03:08 +01:00
views.py django2: Replace django.core.urlresolves with django.urls 2018-02-17 01:36:48 +09:00
workflows.py Use nova os-services to retrieve host list 2018-02-01 12:19:56 +00:00