[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].
Reviewed: https:/ /review. opencontrail. org/33931 github. com/Juniper/ contrail- controller/ commit/ 93d2acaeb2e2cc1 e3c8ca1a1db8a30 e58c7f8b32
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit 93d2acaeb2e2cc1 e3c8ca1a1db8a30 e58c7f8b32
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: Ic6141c6dce8e56 f95c81c492bc2e5 9fadea67ced e71b0eea22afb3a fe267e86d5)
Closes-Bug: #1509101
(cherry picked from commit b5d159ac23c6e3e