← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1420700] Re: Neutron is accepting same cidr for different subnet creations

 

** Project changed: nova => neutron

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

Title:
  Neutron is accepting same cidr for different subnet creations

Status in OpenStack Neutron (virtual network service):
  New
Status in OpenStack Security Advisories:
  Won't Fix

Bug description:
  The following are the subnets that i have already exists in my setup.

  +--------------------------------------+-------------------+------------------+------------------------------------------------------+
  | id                                   | name              | cidr             | allocation_pools                                     |
  +--------------------------------------+-------------------+------------------+------------------------------------------------------+
  | 007ac6ad-7f9a-4f1d-954e-7a0db1db8bef | oldsubnetpricate  | 10.0.0.0/24      | {"start": "10.0.0.2", "end": "10.0.0.254"}           |
  | 84b8435f-3a95-43ef-abd8-de10b3456f43 | oldsubnetprivate  | 11.0.0.0/24      | {"start": "11.0.0.2", "end": "11.0.0.254"}           |
  | c584e25a-d2b4-4d48-ada4-7baeaa4788ff | newsubnetpricate  | 12.0.0.0/24      | {"start": "12.0.0.2", "end": "12.0.0.254"}           |
  +--------------------------------------+-------------------+------------------+------------------------------------------------------+

  Here again i am trying to create a new subnet with same
  cidr(11.0.0.0/24)

  $ neutron net-create dummy

  $ neutron subnet-create dummy --name newsubnetprivate 11.0.0.0/24
  +--------------------------------------+-------------------+------------------+------------------------------------------------------+
  | id                                   | name              | cidr             | allocation_pools                                     |
  +--------------------------------------+-------------------+------------------+------------------------------------------------------+
  | 007ac6ad-7f9a-4f1d-954e-7a0db1db8bef | oldsubnetpricate  | 10.0.0.0/24      | {"start": "10.0.0.2", "end": "10.0.0.254"}           |
  | 84b8435f-3a95-43ef-abd8-de10b3456f43 | oldsubnetprivate  | 11.0.0.0/24      | {"start": "11.0.0.2", "end": "11.0.0.254"}           |
  | 9319e880-2f9e-4493-88c9-8c81886ca4b3 | newsunetprivate   | 11.0.0.0/24      | {"start": "11.0.0.2", "end": "11.0.0.254"}           |
  | c584e25a-d2b4-4d48-ada4-7baeaa4788ff | newsubnetpricate  | 12.0.0.0/24      | {"start": "12.0.0.2", "end": "12.0.0.254"}           |
  +--------------------------------------+-------------------+------------------+------------------------------------------------------+

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