← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1483099] Re: subnetpool can create the cidr like 0.0.0.0/0

 

Bug closed due to lack of activity, please feel free to reopen if
needed.

** Changed in: neutron
       Status: Incomplete => Won't Fix

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

Title:
  subnetpool can create the cidr like 0.0.0.0/0

Status in neutron:
  Won't Fix

Bug description:
  neutron version : 2.6.0

  I create subnetpool like:
  neutron subnetpool-create --pool-prefix 6.6.66.6/24 --pool-prefix 99.9.9.9/30 --pool-prefix 8.9.8.8/20 --pool-prefix 0.0.0.0/0 --pool-prefix 0.0.0.0/16  test3
  Created a new subnetpool:
  +-------------------+--------------------------------------+
  | Field             | Value                                |
  +-------------------+--------------------------------------+
  | default_prefixlen | 8                                    |
  | default_quota     |                                      |
  | id                | b1bc9e6f-94fc-4d43-bfcb-1098524092cd |
  | ip_version        | 4                                    |
  | max_prefixlen     | 32                                   |
  | min_prefixlen     | 8                                    |
  | name              | test3                                |
  | prefixes          | 0.0.0.0/0                            |
  | shared            | False                                |
  | tenant_id         | 2b47a754532a48a9a553964eb435cf0f     |
  +-------------------+--------------------------------------+

  And then I create a subnet to network with this subnetpool like:
  neutron subnet-create kl --subnetpool test3
  Created a new subnet:
  +-------------------+----------------------------------------------+
  | Field             | Value                                        |
  +-------------------+----------------------------------------------+
  | allocation_pools  | {"start": "0.0.0.2", "end": "0.255.255.254"} |
  | cidr              | 0.0.0.0/8                                    |
  | dns_nameservers   |                                              |
  | enable_dhcp       | True                                         |
  | gateway_ip        | 0.0.0.1                                      |
  | host_routes       |                                              |
  | id                | 17b680d2-ec29-4221-9298-ce00ae276be4         |
  | ip_version        | 4                                            |
  | ipv6_address_mode |                                              |
  | ipv6_ra_mode      |                                              |
  | name              |                                              |
  | network_id        | 507aeb92-9b30-46ab-b2aa-da2ad13517e3         |
  | subnetpool_id     | b1bc9e6f-94fc-4d43-bfcb-1098524092cd         |
  | tenant_id         | 2b47a754532a48a9a553964eb435cf0f             |
  +-------------------+----------------------------------------------+

  So the subnetpool should not allow this special type of cidrs to be
  created.

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



References