Add missing extra-node template

This was missed in the initial commit and is necessary for the
feature to work.
This commit is contained in:
Ben Nemec 2017-09-26 10:49:04 -05:00
parent 0a9b703611
commit b886503617
1 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,63 @@
heat_template_version: 2015-10-15
parameters:
baremetal_prefix:
type: string
provision_net:
type: string
public_net:
type: string
description: Name of external network
default: public
private_net:
type: string
suffix:
type: string
resources:
private_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - private_
- {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: private_net}
provision_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: provision_net}
port_security_enabled: False
public_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - public_
- {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: public_net}
port_security_enabled: False
outputs:
ports:
value:
- {port: {get_resource: private_port}}
- {port: {get_resource: provision_port}}
- {port: {get_resource: public_port}}