Populate vnc_api_lib.ini on compute nodes with OpenContrail

This is setting sane defaults for vnc_api_lib.ini as requested from the
field. The settings still can be overriden using NovaComputeExtraConfig
if needed.

Change-Id: I6a823c0b34f6ea21aa16939577ac0e1563483557
Closes-Bug: #1620647
This commit is contained in:
Jiri Stransky 2016-09-08 18:23:09 +02:00
parent 6480942f4b
commit 66b5c5d5a2
1 changed files with 12 additions and 0 deletions

View File

@ -32,6 +32,18 @@ resources:
contrail::vrouter::provision_vrouter::keystone_admin_tenant_name: admin
contrail::vrouter::provision_vrouter::keystone_admin_password: '"%{::admin_password}"'
contrail::vnc_api::vnc_api_config:
'auth/AUTHN_TYPE':
value: keystone
'auth/AUTHN_PROTOCOL':
value: http
'auth/AUTHN_SERVER':
value: "%{hiera('keystone_admin_api_vip')}"
'auth/AUTHN_PORT':
value: 35357
'auth/AUTHN_URL':
value: '/v2.0/tokens'
ComputeContrailDeployment:
type: OS::Heat::StructuredDeployment
properties: