Add new VNIC types for Cyborg provisioned ports

Added VNIC types ``accelerator-direct`` and
``accelerator-direct-physical``. Represents a port that supports any
kind of hardware acceleration and is provided by Cyborg

Change-Id: I32e16a7cf3809e2469b3e7a7e068c8f0849ccdfb
Related-Bug: #1909100
This commit is contained in:
Rodolfo Alonso Hernandez 2020-12-23 11:02:54 +00:00
parent 307b6be55e
commit 0615717700
2 changed files with 15 additions and 1 deletions

View File

@ -122,10 +122,16 @@ VNIC_SMARTNIC = 'smart-nic'
# kernel 5.7 to implement a vhost offload of a standard virtio-net
# interface to a software or hardware backend.
VNIC_VHOST_VDPA = 'vdpa'
# - accelerator: Refers to any device that supports hardware acceleration of
# any kind and is provided by Cyborg
# (https://wiki.openstack.org/wiki/Cyborg).
VNIC_ACCELERATOR_DIRECT = 'accelerator-direct'
VNIC_ACCELERATOR_DIRECT_PHYSICAL = 'accelerator-direct-physical'
VNIC_TYPES = [VNIC_NORMAL, VNIC_DIRECT, VNIC_MACVTAP, VNIC_BAREMETAL,
VNIC_DIRECT_PHYSICAL, VNIC_VIRTIO_FORWARDER, VNIC_SMARTNIC,
VNIC_VHOST_VDPA]
VNIC_VHOST_VDPA, VNIC_ACCELERATOR_DIRECT,
VNIC_ACCELERATOR_DIRECT_PHYSICAL]
# VIF_DETAILS_CONNECTIVITY: Indicates what kind of connectivity the network
# back-end provides: L2, L3 or not specified.

View File

@ -0,0 +1,8 @@
---
features:
- |
Added VNIC types ``accelerator-direct`` and
``accelerator-direct-physical``. Represents a port that supports any kind
of hardware acceleration and is provided by Cyborg
(https://wiki.openstack.org/wiki/Cyborg). `RFE: 1909100
<https://bugs.launchpad.net/neutron/+bug/1909100>`_.