When creating security group rules, any case for the protocol was
accepted as input, such as TCP, Tcp, tcp, etc., and was stored in the
database as specified. However, unless specified as all lowercase, the
code to apply the rules would break and result in some rules not being
applied.
(cherry picked from commit ff06c7c885dc94ed7c828e8cdbb8b5d850a7e654)
Reviewed: https:/ /review. openstack. org/8238 github. com/openstack/ nova/commit/ 9f9e9da77716142 6a6f8cb4314b78e 09beac2978
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit 9f9e9da77716142 6a6f8cb4314b78e 09beac2978
Author: Vishvananda Ishaya <email address hidden>
Date: Wed Jun 6 13:25:04 2012 -0400
Fix up protocol case handling for security groups.
Fix bug 985184.
When creating security group rules, any case for the protocol was
accepted as input, such as TCP, Tcp, tcp, etc., and was stored in the
database as specified. However, unless specified as all lowercase, the
code to apply the rules would break and result in some rules not being
applied.
(cherry picked from commit ff06c7c885dc94e d7c828e8cdbb8b5 d850a7e654)
Change-Id: If737104f492aac d3688f04d78eb9b c993ffa33fc