horizon/openstack_dashboard
Akihiro Motoki 9d73ebee7a Fix listing security groups when no rules
When listing security groups in the dashboard and
one or more security groups had no rules it failed
because python throws a KeyError.

This commit changes the neutron API wrapper in horizon
to ensure ensure rule information in SG always exists.

Closes-Bug: #1840465
Co-Authored-By: Tobias Urdin <tobias.urdin@binero.se>
Change-Id: I6e05a7dc6b6655514ee2bff6bd327da86f13900a
(cherry picked from commit cdb191ec83)
(cherry picked from commit 205c4465cd)
2019-10-03 21:09:16 +01:00
..
api Fix listing security groups when no rules 2019-10-03 21:09:16 +01:00
conf Sync nova policy 2018-02-05 05:57:02 +09:00
contrib i18n: Do not include html directives in translation strings 2018-01-31 22:31:53 +09:00
dashboards Allow creating ICMPV6 rules 2019-09-27 19:58:10 +00:00
django_pyscss_fix Handle log message interpolation by the logger 2017-03-31 20:59:16 +09:00
enabled Trunks panel: admin panel 2018-01-29 20:24:05 +01:00
local Add Change Password Action for Angular users panel 2018-01-16 18:15:19 +09:00
locale Imported Translations from Zanata 2019-03-29 08:00:38 +00:00
management extract_messages, update_catalog: Simplify help message 2017-08-29 12:35:30 +00:00
static Fix image description field 2019-07-08 03:35:03 +00:00
templates Fix back button on Firefox and Safari 2018-01-30 15:34:59 +04:00
templatetags Added SELECTABLE_THEMES setting 2017-07-26 11:52:35 +01:00
test Fix listing security groups when no rules 2019-10-03 21:09:16 +01:00
themes Drop unnecessary executable flags 2017-12-27 21:32:48 +00:00
usage Merge "usage: split out the limit related logic into ProjectUsageView" 2018-01-25 21:25:24 +00:00
utils Fix collectstatic in case of theme customization 2018-02-11 20:26:42 +00:00
wsgi Add django.wsgi to target of pep8 2017-11-17 07:16:55 +00:00
.eslintrc Add selective ESLint rule activation for Horizon Legacy JS 2015-07-08 17:06:15 -07:00
__init__.py
context_processors.py Fix wrong setting name for SHOW_KEYSTONE_V2_RC 2018-04-20 04:23:37 +00:00
exceptions.py Drop Heat related code from horizon 2017-12-05 07:38:55 +00:00
hooks.py
karma.conf.js Makes the xstatic files lookup dynamic in the tests 2017-07-27 10:01:33 -04:00
policy.py Specify POLICY_CHECK_FUNCTION as a string 2016-11-25 13:06:14 +01:00
settings.py Fix django.contrib.auth.middleware monkey patching 2018-11-20 23:29:58 +09:00
theme_settings.py Added SELECTABLE_THEMES setting 2017-07-26 11:52:35 +01:00
urls.py Fix Angular errors in openstack_auth 2018-03-17 18:40:50 +09:00
views.py Horizon UI message when browser cookies disabled 2018-01-29 07:58:41 +00:00