summaryrefslogtreecommitdiffstats
path: root/network/ports/from_service.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-12-18 10:22:39 +0000
committerGerrit Code Review <review@openstack.org>2015-12-18 10:22:39 +0000
commit8e1fd53efb481a4073dc707601dd3ed9463a1854 (patch)
tree51955b289ddaed05aa25f572d460b0aa02f206fc /network/ports/from_service.yaml
parent0284f863a95d4cd27b19de048141cd7ec07c161b (diff)
parent22b4acf454d74302f1cca03f7fe22f63619b1f70 (diff)
Merge "Allow for usage of pre-allocated IPs for the controller nodes"
Diffstat (limited to 'network/ports/from_service.yaml')
-rw-r--r--network/ports/from_service.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/network/ports/from_service.yaml b/network/ports/from_service.yaml
new file mode 100644
index 00000000..6b669f41
--- /dev/null
+++ b/network/ports/from_service.yaml
@@ -0,0 +1,34 @@
+heat_template_version: 2015-04-30
+
+description: >
+ Returns an IP from a service mapped list of IPs
+
+parameters:
+ ServiceName:
+ description: Name of the service to lookup
+ default: ''
+ type: string
+ NetworkName: # Here for compatability with ctlplane_vip.yaml
+ description: Name of the network where the VIP will be created
+ default: ctlplane
+ type: string
+ PortName: # Here for compatability with ctlplane_vip.yaml
+ description: Name of the port
+ default: ''
+ type: string
+ ControlPlaneIP: # Here for compatability with ctlplane_vip.yaml
+ description: IP address on the control plane
+ default: ''
+ type: string
+ ControlPlaneNetwork: # Here for compatability with ctlplane_vip.yaml
+ description: The name of the undercloud Neutron control plane
+ default: ctlplane
+ type: string
+ ServiceVips:
+ default: {}
+ type: json
+
+outputs:
+ ip_address:
+ description: network IP
+ value: {get_param: [ServiceVips, {get_param: ServiceName}]}