Merge "Supports 'virtio-forwarder' vnic type for port"

This commit is contained in:
Zuul 2020-08-15 08:05:12 +00:00 committed by Gerrit Code Review
commit d4460bbecc
2 changed files with 7 additions and 1 deletions

View File

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

View File

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