diff --git a/tempest/config.py b/tempest/config.py index 0d49b51f7d..382b80f11e 100644 --- a/tempest/config.py +++ b/tempest/config.py @@ -761,11 +761,13 @@ NetworkGroup = [ deprecated_reason="This config option is no longer " "used anywhere, so it can be removed."), cfg.StrOpt('port_vnic_type', - choices=[None, 'normal', 'direct', 'macvtap'], + choices=[None, 'normal', 'direct', 'macvtap', 'direct-physical', + 'baremetal', 'virtio-forwarder'], help="vnic_type to use when launching instances" " with pre-configured ports." " Supported ports are:" - " ['normal','direct','macvtap']"), + " ['normal', 'direct', 'macvtap', 'direct-physical', " + "'baremetal', 'virtio-forwarder']"), cfg.Opt('port_profile', type=ProfileType, default={}, diff --git a/tempest/scenario/manager.py b/tempest/scenario/manager.py index 5ae72b2685..86df83ae79 100644 --- a/tempest/scenario/manager.py +++ b/tempest/scenario/manager.py @@ -201,6 +201,14 @@ class ScenarioTest(tempest.test.BaseTestCase): direct: an SR-IOV port that is directly attached to a VM macvtap: an SR-IOV port that is attached to a VM via a macvtap device. + direct-physical: an SR-IOV port that is directly attached to a + VM using physical instead of virtual + functions. + baremetal: a baremetal port directly attached to a baremetal + node. + virtio-forwarder: an SR-IOV port that is indirectly attached + to a VM using a low-latency vhost-user + forwarding process. Defaults to ``CONF.network.port_vnic_type``. * *port_profile* (``dict``) -- This attribute is a dictionary that can be used (with admin