summaryrefslogtreecommitdiffstats
path: root/ci/bundle_tpl/subordinate.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-07-20 15:02:04 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-07-20 15:15:25 -0500
commit34ec6f6a4b29a5a9d142e441886b445ebbe8939d (patch)
tree636645d0fb5d3f11b04d7f34a1cc847a5aaed0d4 /ci/bundle_tpl/subordinate.yaml
parent062a66804c14396c23cb1fe5c3c069e64299678d (diff)
trying to add the os-data-network for openvswitch only.
Change-Id: Ie0862c77d82e5446f898d0553a126fece1720366 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/bundle_tpl/subordinate.yaml')
-rw-r--r--ci/bundle_tpl/subordinate.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/ci/bundle_tpl/subordinate.yaml b/ci/bundle_tpl/subordinate.yaml
index 6f654455..aea5232c 100644
--- a/ci/bundle_tpl/subordinate.yaml
+++ b/ci/bundle_tpl/subordinate.yaml
@@ -14,6 +14,12 @@
security-groups: True
openvswitch-odl:
charm: local:{{ ubuntu.release }}/openvswitch-odl
+ options:
+{% if opnfv.spaces_dict.data is defined %}
+ os-data-network: {{ opnfv.spaces_dict.data.cidr }}
+{% else %}
+ #os-data-network: {{ opnfv.spaces_dict.data.cidr }}
+{% endif %}
{% elif os.network.controller == 'onos' %}
neutron-api-onos:
charm: local:{{ ubuntu.release }}/neutron-api-onos
@@ -22,8 +28,13 @@
security-groups: True
openvswitch-onos:
charm: local:{{ ubuntu.release }}/openvswitch-onos
-{% if os.network.sfc %}
options:
+{% if opnfv.spaces_dict.data is defined %}
+ os-data-network: {{ opnfv.spaces_dict.data.cidr }}
+{% else %}
+ #os-data-network: {{ opnfv.spaces_dict.data.cidr }}
+{% endif %}
+{% if os.network.sfc %}
profile: onos-sfc
{% endif %}
{% elif os.network.controller == 'ocl' %}