Don't drop 'protocol' from client supplied security_group_rule dict
If protocol was present in the dict, but was None, then it was never
re-instantiated after being popped out of the dict. This later resulted
in KeyError when trying to access the key on the dict.
Change-Id: I4985e7b54117bee3241d7365cb438197a09b9b86
Closes-Bug: #1566327
(cherry picked from commit 5a41caa47a080fdbc1801e2771163734b9790c57)
Reviewed: https:/ /review. openstack. org/302126 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=3a922a2dfec 67d21756d14f3e7 463aa8ef2b6148
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 3a922a2dfec67d2 1756d14f3e7463a a8ef2b6148
Author: Ihar Hrachyshka <email address hidden>
Date: Tue Apr 5 16:56:16 2016 +0200
Don't drop 'protocol' from client supplied security_group_rule dict
If protocol was present in the dict, but was None, then it was never
re-instantiated after being popped out of the dict. This later resulted
in KeyError when trying to access the key on the dict.
Change-Id: I4985e7b54117be e3241d7365cb438 197a09b9b86 bc1801e27711637 34b9790c57)
Closes-Bug: #1566327
(cherry picked from commit 5a41caa47a080fd