Merge "Add 'smart-nic' vnic type support for OS::Neutron::Port"

This commit is contained in:
Zuul 2020-08-17 17:40:46 +00:00 committed by Gerrit Code Review
commit 9b7bc30a7d
2 changed files with 6 additions and 1 deletions

View File

@ -284,7 +284,7 @@ class Port(neutron.NeutronResource):
constraints=[
constraints.AllowedValues(['normal', 'direct', 'macvtap',
'direct-physical', 'baremetal',
'virtio-forwarder']),
'virtio-forwarder', 'smart-nic']),
],
support_status=support.SupportStatus(version='2015.1'),
update_allowed=True,

View File

@ -1026,6 +1026,11 @@ class UpdatePortTest(common.HeatTestCase):
fixed_ips=None,
addr_pair=None,
vnic_type='virtio-forwarder')),
('smart_nic_vnic', dict(secgrp=None,
value_specs={},
fixed_ips=None,
addr_pair=None,
vnic_type='smart-nic')),
('with_all', dict(secgrp=['8a2f582a-e1cd-480f-b85d-b02631c10656'],
value_specs={},
fixed_ips=[