Currently, the default IP version for a subnet-create is IPv4.
This behavior is wrong when we use a IPv6 subnetpool and
do not specify the ip version explicitly during the subnet
create operation.
This fix proposes to make the neutron client code for subnet
creation become aware of the subnetpool version. This ensures
that the proper IP version is sent down to the neutron server
if the subnet create is requested with a subnetpool.
Reviewed: https:/ /review. openstack. org/194078 /git.openstack. org/cgit/ openstack/ python- neutronclient/ commit/ ?id=043656c8f89 45b5c236bbd30b4 60f94e05a5a59d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 043656c8f8945b5 c236bbd30b460f9 4e05a5a59d
Author: Sudipta Biswas <email address hidden>
Date: Sat Jul 4 15:56:59 2015 +0900
Determine ip version during subnet create.
Currently, the default IP version for a subnet-create is IPv4.
This behavior is wrong when we use a IPv6 subnetpool and
do not specify the ip version explicitly during the subnet
create operation.
This fix proposes to make the neutron client code for subnet
creation become aware of the subnetpool version. This ensures
that the proper IP version is sent down to the neutron server
if the subnet create is requested with a subnetpool.
Co-Authored-By: Akihiro Motoki <email address hidden>
Change-Id: I13da0f204e8ce3 35a2082c7d829be e28ac567c3f
Closes-bug: 1444146