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/8239 github. com/openstack/ nova/commit/ 2ecbf5cc0042f5a 9378678811fde00 7603b1ee45
Committed: http://
Submitter: Jenkins
Branch: stable/diablo
commit 2ecbf5cc0042f5a 9378678811fde00 7603b1ee45
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)
Also includes backport of thix fix: /review. openstack. org/#/c/ 8392
https:/
Change-Id: I36af1db29c2bd9 7627d614df21b5d a07db29a8ab