horizon/openstack_dashboard/dashboards/admin
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
..
aggregates Do not call handle() when AZ is required 2019-05-28 08:56:46 +08:00
defaults Add server groups and server group members quota management in Horizon 2018-05-06 00:33:41 +08:00
flavors add the max_value to field in create flavor form 2019-03-01 16:09:34 +08:00
floating_ips pylint: Fix consider-using-(dict|set)-comprehension 2019-01-13 00:59:05 +09:00
group_types Fix: Help text for creating group type has incorrect description 2019-03-20 16:38:54 +00:00
hypervisors Fix W503 warnings 2018-04-11 18:13:47 +09:00
images pylint: Fix consider-using-(dict|set)-comprehension 2019-01-13 00:59:05 +09:00
info pylint: fix len-as-condition warning 2019-01-16 12:56:20 +09:00
instances pylint: Fix consider-using-(dict|set)-comprehension 2019-01-13 00:59:05 +09:00
metadata_defs Merge "pylint: fix useless-super-delegation warning" 2019-01-16 14:25:24 +00:00
networks Modify the prompt of update network 2019-02-13 09:44:09 +08:00
ngflavors Rework hardcoded policy in admin dash 2016-11-18 15:42:16 -07:00
overview Convert admin.overview tests into mock 2018-05-14 00:20:25 +00:00
rbac_policies Merge "Improve RBAC policies panel" 2019-01-14 17:36:14 +00:00
routers Add "Create Router" button to admin panel 2018-11-05 09:10:08 +09:00
snapshots Add Group and Group Snapshot colunm 2019-03-18 08:22:59 +00:00
trunks Fix W503 warnings 2018-04-11 18:13:47 +09:00
vg_snapshots Add Project Information column in group-snapshot table 2019-03-05 12:19:45 +00:00
volume_groups Fix recoverable error at volume group create 2019-02-23 19:18:27 +09:00
volume_types Add Validation msg in Create Extra Spec Form under Volume Type Panel 2019-03-19 12:44:47 +00:00
volumes Add Group and Group Snapshot colunm 2019-03-18 08:22:59 +00:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
dashboard.py Fix policy function check error 2019-03-01 14:21:07 -07:00