neutron/releasenotes/notes/allow-update-subnet-segment-id-association-1fb02ace27e85bb8.yaml
Harald Jensas b6d117fcd5 Allow setting network-segment on subnet update
To enable the possibility to migrate a non-routed network to a
routed network allow updating the segment_id of a subnet.

Only allow the operation if:
 - The network only has one segment
 - The network only has one subnet
 - The current segment_id == None

APIImpact: The segment_id attribute of subnets now allows put operation.
Closes-Bug: #1692490
Depends-On: Iffda823a149a1143f46ee9a05e9640b34bf42c51
Change-Id: I1aee29dfb59e9769ec0f1cb1f5d2933bc5dc0dc5
2018-05-24 01:09:02 +02:00

11 lines
395 B
YAML

---
features:
- |
Add support for setting the ``segment_id`` for an existing
subnet. This enables users to convert a non-routed network
with no subnet/segment association to a routed one. It is
only possible to do this migration if both of the following
conditions are met - the current ``segment_id`` is ``None``
and the network contains a single segment and subnet.