summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/heat.yaml
blob: bff431d3897e7f729900d52fbf852eaad911b66b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
    heat:
      charm: "./{{ ubuntu.release }}/heat"
      num_units: {{ unit_qty() }}
{% if os.service.bindings %}
      bindings:
        "": *oam-space
        public: *public-space
        admin: *admin-space
        internal: *internal-space
        shared-db: *internal-space
{% endif %}
      options:
        openstack-origin: *openstack-origin
        region: *openstack-region
        encryption-key: C4PmHbY3gbBT38wh
{% if os.network.ipv6 %}
        prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
        worker-multiplier: *worker-multiplier
{% if os.ha.mode == 'ha' %}
        vip: {{ opnfv.vip.heat }}
{% endif %}
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
{# Empty block to avoid bad block trim #}
ork. type: string default: 192.168.24.1 EC2MetadataIp: # Override this via parameter_defaults description: The IP address of the EC2 metadata server. type: string default: 169.254.169.254/32 resources: OsNetConfigImpl: type: OS::Heat::SoftwareConfig properties: group: script config: str_replace: template: get_file: network/scripts/run-os-net-config.sh params: $network_config: network_config: - type: linux_bridge name: bridge_name addresses: - ip_netmask: get_param: ControlPlaneIp members: - type: interface name: interface_name # force the MAC address of the bridge to this interface primary: true routes: - ip_netmask: 0.0.0.0/0 next_hop: get_param: ControlPlaneDefaultRoute default: true - ip_netmask: get_param: EC2MetadataIp next_hop: get_param: ControlPlaneDefaultRoute outputs: OS::stack_id: description: The OsNetConfigImpl resource. value: get_resource: OsNetConfigImpl