~narindergupta/opnfv/neutron-gateway

« back to all changes in this revision

Viewing changes to templates/icehouse/metadata_agent.ini

  • Committer: Narinder Gupta (for canonical email id)
  • Date: 2017-02-15 16:35:39 UTC
  • Revision ID: narinder.gupta@canonical.com-20170215163539-3mm1k5mo1dxl4r5x
first draft version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###############################################################################
 
2
# [ WARNING ]
 
3
# Configuration file maintained by Juju. Local changes may be overwritten.
 
4
###############################################################################
 
5
# Metadata service seems to cache neutron api url from keystone so trigger
 
6
# restart if it changes: {{ quantum_url }}
 
7
[DEFAULT]
 
8
auth_url = {{ service_protocol }}://{{ keystone_host }}:{{ service_port }}/v2.0
 
9
auth_region = {{ region }}
 
10
admin_tenant_name = {{ service_tenant }}
 
11
admin_user = {{ service_username }}
 
12
admin_password = {{ service_password }}
 
13
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
 
14
state_path = /var/lib/neutron
 
15
# Gateway runs a metadata API server locally
 
16
nova_metadata_ip = {{ local_ip }}
 
17
nova_metadata_port = 8775
 
18
metadata_proxy_shared_secret = {{ shared_secret }}
 
19
cache_url = memory://?default_ttl=5
 
20
metadata_workers = {{ workers }}