Pass vhostuser mode and path to Nova

Bug #1772402 reported by Jan Gutter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
High
Jan Gutter
R5.0
New
High
Jan Gutter
Trunk
New
High
Jan Gutter
OpenContrail
New
Undecided
Unassigned

Bug Description

https://review.opencontrail.org/#/c/42478/ added the required controller offload semantics required to allow 'direct' and 'virtio-forwarder' VNIC types on vrouter VIF's. Upstream Nova requires that the controller pass the vhostuser mode and socket path on the VIF too.

Tags: nova
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/43181
Submitter: Jan Gutter (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: nova
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/43181
Committed: http://github.com/Juniper/contrail-controller/commit/a092a14b29a4a63b755b7787c3e8bfc36a8786df
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit a092a14b29a4a63b755b7787c3e8bfc36a8786df
Author: Jan Gutter <email address hidden>
Date: Mon May 21 15:01:27 2018 +0200

[controller] Pass vhostuser settings to Nova

https://review.opencontrail.org/#/c/42478/ added the required controller
offload semantics required to allow 'direct' and 'virtio-forwarder' VNIC
types on vrouter VIF's. Upstream Nova requires that the controller pass
the vhostuser mode and socket path on the VIF too.

* This change updates the pre_dbe_create and pre_dbe_update methods in
the VirtualMachineInterfaceServer class to pass the required
information to Nova.

* This change makes the check for the hw_veb VIF type stricter: it is
possible for the controller to set:
vn_dict['provider_properties'] == None
leading to an incorrect assumption that a provider network was set.

Change-Id: I4b28a80b0af5890edbe076927f6e314f9f1d188c
Closes-Bug: #1772402
Signed-off-by: Jan Gutter <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.