← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1473278] Re: add vhost user constants to portbinding extention

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => liberty-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1473278

Title:
  add vhost user constants to portbinding extention

Status in neutron:
  Fix Released

Bug description:
  during the kilo development cycle

  a new vif type VIF_TYPE_VHOST_USER was added to the nova libvit
  driver.

  in parallel a ovs dpdk mechanism driver was also created which
  consumes this new VIF type.

  as humans are error prone when multitasking i forgot to introduce the pathset to add 
  vhost_user constants for port binding to 
  https://github.com/openstack/neutron/blob/master/neutron/extensions/portbindings.py

  the rfe bug captures the addtion of the following binding constants
  for the vhost user interface.

  #  - vhost_user_ovs_plug: Boolean used to inform Nova that the ovs plug
  #                         method should be used when binding the
  #                         vhost user vif.
  VHOST_USER_OVS_PLUG = 'vhostuser_ovs_plug'

  #  - vhost_user_mode: String value used to declare how the mode of a
  #                     vhost-user socket
  VHOST_USER_MODE = 'vhostuser_mode'
  #  - server: socket created by hypervisor
  VHOST_USER_MODE_SERVER = 'server'
  #  - client: socket created by vswitch
  VHOST_USER_MODE_CLIENT = 'client'

  #  - vhostuser_socket String value used to declare the vhostuser socket name
  VHOST_USER_SOCKET = 'vhostuser_socket'

  #  - vif_type_vhost_user: vif type to enable use of the qemu vhost-user vif
  VIF_TYPE_VHOST_USER = 'vhostuser'

  # default location for vhostuser sockets
  VHOSTUSER_SOCKET_DIR = '/var/run/openvswitch'

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1473278/+subscriptions


References