horizon/openstack_dashboard/dashboards/project/security_groups
Radomir Dopieralski 7a5ed4b688 Allow creating ICMPV6 rules
Right now, even if we specify a ::/0 (or other IPv6) CIDR in an
ICMP rule, Horizon sets 'icmp' as the ip_protocol of that rule but
neutron expects 'ipv6-icmp' which is the right ip_protocol for ICMPv6.
This results in that rule never matching anything.

This change makes Horizon set the ip_protocol to ipv6-icmp when
the CIDR is an IPv6 one, and icmp when it's IPv4.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I1f68e1e5a3e073e38ac258de5ed9c43f8acb04e9
Closes-Bug: #1652619
(cherry picked from commit d5dcf1be93)
2019-08-26 21:17:35 +00:00
..
templates/security_groups Drop Nova security group dependency from dashboard 2017-04-28 08:28:41 +00:00
__init__.py Move Security Groups into its own panel 2017-02-02 13:19:21 +11:00
forms.py Allow creating ICMPV6 rules 2019-08-26 21:17:35 +00:00
panel.py flake8-import-order: Ensure to place project imports last 2017-09-20 01:19:38 +00:00
tables.py Merge "Fix W503 warnings" 2018-04-24 09:48:08 +00:00
tests.py A description can now be added to a security rule 2018-04-10 00:48:30 +09:00
urls.py flake8-import-order: Ensure to place project imports last 2017-09-20 01:19:38 +00:00
views.py django2: Replace django.core.urlresolves with django.urls 2018-02-17 01:36:48 +09:00