2be64b1507cd0c323956d18f5f4fb95b78e2f534
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / odl.yaml
1     odl-controller:
2       charm: ./{{ ubuntu.release }}/odl-controller
3       num_units: 1
4 {% if os.service.bindings %}
5       bindings:
6         shared-db: internal-api
7         internal: internal-api
8 {% if opnfv.spaces_dict.public is defined %}
9         public: public-api
10 {% if opnfv.spaces_dict.data is defined %}
11         admin: admin-api
12 {% else %}
13         admin: internal-api
14 {% endif %}
15 {% else %}
16         admin: internal-api
17         public: internal-api
18 {% endif %}
19 {% endif %}
20       options:
21         install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.5.2-Boron-SR2/distribution-karaf-0.5.2-Boron-SR2.tar.gz"
22 {% if os.network.sfc %}
23         profile: "openvswitch-odl-beryllium-sfc"
24 {% elif os.network.bgpvpn %}
25         profile: "openvswitch-odl-beryllium-vpn"
26 {% elif os.network.odll3 %}
27         profile: "openvswitch-odl-beryllium-l3"
28 {% else %}
29         profile: "openvswitch-odl-boron"
30 {% endif %}
31         http-proxy: "http://squid.internal:3128"
32         https-proxy: "http://squid.internal:3128"
33       to:
34         - "lxd:nodes/0"