Uploaded image for project: 'OpenStack as Infra'
  1. OpenStack as Infra
  2. OSASINFRA-2434

Allow to configure binding-profile into Neutron ports

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Installer
    • None
    • 2
    • False
    • False
    • Undefined
    • ShiftStack Sprint 205, ShiftStack Sprint 206

      Goal
      When we enable OVS HW Offload, we need to use the devlink cli tool to set the NIC e-switch mode to switchdev. Switchdev mode establishes representor ports on the NIC that are mapped to the VFs.

      Therefore, we need to add support to CAPO so we can allocate a port from a switchdev-enabled NIC, by creating a neutron port and set the value of binding-profile to capabilities:

      openstack port create --network private --vnic-type=direct --binding-profile '{"capabilities":["switchdev"]}' direct_port1

      Definition of done
      Code is reviewed and merged upstream, with unit tests when possible and proper documentation where it belongs.

              emacchi@redhat.com Emilien Macchi
              emacchi@redhat.com Emilien Macchi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: