ICMPv6 is not an available protocol when creating firewall rule
When creating IPv6 firewall rule, the network protocol that can be
selected is ICMP TCP UDP or null.
But in fact, ICMPv6 is the message control protocol we actually need
for the firewall rule whose ip-version = 6.
This patch fixes this bug with the following logic:
When creating firewall rule whose "ip-version = 6, protocol = ipv6-icmp"
, we should consider that the "icmp" refers to "ipv6-icmp".
Reviewed: https:/ /review. openstack. org/618388 /git.openstack. org/cgit/ openstack/ neutron- fwaas/commit/ ?id=fa48d16d694 269b6b4245b9045 4448f8e9895ed8
Committed: https:/
Submitter: Zuul
Branch: master
commit fa48d16d694269b 6b4245b90454448 f8e9895ed8
Author: quyue <email address hidden>
Date: Fri Nov 16 10:35:04 2018 +0800
ICMPv6 is not an available protocol when creating firewall rule
When creating IPv6 firewall rule, the network protocol that can be
selected is ICMP TCP UDP or null.
But in fact, ICMPv6 is the message control protocol we actually need
for the firewall rule whose ip-version = 6.
This patch fixes this bug with the following logic:
When creating firewall rule whose "ip-version = 6, protocol = ipv6-icmp"
, we should consider that the "icmp" refers to "ipv6-icmp".
Closes-Bug: #1799904 0fa4c7ddb12db92 0300edd521b
Change-Id: I27cff5ba9986f3