Skip to content

Commit

Permalink
Add missing extra-node template
Browse files Browse the repository at this point in the history
This was missed in the initial commit and is necessary for the
feature to work.
  • Loading branch information
cybertron committed Sep 27, 2017
1 parent 0a9b703 commit b886503
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions templates/baremetal-ports-extra-node-port-security.yaml
@@ -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}}

0 comments on commit b886503

Please sign in to comment.