summaryrefslogtreecommitdiffstats
path: root/network/config/single-nic-vlans/controller.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-01 14:22:46 +0000
committerGerrit Code Review <review@openstack.org>2015-07-01 14:22:46 +0000
commit20536bc2e1eec5926df479d1fbc124df766b8ac0 (patch)
treef0aa747fd1cad249e39fa6e4afa4e45d1aaa1116 /network/config/single-nic-vlans/controller.yaml
parentcdc74dc79d406b09900e1b69fe10ab5474cc4f6d (diff)
parentf08cc7ae12a55ae631097ea7557d3a32247bbd59 (diff)
Merge "Add a default route to the external isolated network"
Diffstat (limited to 'network/config/single-nic-vlans/controller.yaml')
-rw-r--r--network/config/single-nic-vlans/controller.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/network/config/single-nic-vlans/controller.yaml b/network/config/single-nic-vlans/controller.yaml
index ca0cbcad..4cfa1317 100644
--- a/network/config/single-nic-vlans/controller.yaml
+++ b/network/config/single-nic-vlans/controller.yaml
@@ -45,6 +45,10 @@ parameters:
default: 50
description: Vlan ID for the tenant network traffic.
type: number
+ ExternalInterfaceDefaultRoute:
+ default: '10.0.0.1'
+ description: default route for the external network
+ type: string
resources:
OsNetConfigImpl:
@@ -70,6 +74,10 @@ resources:
addresses:
-
ip_netmask: {get_param: ExternalIpSubnet}
+ routes:
+ -
+ ip_netmask: 0.0.0.0/0
+ next_hop: {get_param: ExternalInterfaceDefaultRoute}
-
type: vlan
vlan_id: {get_param: InternalApiNetworkVlanID}