summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml.j2
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2019-07-29 06:14:19 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-07-29 06:14:19 +0000
commit996cd16af2b0e2804becb9cb73fe7f92a57b3c94 (patch)
tree7f27487c0ae7813e8ab9345798e77f540053e04c /mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml.j2
parente482be713cd97e862637bec6f89d5c41fe40e549 (diff)
parentbf9afae3f5beccf284eac384b9135673af4afd67 (diff)
Merge "Update OpenDaylight version to Neon"
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml.j2')
-rw-r--r--mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml.j2 b/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml.j2
index 93313adc7..946cdda03 100644
--- a/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml.j2
@@ -43,3 +43,15 @@ parameters:
use_interfaces:
- {{ ma.interface_str(nm.ctl01.nic_private, vlan_private_start) }}
{%- endif %}
+ system:
+ file:
+ /var/tmp/odl_hostconfig.patch:
+ contents: |
+ 420c420
+ < if datapath_types.find(datapath_type) >= 0)
+ ---
+ > if datapath_type in datapath_types)
+ 460c460
+ < return subprocess.check_output(command_line).strip() # nosec
+ ---
+ > return subprocess.check_output(command_line).strip().decode() # nosec