Comment 2 for bug 2059960

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

Reviewed: https://review.opendev.org/c/starlingx/config/+/914833
Committed: https://opendev.org/starlingx/config/commit/f6158f5b02124871c74f23c12228b533db7132af
Submitter: "Zuul (22348)"
Branch: master

commit f6158f5b02124871c74f23c12228b533db7132af
Author: Caio Bruchert <email address hidden>
Date: Mon Apr 1 16:59:08 2024 -0300

    Prevent multiple datanetworks to same interface

    Since sriov-network-device-plugin upgrade to v3.5.1, assigning multiple
    datanetworks to the same interface is not possible anymore.

    This change restricts the system interface-datanetwork-assign command to
    prevent that from happening.

    Test Plan:
    PASS: assign datanetwork1 to sriov0 interface: ok
    PASS: assign datanetwork2 to same sriov0 interface: fails
    PASS: create new vf0 interface on top of sriov0: ok
    PASS: assign datanetwork1 to vf0: ok
    PASS: assign datanetwork2 to vf0: fails
    PASS: create new vf1 interface on top of sriov0: ok
    PASS: assign datanetwork2 to vf1: ok
    PASS: assign datanetwork1 to vf1: fails

    Closes-Bug: 2059960

    Change-Id: If3ab95594917089f01475f9595c9059edeae85f5
    Signed-off-by: Caio Bruchert <email address hidden>