aboutsummaryrefslogtreecommitdiffstats
path: root/network/ports/external.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2015-05-29 12:07:44 -0400
committerDan Prince <dprince@redhat.com>2015-06-03 08:58:13 -0400
commita3a88cd3c0c9491877c4278753ac9988a121abbb (patch)
tree9fb471ff6e71df17f2bdf5e58f81a10f69d29cb9 /network/ports/external.yaml
parentab6d15482f6cfce69fadbb5218bd645ea4f7fdf8 (diff)
Add PortName to ports stacks
For VIP ports we set an explicit name on the ports. This patch adds an optional PortName parameter to the ports objects which can be used to specify a name. Change-Id: Iad0f5e4cfc31a931dbb574d9e589570125e9465c
Diffstat (limited to 'network/ports/external.yaml')
-rw-r--r--network/ports/external.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/network/ports/external.yaml b/network/ports/external.yaml
index db86b329..b5c1e5c9 100644
--- a/network/ports/external.yaml
+++ b/network/ports/external.yaml
@@ -8,6 +8,10 @@ parameters:
description: Name of the external neutron network
default: external
type: string
+ PortName:
+ description: Name of the port
+ default: ''
+ type: string
ControlPlaneIP: # Here for compatability with noop.yaml
description: IP address on the control plane
type: string
@@ -18,6 +22,7 @@ resources:
type: OS::Neutron::Port
properties:
network: {get_param: ExternalNetName}
+ name: {get_param: PortName}
replacement_policy: AUTO
outputs: