Comment 17 for bug 1509101

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/33932
Committed: http://github.com/Juniper/contrail-controller/commit/66058bf0cc73a0c4e2b121e4aa32cb1b7515b2bc
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 66058bf0cc73a0c4e2b121e4aa32cb1b7515b2bc
Author: Édouard Thuleau <email address hidden>
Date: Mon Jul 17 21:53:35 2017 +0200

[VNC OpenStack] Use first VMI of the first SI's VM as router gateway interface

Contrail model diverges strongly from the Neutron model regarding the
way router gateway is implemented. Contrail uses a service instance to
insert a SNAT service between private and public networks. And
instantiates two VM with VMIs on that networks.
That patch proposes to use the first right VMI of the first SI's VM as
Neutron port for a router's gateway interface. It also limits the
visibility of that router gateway interface to admin users as it's done
in Neutron [1].

[1] https://github.com/openstack/neutron/blob/master/neutron/db/l3_db.py#L350

Change-Id: Ic6141c6dce8e56f95c81c492bc2e59fadea67ced
Closes-Bug: #1509101
(cherry picked from commit b5d159ac23c6e3ee71b0eea22afb3afe267e86d5)