From 6f5481816ffc4c5560557ec380374945a282afc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Tue, 23 Oct 2018 10:07:37 +0200 Subject: [PATCH] Add external interface to routed networks provision router When deploying TripleO overcloud nodes using the ctlplane network as the default gateway need to reach the internet (ntp servers etc.). Previously this was done using the undercloud as a masquerading router, doing so when nodes are not on the same L2 network as the undercloud is not as straight forward. (I.e we would have to set up routes on the provision router in ovb with a default route via the ip-address of the undercloud.) Hooking up the router for the provision networks to the external_net and let the ovb infra router do the NAT'ing makes more sense. --- templates/undercloud-networks-routed.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/undercloud-networks-routed.yaml b/templates/undercloud-networks-routed.yaml index fea204e..b533cb3 100644 --- a/templates/undercloud-networks-routed.yaml +++ b/templates/undercloud-networks-routed.yaml @@ -90,6 +90,8 @@ resources: type: OS::Neutron::Router properties: name: provision-router + external_gateway_info: + network: {get_param: external_net} provision_network: type: OS::Neutron::Net