Comment 33 for bug 1526403

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/360647
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=c8d518898e27951123ad7816337d2a0f862ea5b4
Submitter: Jenkins
Branch: master

commit c8d518898e27951123ad7816337d2a0f862ea5b4
Author: Vasyl Saienko <email address hidden>
Date: Thu Aug 25 11:25:32 2016 -0400

    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