← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1634330] Re: add verification when narrowing allocation pool

 

** Changed in: neutron
       Status: In Progress => Opinion

** Tags added: rfe

** Summary changed:

- add verification when narrowing allocation pool
+ [RFE]add verification when narrowing allocation pool

** Summary changed:

- [RFE]add verification when narrowing allocation pool
+ [RFE] add verification when narrowing allocation pool

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1634330

Title:
  [RFE] add verification when narrowing allocation pool

Status in neutron:
  Opinion

Bug description:
  problem

  the step to describe the proble:
  1.before ,we create a network and subnet(which the cidr is 192.168.10.0/24)
  and the allocation pool is 192.168.10.2,192.168.10.254.
  2.we create some virtual machines ,which the ips are 192.168.10.2,192.168.10.3 and so on.(disable dhcp service)
  3.Now we want to narrow the allocation pool,changing to 192.168.10.10,192.168.10.50.
  we update the subnet ,this operation can succed.
  4.But ,like the ip(192.168.10.2,192.168.10.3) belong to the vms ,how to deal with them?
  the ip of vm is not in the new allocation pool ,but it's correlated wit that subnet
  5.we wish to add verifications taking the ips of vm into account,
  when narrowing the allocation pool

  solution
  The ipaddress of vm in ipallocation must belong to a ipallocationpools when narrowing the range of allocation pool.
  we get the ipallocation from db
  verify the allocation poll with the vm ips
  if not ,raise IPAllocationNotInAllocationPools

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1634330/+subscriptions


References