modified the template to support sfc feature for onos integration. 05/17105/2
authorNarinder Gupta <narinder.gupta@canonical.com>
Tue, 19 Jul 2016 03:59:39 +0000 (22:59 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Tue, 19 Jul 2016 04:02:45 +0000 (23:02 -0500)
Change-Id: I335170387d49518d1ca2c8bb72e7c3707a170320
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/bundle_tpl/odl.yaml
ci/bundle_tpl/onos.yaml
ci/bundle_tpl/subordinate.yaml

index 66f2e58..30f555c 100644 (file)
@@ -3,9 +3,9 @@
       options:
         install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.4.2-Beryllium-SR2/distribution-karaf-0.4.2-Beryllium-SR2.tar.gz"
 {% if os.network.sfc %}
-        profile: "openvswitch-odl-beryllium-vpn"
-{% elif os.network.bgpvpn %}
         profile: "openvswitch-odl-beryllium-sfc"
+{% elif os.network.bgpvpn %}
+        profile: "openvswitch-odl-beryllium-vpn"
 {% elif os.network.odll3 %}
         profile: "openvswitch-odl-beryllium-l3"
 {% else %}
index 4459330..fd08c71 100644 (file)
@@ -1,7 +1,9 @@
     onos-controller:
       charm: local:{{ ubuntu.release }}/onos-controller
       options:
-        #ext-port: "eth1"
+{% if opnfv.ext_port is defined  %}
+        ext-port: {{ opnfv.ext_port }}
+{% endif %}
         #gateway-mac: "default"
       to:
         - "lxc:nodes=0"
index cc61920..6f65445 100644 (file)
         security-groups: True
     openvswitch-onos:
       charm: local:{{ ubuntu.release }}/openvswitch-onos
+{% if os.network.sfc %}
+      options:
+        profile: onos-sfc
+{% endif %}
 {% elif os.network.controller == 'ocl' %}
     neutron-api-contrail:
       charm: local:{{ ubuntu.release }}/neutron-api-contrail