Adding ingress support

Adding ingress objects creation for service

Change-Id: Ib7526ffb339e7ff68ffb08bf7f0ea4f270cc8a07
Depends-On: Ic621af6930f078eea17fd83fce26b42cd32ecf01
This commit is contained in:
Andrey Pavlov 2016-10-27 07:12:48 +00:00
parent bdde470ba7
commit 5a6653a5b2
2 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@ service:
dependencies:
- cinder-service-create
type: single
command: openstack endpoint create --region RegionOne volumev2 public http://{{ address('cinder-api') }}:{{ cinder.api_port.cont }}/v2/%\(tenant_id\)s
command: openstack endpoint create --region RegionOne volumev2 public http://{{ address('cinder-api', cinder.api_port, external=True) }}/v2/%\(tenant_id\)s
- name: cinder-internal-endpoint-create
dependencies:
- cinder-service-create

View File

@ -2,6 +2,7 @@ configs:
cinder:
api_port:
cont: 8776
ingress: volume
debug: false
username: "cinder"
password: "password"