preserve subnet-create behavior in presence of subnet pools
Bug #1545199 reported by
Armando Migliaccio
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Armando Migliaccio |
Bug Description
The subnet create command [1] creates a subnet that does not belong to a subnet pool. When a default subnet pool is present, however, the subnet is implicitly assigned to the default pool, and hence the command triggers prefix validation.
[1] neutron subnet-create <net> <cidr> <name>
It's probably better to preserve the semantic of the message irrespective of the presence of the (default) pool.
If a user does want the association, he/she can either be explicit (by passing --subnetpool/-id) or simply specify the family of the subnet, like in [2] (by default the client chooses v4).
This happens in master.
[2] neutron subnet-create <net> --ip-version <name>
Changed in neutron: | |
assignee: | nobody → Armando Migliaccio (armando-migliaccio) |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: liberty-backport-potential |
tags: | added: l3-dvr-backlog |
Changed in neutron: | |
status: | Confirmed → In Progress |
Changed in neutron: | |
assignee: | Armando Migliaccio (armando-migliaccio) → Henry Gessau (gessau) |
Changed in neutron: | |
assignee: | Henry Gessau (gessau) → Armando Migliaccio (armando-migliaccio) |
Changed in neutron: | |
assignee: | Armando Migliaccio (armando-migliaccio) → Carl Baldwin (carl-baldwin) |
Changed in neutron: | |
assignee: | Carl Baldwin (carl-baldwin) → Armando Migliaccio (armando-migliaccio) |
tags: | removed: l3-dvr-backlog |
tags: | removed: liberty-backport-potential |
To post a comment you must log in.
https:/ /review. openstack. org/#/c/ 279378/