neutron/releasenotes/notes/add-port-ip-allocation-attr-294a580641998240.yaml
Carl Baldwin b6a90df2ac Mark unaddressed ports with none in ip_allocation field
This is the Neutron side of the unaddressed ports blueprint. In order
to allow unaddressed ports, Nova wants the port to explicitly say it
is okay that it doesn't have any IP addresses.

In Neutron, an unaddressed port is one that was created by explicitly
passing [] in fixed_ips to create the port.  A new DB field is added
to the port to distinguish the unaddressed port case from the deferred
IP allocation case where routed networks is involved.

Change-Id: Ia61af4c14e955697a7d3fcc0bf4826a6d9475c98
Implements: blueprint vm-without-l3-address
APIImpact: port now has ip_allocation attribute, set on port create
2016-09-09 12:43:35 -06:00

24 lines
941 B
YAML

---
prelude: >
Add ip_allocation attribute to port resources
features:
- The port resource now has an ip_allocation attribute.
The value of this attribute will be set to
'immediate', 'deferred', or 'none' at the time the
port is created. It will not be changed when the port
is updated.
'immediate' means that the port is expected to have
an IP address and Neutron attempted IP allocation on
port creation. 'deferred' means that the port is
expected to have an IP address but Neutron deferred
IP allocation until a port update provides the host
to which the port will be bound. 'none' means that
the port was created explicitly with no addresses by
passing [] in fixed_ips when creating it.
upgrade:
- All existing ports are considered to have 'immediate'
IP allocation. Any ports that do not have this
attribute should also be considered to have immediate
IP allocation.