Merge "Use cluster name for fixed_network instead of private"
This commit is contained in:
commit
441a81910c
|
@ -185,6 +185,8 @@ class K8sTemplateDefinition(template_def.BaseTemplateDefinition):
|
||||||
net_name = neutron.get_fixed_network_name(context, fixed_network)
|
net_name = neutron.get_fixed_network_name(context, fixed_network)
|
||||||
if net_name:
|
if net_name:
|
||||||
extra_params['fixed_network_name'] = net_name
|
extra_params['fixed_network_name'] = net_name
|
||||||
|
else:
|
||||||
|
extra_params['fixed_network_name'] = cluster.name
|
||||||
|
|
||||||
# NOTE(brtknr): Convert fixed subnet name to UUID. If fixed_subnet
|
# NOTE(brtknr): Convert fixed subnet name to UUID. If fixed_subnet
|
||||||
# is not specified in cluster template use 'private' as the default
|
# is not specified in cluster template use 'private' as the default
|
||||||
|
|
|
@ -81,7 +81,6 @@ parameters:
|
||||||
fixed_network_name:
|
fixed_network_name:
|
||||||
type: string
|
type: string
|
||||||
description: name of a private network to use to provision machines
|
description: name of a private network to use to provision machines
|
||||||
default: "private"
|
|
||||||
|
|
||||||
fixed_subnet:
|
fixed_subnet:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -81,7 +81,6 @@ parameters:
|
||||||
fixed_network_name:
|
fixed_network_name:
|
||||||
type: string
|
type: string
|
||||||
description: name of a private network to use to provision machines
|
description: name of a private network to use to provision machines
|
||||||
default: "private"
|
|
||||||
|
|
||||||
fixed_subnet:
|
fixed_subnet:
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Reference in New Issue