commit 5264ab966d3db7b1cb698190872cbe6feaf48464
Author: Nam Nguyen Hoai <email address hidden>
Date: Fri Aug 5 09:46:43 2016 +0700
Using revision_number to ensure no overlap in *one* network
This patch uses revision_number in database. When creating
a subnet in a network, the revision_number of the network
will be increased. That will prevent overlapping CIDR
(overlapping CIDR means some subnets' cidrs are overlapping)
on *one* network.
Basically, in case of concurrent requests creating subnets
on *one* network, only one request successes, other requests
needs retrying request.
Reviewed: https:/ /review. openstack. org/350953 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5264ab966d3 db7b1cb69819087 2cbe6feaf48464
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5264ab966d3db7b 1cb698190872cbe 6feaf48464
Author: Nam Nguyen Hoai <email address hidden>
Date: Fri Aug 5 09:46:43 2016 +0700
Using revision_number to ensure no overlap in *one* network
This patch uses revision_number in database. When creating
a subnet in a network, the revision_number of the network
will be increased. That will prevent overlapping CIDR
(overlapping CIDR means some subnets' cidrs are overlapping)
on *one* network.
Basically, in case of concurrent requests creating subnets
on *one* network, only one request successes, other requests
needs retrying request.
Change-Id: Id6548535075bed 87a4b36e1462db5 46ab9163f29
Closes-Bug: #1532695