instack-undercloud/templates/config.json.template
Derek Higgins 24694e5fd0 Provide LOCAL_IP_WRAPPED as a instack env variable
This can be then be used in places that require a IP
address to be wrapped in square brackets if it is IPv6.

Change-Id: Idb437dee5ddec0a015c68847b9514f7bbb3f70a1
2017-09-06 15:26:46 +01:00

41 lines
1005 B
Plaintext

{
"hiera": {
"hierarchy": [
{{#HIERADATA_OVERRIDE}}
"{{.}}",
{{/HIERADATA_OVERRIDE}}
"\"%{::operatingsystem}\"",
"\"%{::osfamily}\"",
"puppet-stack-config"
]},
"local-ip": "{{LOCAL_IP}}",
"local-ip-wrapped": "{{LOCAL_IP_WRAPPED}}",
"masquerade_networks": ["{{MASQUERADE_NETWORK}}"],
"service_certificate": "{{UNDERCLOUD_SERVICE_CERTIFICATE}}",
"public_host": "{{UNDERCLOUD_PUBLIC_HOST}}",
"neutron": {
"dhcp_start": "{{DHCP_START}}",
"dhcp_end": "{{DHCP_END}}",
"network_cidr": "{{NETWORK_CIDR}}",
"network_gateway": "{{NETWORK_GATEWAY}}"
},
"inspection": {
"interface": "{{DISCOVERY_INTERFACE}}",
"iprange": "{{DISCOVERY_IPRANGE}}",
"runbench": "{{DISCOVERY_RUNBENCH}}"
},
"os_net_config": {
{{> net_config}}
},
"keystone": {
"host": "{{LOCAL_IP}}"
},
"ironic": {
"service-password": "{{UNDERCLOUD_IRONIC_PASSWORD}}"
},
"bootstrap_host": {
"bootstrap_nodeid": "undercloud",
"nodeid": "undercloud"
}
}