diff options
Diffstat (limited to 'heat')
-rw-r--r-- | heat/engine/resources/openstack/neutron/port.py | 3 | ||||
-rw-r--r-- | heat/tests/openstack/neutron/test_neutron_port.py | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/heat/engine/resources/openstack/neutron/port.py b/heat/engine/resources/openstack/neutron/port.py index 0d31560e2..3977e8f0f 100644 --- a/heat/engine/resources/openstack/neutron/port.py +++ b/heat/engine/resources/openstack/neutron/port.py @@ -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, diff --git a/heat/tests/openstack/neutron/test_neutron_port.py b/heat/tests/openstack/neutron/test_neutron_port.py index c0a4df73f..12efe1c70 100644 --- a/heat/tests/openstack/neutron/test_neutron_port.py +++ b/heat/tests/openstack/neutron/test_neutron_port.py @@ -978,6 +978,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=[ |