Add 'COMPUTE_NET_VIRTIO_PACKED'

COMPUTE_NET_VIRTIO_PACKED allows us to report this trait and use it to
filter hosts that support packed virtqueue.

Nova spec: https://review.opendev.org/c/openstack/nova-specs/+/868377

Change-Id: I0752af7b67e999d53f007b3e83ec218bb6fd7da7
This commit is contained in:
Danylo Vodopianov 2023-02-23 11:40:34 +02:00
parent feb3e28a00
commit 3b0a2eaa82
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ TRAITS = [
# specifying a device tag for the interface
'ATTACH_INTERFACE_WITH_TAG',
'VIRTIO_PACKED',
# traits corresponding to the allowed values of "hw_vif_model"
# image metadata property
# https://github.com/openstack/nova/blob/1f74441/nova/network/model.py#L136-L149