In create/update_subnet(), IP address fields (cidr, gateway_ip, host_routes,
dns_nameserver) should be checked whether they are consistent with IP version
specified. IP version check for allocation_pools is already implemented,
so this commit adds IP version checks for other IP fields.
Reviewed: https:/ /review. openstack. org/12565 github. com/openstack/ quantum/ commit/ 3d1608de0da3e19 4735edf058d524d 31b507b2a6
Committed: http://
Submitter: Jenkins
Branch: master
commit 3d1608de0da3e19 4735edf058d524d 31b507b2a6
Author: Akihiro MOTOKI <email address hidden>
Date: Fri Sep 7 19:31:10 2012 +0900
Add IP version check for IP address fields.
Fixes bug 1046952
In create/ update_ subnet( ), IP address fields (cidr, gateway_ip, host_routes,
dns_nameserver) should be checked whether they are consistent with IP version
specified. IP version check for allocation_pools is already implemented,
so this commit adds IP version checks for other IP fields.
Change-Id: Ic02f5a1fd8ec4c 1c363599c906ba0 c818dd22268