From b8865036177795b8780ce28e142a93b3f892bafe Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Tue, 26 Sep 2017 10:49:04 -0500 Subject: [PATCH] Add missing extra-node template This was missed in the initial commit and is necessary for the feature to work. --- ...emetal-ports-extra-node-port-security.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 templates/baremetal-ports-extra-node-port-security.yaml diff --git a/templates/baremetal-ports-extra-node-port-security.yaml b/templates/baremetal-ports-extra-node-port-security.yaml new file mode 100644 index 0000000..16a2433 --- /dev/null +++ b/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}}