ironic/releasenotes/notes/rely-on-standalone-ports-supported-8153e1135787828b.yaml
Vasyl Saienko c8d518898e Rely on portgroup standalone_ports_supported
Some hardware doesn't support portgroup fallback to single interface
fashion. This imposes additional restrictions on ports, for example
such ports will not support booting by PXE.
This patch adds restrictions setting pxe_enabled=True on ports that
are members of portgroups with standalone_ports_supported=False. And
vice versa portgroup.standalone_ports_supported can't be set to False
until portgroup contains ports with pxe_enabled=True.

Setting 'vif_port_id' means that we are using this port in standalone
mode. This patch also ensures that 'vif_port_id' can't be updated on
ports which are members of portgroups with
standalone_ports_supported=False. And vice versa updating portgroup
standalone_ports_supported=False is not allowed if portgroup contains
ports with extra/vif_port_id set.

Partial-bug: #1526403

Change-Id: I9b4682918725bed2da0b7c89666e2c37d8826290
2016-11-18 16:25:29 +02:00

26 lines
1.2 KiB
YAML

---
other:
- |
Some combinations of port group protocols and hardware might not support
falling back to single interface mode. If a static port group was created
under such circumstances (where
``portgroup.standalone_ports_supported = False``), additional restrictions
apply to such ports and port groups, for example such ports will not
support booting over PXE.
Certain restrictions are imposed on values of port properties for ports
belonging to a port group:
* ``port.pxe_enabled`` cannot be set to True if the port is a member of
a port group with portgroup.standalone_ports_supported already
set to False.
* ``portgroup.standalone_ports_supported`` cannot be set to False on a
portgroup if at least one port in that port group has
``port.pxe_enabled=True``
* ``port.extra.vif_port_id`` cannot be set on a port that is a member of
a port group with ``portgroup.standalone_ports_supported=False`` as
setting it means that we using port in single interface mode.
* ``portgroup.standalone_ports_supported`` cannot be set to False on a
port group if it has at least one port with ``port.extra.vif_port_id``
set.