horizon/openstack_dashboard/dashboards
Radomir Dopieralski bc2edc2e0c 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)
(cherry picked from commit 7a5ed4b688)
2019-09-27 19:58:10 +00:00
..
admin Add reserved status key word to horizon 2018-06-05 05:25:17 +00:00
identity Fix pep8 errors 2018-04-11 19:37:27 +03:00
project Allow creating ICMPV6 rules 2019-09-27 19:58:10 +00:00
settings Don't use check_for_language in the user settings form 2019-03-07 08:57:26 +00:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00