Comment 3 for bug 1772402

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>