Merge "Change the port to get compatibility with Oxygen"
authorDaniel Farrell <dfarrell@redhat.com>
Mon, 9 Apr 2018 13:59:40 +0000 (13:59 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 9 Apr 2018 13:59:40 +0000 (13:59 +0000)
tasks/configure_genius_tunnels.yml
templates/genius-itm-config.xml.j2

index f4ebd3bbca9db5ce9a89f3e4ac4082aea495f210..1779a5d3d88cd13a8934215af379add49ce3460d 100644 (file)
@@ -13,6 +13,9 @@
     mode: "0644"
     owner: "odl"
     group: "odl"
+  when:
+    - odl_version is defined
+    - odl_version == 'nitrogen'
 
 - name: Configure Genius to create vxlan-gpe tunnels
   template:
index 52b90b1993076a3c39e7ce3baf02d5aaced3f810..105273de5dd4ac624df58432560fbec9c5b69f9b 100644 (file)
@@ -1,5 +1,5 @@
 <itm-config xmlns="urn:opendaylight:genius:itm:config">
-    <def-tz-enabled>false</def-tz-enabled>
+    <def-tz-enabled>{% if odl_version is defined and odl_version == 'nitrogen'%}false{% else %}true{% endif %}</def-tz-enabled>
     <def-tz-tunnel-type>vxlan</def-tz-tunnel-type>
     <tunnel-aggregation>
         <tunnel-type>vxlan</tunnel-type>