]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
(#15556) Support for ICMP6 type code resolutions
authorDan Carley <dan.carley@gmail.com>
Fri, 6 Jul 2012 07:22:32 +0000 (08:22 +0100)
committerDan Carley <dan.carley@gmail.com>
Tue, 17 Jul 2012 09:15:17 +0000 (10:15 +0100)
commit924a8250ced6a7bf2fb8625f8e4d9a707be5076f
tree5a2fa11bf2665fa84eeee098b575d209125c4ff5
parent9a127ea55101d6c836ac1e8c5331d706c1d1fd59
(#15556) Support for ICMP6 type code resolutions

Add support for IPv6 ICMP code types as strings, which differ in mapping
from IPv4. A subset of the currently supported strings for IPv4 are
supported where applicable to the IPv6 specification.

Currently the only way of determining the protocol family is by whether the
provider is :iptables or :ip6tables. This can be changed within the type in
the future.
lib/puppet/type/firewall.rb
lib/puppet/util/firewall.rb
spec/unit/puppet/type/firewall_spec.rb
spec/unit/puppet/util/firewall_spec.rb