[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/33932 github. com/Juniper/ contrail- controller/ commit/ 66058bf0cc73a0c 4e2b121e4aa32cb 1b7515b2bc
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.2
commit 66058bf0cc73a0c 4e2b121e4aa32cb 1b7515b2bc
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