Re-adds VIF_TYPE_VHOST_USER to portbindings extension

- This change re-adds the definition of the VIF_TYPE_VHOST_USER
  constant to the neuton portbinding extension.
- This change enables reuse of a single common VIF_TYPE_VHOST_USER
  constant between all agents and mechanism drivers that wish
  to support the qemu vhost-user interface type.

Change-Id: If92afb03f91a9092657e5b50c058f258952bafd8
Partial-Bug: #1477611
This commit is contained in:
Sean Mooney 2015-09-17 13:31:13 +01:00
parent 693db7cf7c
commit 6878db9f1c

View File

@ -63,6 +63,11 @@ VHOST_USER_SOCKET = 'vhostuser_socket'
# method should be used when binding the
# vhost-user vif.
VHOST_USER_OVS_PLUG = 'vhostuser_ovs_plug'
# - vhost-user: The vhost-user interface type is a standard virtio interface
# provided by qemu 2.1+. This constant defines the neutron side
# of the vif binding type to provide a common definition
# to enable reuse in multiple agents and drivers.
VIF_TYPE_VHOST_USER = 'vhostuser'
VIF_TYPE_UNBOUND = 'unbound'
VIF_TYPE_BINDING_FAILED = 'binding_failed'