3c6ec654b4
Heat now supports release name aliases, so we can replace the inconsistent mix of date related versions with one consistent version that aligns with the supported version of heat for this t-h-t branch. This should also help new users who sometimes copy/paste old templates and discover intrinsic functions in the t-h-t docs don't work because their template version is too old. Change-Id: Ib415e7290fea27447460baa280291492df197e54
68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
heat_template_version: ocata
|
|
|
|
description: "
|
|
A fake OS::Neutron::Port stack which outputs fixed_ips and subnets based on
|
|
the input from the DeployedServerPortMap (set via parameter_defaults). This
|
|
lookup requires the use of port naming conventions. In order for this to work
|
|
with deployed-server the keys should be <hostname>-<network>.
|
|
Example:
|
|
parameter_defaults:
|
|
DeployedServerPortMap:
|
|
gatsby_ctlplane:
|
|
fixed_ips:
|
|
- ip_address: 127.0.0.1
|
|
subnets:
|
|
- cidr: 24"
|
|
|
|
parameters:
|
|
name:
|
|
default: ''
|
|
type: string
|
|
network:
|
|
default: ''
|
|
type: string
|
|
fixed_ips:
|
|
default: ''
|
|
type: comma_delimited_list
|
|
replacement_policy:
|
|
default: ''
|
|
type: string
|
|
DeployedServerPortMap:
|
|
default: {}
|
|
type: json
|
|
|
|
|
|
outputs:
|
|
fixed_ips:
|
|
value:
|
|
{get_param: [DeployedServerPortMap, {get_param: name}, fixed_ips]}
|
|
subnets:
|
|
value:
|
|
{get_param: [DeployedServerPortMap, {get_param: name}, subnets]}
|
|
name:
|
|
value: {get_param: name}
|
|
status:
|
|
value: DOWN
|
|
allowed_address_pairs:
|
|
value: {}
|
|
device_id:
|
|
value: ''
|
|
device_owner:
|
|
value: {get_param: network}
|
|
dns_assignment:
|
|
value: ''
|
|
port_security_enabled:
|
|
value: False
|
|
admin_state_up:
|
|
value: False
|
|
security_groups:
|
|
value: {}
|
|
network_id:
|
|
value: ''
|
|
tenant_id:
|
|
value: ''
|
|
qos_policy_id:
|
|
value: ''
|
|
mac_address:
|
|
value: ''
|