_validate_subnet_service_types function does not consider the
data type of service_type on creatation or update. For example,
if an integer type is passed, the neutron-server will hit
internal error.
This patch adds a check to make sure the data type is unicode.
Reviewed: https:/ /review. openstack. org/386086 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=a594df67a73 a73dc6d26b62b29 aa93dfb5f8d00c
Committed: https:/
Submitter: Jenkins
Branch: master
commit a594df67a73a73d c6d26b62b29aa93 dfb5f8d00c
Author: ZhaoBo <email address hidden>
Date: Fri Oct 14 00:52:27 2016 +0800
Catch invalid subnet service_types on input
_validate_ subnet_ service_ types function does not consider the
data type of service_type on creatation or update. For example,
if an integer type is passed, the neutron-server will hit
internal error.
This patch adds a check to make sure the data type is unicode.
Change-Id: I5e6d15def3e23f 51172b69e1287ff 18ab5d3f6aa
Closes-Bug: #1633066