summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-02-10 11:59:02 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-02-10 11:59:02 -0600
commit3add42efb7e43db0cc770563d3ecc32ccb493ccd (patch)
tree2c2cd81b6397b5cbd5fa8aaa7e513eea3e823f02 /ci/config_tpl/juju2
parent96694b0faed76ee24722a2d66c8064650cc873a7 (diff)
fix the ODL deployment.
Change-Id: I37127878afac245d7281e1bcebbe22af11fc9710 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/subordinate.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/subordinate.yaml b/ci/config_tpl/juju2/bundle_tpl/subordinate.yaml
index 330961b6..015130b7 100644
--- a/ci/config_tpl/juju2/bundle_tpl/subordinate.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/subordinate.yaml
@@ -25,6 +25,9 @@
openvswitch-odl:
charm: ./{{ ubuntu.release }}/openvswitch-odl
options:
++{% if opnfv.ext_port is defined %}
++ provider_mappings: "physnet1:{{ opnfv.ext_port }}"
++{% endif %}
{% if opnfv.spaces_dict.data is defined %}
os-data-network: {{ opnfv.spaces_dict.data.cidr }}
{% endif %}