summaryrefslogtreecommitdiffstats
path: root/puppet/services/cinder-volume.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-23 23:53:23 +0000
committerGerrit Code Review <review@openstack.org>2016-08-23 23:53:23 +0000
commita95e4c2afe614064f2ec8417f13b7b9719fc5e31 (patch)
tree52407ebe04d773f2be12b0c453d2761adfbcfd8f /puppet/services/cinder-volume.yaml
parent59e3f2c696d05e83cf48aa359901cedac592d596 (diff)
parent0d79742ec1279d1225b7e12fd509f2d734291324 (diff)
Merge "Set cinder::api::bind_host within service template"
Diffstat (limited to 'puppet/services/cinder-volume.yaml')
-rw-r--r--puppet/services/cinder-volume.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/puppet/services/cinder-volume.yaml b/puppet/services/cinder-volume.yaml
index 5dab466e..de7e6bab 100644
--- a/puppet/services/cinder-volume.yaml
+++ b/puppet/services/cinder-volume.yaml
@@ -90,5 +90,15 @@ outputs:
tripleo.cinder_volume.firewall_rules:
'120 iscsi initiator':
dport: 3260
+ # NOTE: bind IP is found in Heat replacing the network name with the local node IP
+ # for the given network; replacement examples (eg. for internal_api):
+ # internal_api -> IP
+ # internal_api_uri -> [IP]
+ # internal_api_subnet - > IP/CIDR
+ tripleo::profile::base::cinder::volume::iscsi::cinder_iscsi_address:
+ str_replace:
+ template: "NETWORK_uri"
+ params:
+ NETWORK: {get_param: [ServiceNetMap, CinderIscsiNetwork]}
step_config: |
include ::tripleo::profile::base::cinder::volume