Public bug reported: In the kilo cycle vhost-user support was added to nova and supported out of tree via the networking-ovs-dpdk ml2 driver and l2 agent on stack forge.
in liberty agent modification were up streamed to enable the standard neutron openvswitch agent to manage the netdev datapath. in mitika it is desirable to remove all dependence on the networking-ovs-dpdk repo and enable the standard ovs ml2 driver to support vhost-user on enabled vswitches. to enable vhost-user support the following changes are proposed to the neutron openvswitch agent and ml2 mechanism driver. AGENT CHANGES: To determine if a vswitch supports vhost user interface two pieces of information are required the bridge datapath_type and the list of supported interfaces form the ovsdb. the datapath_type feild is require to ensure the node is configured to used the dpdk enabled netdev datapath. the supported interfaces types field in the ovsdb contains a list of all supported interface types for all supported datapath_types. if the ovs-vswitchd process has been compiled with supported for dpdk interface but not started with dpdk enabled , dpdk interfaces will be omitted from this list. the ovs neutron agent will be extended to query supported interfaces parameter in the ovsdb and append it to the configuration section of the agent state report. the ovs neutron agent will be extended to append the configured datapath_type to the configuration section of the agent state report. The OVS lib will be extended to retrieve the supported interfaces from the ovsdb. ML2 DRIVER CHANGES: the ovs ml2 agent will be extended to consult the agent configuration when selecting the vif type and vif binding details to install. if the datapath is netdev and the supported interface types contains vhost-user it will be enabled. in all other cases it will fall back to the current behavior. this mechanism will allow easy extension of the ovs neutron agent to support other ovs interfaces type in the future if enabled in nova. ** Affects: neutron Importance: Undecided Assignee: sean mooney (sean-k-mooney) Status: New ** Tags: rfe ** Changed in: neutron Assignee: (unassigned) => sean mooney (sean-k-mooney) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1506127 Title: enable vhost-user support with neutron ovs agent Status in neutron: New Bug description: In the kilo cycle vhost-user support was added to nova and supported out of tree via the networking-ovs-dpdk ml2 driver and l2 agent on stack forge. in liberty agent modification were up streamed to enable the standard neutron openvswitch agent to manage the netdev datapath. in mitika it is desirable to remove all dependence on the networking-ovs-dpdk repo and enable the standard ovs ml2 driver to support vhost-user on enabled vswitches. to enable vhost-user support the following changes are proposed to the neutron openvswitch agent and ml2 mechanism driver. AGENT CHANGES: To determine if a vswitch supports vhost user interface two pieces of information are required the bridge datapath_type and the list of supported interfaces form the ovsdb. the datapath_type feild is require to ensure the node is configured to used the dpdk enabled netdev datapath. the supported interfaces types field in the ovsdb contains a list of all supported interface types for all supported datapath_types. if the ovs-vswitchd process has been compiled with supported for dpdk interface but not started with dpdk enabled , dpdk interfaces will be omitted from this list. the ovs neutron agent will be extended to query supported interfaces parameter in the ovsdb and append it to the configuration section of the agent state report. the ovs neutron agent will be extended to append the configured datapath_type to the configuration section of the agent state report. The OVS lib will be extended to retrieve the supported interfaces from the ovsdb. ML2 DRIVER CHANGES: the ovs ml2 agent will be extended to consult the agent configuration when selecting the vif type and vif binding details to install. if the datapath is netdev and the supported interface types contains vhost-user it will be enabled. in all other cases it will fall back to the current behavior. this mechanism will allow easy extension of the ovs neutron agent to support other ovs interfaces type in the future if enabled in nova. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1506127/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp