Add ctlplane interface routes
For the isolated networks we use the subnets host_routes to set and get the routes for overcloud node interfaces. This change add's this to the ctlplane interface. Partial: blueprint tripleo-routed-networks-templates Change-Id: Id4cf0cc17bc331ae27f8d0ef8f285050330b7be0
This commit is contained in:
parent
b8206cc0f5
commit
055e252872
@ -20,6 +20,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
ExternalIpSubnet:
|
ExternalIpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the external network
|
description: IP address/subnet on the external network
|
||||||
|
@ -20,6 +20,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
ExternalIpSubnet:
|
ExternalIpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the external network
|
description: IP address/subnet on the external network
|
||||||
|
@ -17,6 +17,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
ExternalIpSubnet:
|
ExternalIpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the external network
|
description: IP address/subnet on the external network
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -121,6 +121,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -27,6 +27,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -17,6 +17,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -25,6 +25,14 @@ parameters:
|
|||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
default: 192.168.24.1
|
default: 192.168.24.1
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
ControlPlaneSubnetCidr:
|
ControlPlaneSubnetCidr:
|
||||||
default: ''
|
default: ''
|
||||||
description: >
|
description: >
|
||||||
|
@ -20,6 +20,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -34,7 +34,11 @@ parameters:
|
|||||||
type: string
|
type: string
|
||||||
ControlPlaneStaticRoutes:
|
ControlPlaneStaticRoutes:
|
||||||
default: []
|
default: []
|
||||||
description: A list of static routes
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
type: json
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
|
@ -32,6 +32,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -32,6 +32,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -31,6 +31,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: >
|
description: >
|
||||||
|
@ -34,7 +34,11 @@ parameters:
|
|||||||
type: string
|
type: string
|
||||||
ControlPlaneStaticRoutes:
|
ControlPlaneStaticRoutes:
|
||||||
default: []
|
default: []
|
||||||
description: A list of static routes
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
type: json
|
type: json
|
||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
|
@ -21,6 +21,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -90,12 +98,14 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
- default: true
|
next_hop:
|
||||||
next_hop:
|
get_param: EC2MetadataIp
|
||||||
get_param: ControlPlaneDefaultRoute
|
- default: true # NOTE(hjensas): This is the IPv4 default route
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
- type: ovs_bridge
|
- type: ovs_bridge
|
||||||
name: bridge_name
|
name: bridge_name
|
||||||
use_dhcp: true
|
use_dhcp: true
|
||||||
|
@ -19,6 +19,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -88,12 +96,14 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
- default: true # NOTE(hjensas): This is the IPv4 default route
|
next_hop:
|
||||||
next_hop:
|
get_param: EC2MetadataIp
|
||||||
get_param: ControlPlaneDefaultRoute
|
- default: true # NOTE(hjensas): This is the IPv4 default route
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
- type: ovs_bridge
|
- type: ovs_bridge
|
||||||
name: bridge_name
|
name: bridge_name
|
||||||
dns_servers:
|
dns_servers:
|
||||||
|
@ -17,6 +17,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -93,6 +101,7 @@ resources:
|
|||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
list_concat_unique:
|
list_concat_unique:
|
||||||
|
- get_param: ControlPlaneStaticRoutes
|
||||||
- - ip_netmask: 169.254.169.254/32
|
- - ip_netmask: 169.254.169.254/32
|
||||||
next_hop:
|
next_hop:
|
||||||
get_param: EC2MetadataIp
|
get_param: EC2MetadataIp
|
||||||
|
@ -19,6 +19,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -84,12 +92,14 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
- default: true
|
next_hop:
|
||||||
next_hop:
|
get_param: EC2MetadataIp
|
||||||
get_param: ControlPlaneDefaultRoute
|
- default: true
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
- type: interface
|
- type: interface
|
||||||
name: nic2
|
name: nic2
|
||||||
use_dhcp: false
|
use_dhcp: false
|
||||||
|
@ -18,6 +18,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -83,13 +91,15 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
# IPv4 Default Route
|
next_hop:
|
||||||
- default: true # NOTE(hjensas): This is the IPv4 default route
|
get_param: EC2MetadataIp
|
||||||
next_hop:
|
# IPv4 Default Route
|
||||||
get_param: ControlPlaneDefaultRoute
|
- default: true # NOTE(hjensas): This is the IPv4 default route
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
- type: interface
|
- type: interface
|
||||||
name: nic2
|
name: nic2
|
||||||
use_dhcp: false
|
use_dhcp: false
|
||||||
|
@ -17,6 +17,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -88,13 +96,15 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
|
next_hop:
|
||||||
|
get_param: EC2MetadataIp
|
||||||
{%- if role.default_route_networks is not defined or 'ControlPlane' in role.default_route_networks %}
|
{%- if role.default_route_networks is not defined or 'ControlPlane' in role.default_route_networks %}
|
||||||
- default: true
|
- default: true
|
||||||
next_hop:
|
next_hop:
|
||||||
get_param: ControlPlaneDefaultRoute
|
get_param: ControlPlaneDefaultRoute
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- set nics_used = [1] %}
|
{%- set nics_used = [1] %}
|
||||||
{%- for network in networks if network.enabled|default(true) and network.name not in role.networks_skip_config|default([]) %}
|
{%- for network in networks if network.enabled|default(true) and network.name not in role.networks_skip_config|default([]) %}
|
||||||
|
@ -18,6 +18,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -83,12 +91,14 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
- default: true # NOTE(hjensas): This is the IPv4 default route
|
next_hop:
|
||||||
next_hop:
|
get_param: EC2MetadataIp
|
||||||
get_param: ControlPlaneDefaultRoute
|
- default: true # NOTE(hjensas): This is the IPv4 default route
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
members:
|
members:
|
||||||
- type: interface
|
- type: interface
|
||||||
name: interface_name
|
name: interface_name
|
||||||
|
@ -17,6 +17,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -86,13 +94,15 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
|
next_hop:
|
||||||
|
get_param: EC2MetadataIp
|
||||||
{%- if role.default_route_networks is not defined or 'ControlPlane' in role.default_route_networks %}
|
{%- if role.default_route_networks is not defined or 'ControlPlane' in role.default_route_networks %}
|
||||||
- default: true
|
- default: true
|
||||||
next_hop:
|
next_hop:
|
||||||
get_param: ControlPlaneDefaultRoute
|
get_param: ControlPlaneDefaultRoute
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
members:
|
members:
|
||||||
- type: interface
|
- type: interface
|
||||||
|
@ -21,6 +21,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -86,12 +94,14 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
- default: true
|
next_hop:
|
||||||
next_hop:
|
get_param: EC2MetadataIp
|
||||||
get_param: ControlPlaneDefaultRoute
|
- default: true
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
members:
|
members:
|
||||||
- type: interface
|
- type: interface
|
||||||
name: nic1
|
name: nic1
|
||||||
|
@ -18,6 +18,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -83,12 +91,14 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
- default: true # NOTE(hjensas): This is the IPv4 default route
|
next_hop:
|
||||||
next_hop:
|
get_param: EC2MetadataIp
|
||||||
get_param: ControlPlaneDefaultRoute
|
- default: true # NOTE(hjensas): This is the IPv4 default route
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
members:
|
members:
|
||||||
- type: interface
|
- type: interface
|
||||||
name: nic1
|
name: nic1
|
||||||
|
@ -17,6 +17,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{{network.name}}IpSubnet:
|
{{network.name}}IpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
@ -86,13 +94,15 @@ resources:
|
|||||||
- - get_param: ControlPlaneIp
|
- - get_param: ControlPlaneIp
|
||||||
- get_param: ControlPlaneSubnetCidr
|
- get_param: ControlPlaneSubnetCidr
|
||||||
routes:
|
routes:
|
||||||
- ip_netmask: 169.254.169.254/32
|
list_concat_unique:
|
||||||
next_hop:
|
- get_param: ControlPlaneStaticRoutes
|
||||||
get_param: EC2MetadataIp
|
- - ip_netmask: 169.254.169.254/32
|
||||||
|
next_hop:
|
||||||
|
get_param: EC2MetadataIp
|
||||||
{%- if role.default_route_networks is not defined or 'ControlPlane' in role.default_route_networks %}
|
{%- if role.default_route_networks is not defined or 'ControlPlane' in role.default_route_networks %}
|
||||||
- default: true
|
- default: true
|
||||||
next_hop:
|
next_hop:
|
||||||
get_param: ControlPlaneDefaultRoute
|
get_param: ControlPlaneDefaultRoute
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
members:
|
members:
|
||||||
- type: interface
|
- type: interface
|
||||||
|
@ -249,6 +249,14 @@ parameters:
|
|||||||
description: The default route of the control plane network. (The parameter
|
description: The default route of the control plane network. (The parameter
|
||||||
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
is automatically resolved from the ctlplane subnet's gateway_ip attribute.)
|
||||||
type: string
|
type: string
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Routes for the ctlplane network traffic.
|
||||||
|
JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}]
|
||||||
|
Unless the default is changed, the parameter is automatically resolved
|
||||||
|
from the subnet host_routes attribute.
|
||||||
|
type: json
|
||||||
EC2MetadataIp:
|
EC2MetadataIp:
|
||||||
default: ''
|
default: ''
|
||||||
description: The IP address of the EC2 metadata server. (The parameter
|
description: The IP address of the EC2 metadata server. (The parameter
|
||||||
@ -353,6 +361,9 @@ conditions:
|
|||||||
ctlplane_default_route_set:
|
ctlplane_default_route_set:
|
||||||
not:
|
not:
|
||||||
equals: [{get_param: ControlPlaneDefaultRoute}, '']
|
equals: [{get_param: ControlPlaneDefaultRoute}, '']
|
||||||
|
ctlplane_static_routes_set:
|
||||||
|
not:
|
||||||
|
equals: [{get_param: ControlPlaneStaticRoutes}, []]
|
||||||
ec2metadaip_set:
|
ec2metadaip_set:
|
||||||
not:
|
not:
|
||||||
equals: [{get_param: EC2MetadataIp}, '']
|
equals: [{get_param: EC2MetadataIp}, '']
|
||||||
@ -504,6 +515,11 @@ resources:
|
|||||||
- ctlplane_default_route_set
|
- ctlplane_default_route_set
|
||||||
- {get_param: ControlPlaneDefaultRoute}
|
- {get_param: ControlPlaneDefaultRoute}
|
||||||
- {get_attr: [{{server_resource_name}}, addresses, ctlplane, 0, subnets, 0, gateway_ip]}
|
- {get_attr: [{{server_resource_name}}, addresses, ctlplane, 0, subnets, 0, gateway_ip]}
|
||||||
|
ControlPlaneStaticRoutes:
|
||||||
|
if:
|
||||||
|
- ctlplane_static_routes_set
|
||||||
|
- {get_param: ControlPlaneStaticRoutes}
|
||||||
|
- {get_attr: [{{server_resource_name}}, addresses, ctlplane, 0, subnets, 0, host_routes]}
|
||||||
EC2MetadataIp:
|
EC2MetadataIp:
|
||||||
if:
|
if:
|
||||||
- ec2metadaip_set
|
- ec2metadaip_set
|
||||||
|
Loading…
Reference in New Issue
Block a user