modfiied to have space support in the juju2 configuration.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / congress.yaml
1     congress:
2       charm: "./{{ ubuntu.release }}/congress"
3       num_units: 1
4       bindings:
5         internal: internal
6 {% if opnfv.spaces_dict.data is defined %}
7         admin: admin
8 {% else %}
9         admin: internal
10 {% endif %}
11 {% if opnfv.spaces_dict.public is defined %}
12         public: public
13 {% else %}
14         public: internal
15 {% endif %}
16       options:
17         region: {{ os.region }}
18 {% if ubuntu.release == 'trusty' %}
19         source-branch: "stable/{{ os.release  }}"
20 {% endif %}
21       to:
22         - "lxd:nodes/0"
23 {# Empty block to avoid bad block trim #}