aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorJanki Chhatbar <jchhatba@redhat.com>2017-08-15 18:16:17 +0530
committerJanki Chhatbar <jchhatba@redhat.com>2017-09-06 11:17:09 +0000
commit4e8013ea4c29f6ff14a2fcb813ee6bf37db45a88 (patch)
tree123a72340b37981ab1b47332c6e2cd16c6a4ab75 /puppet
parent0fd2fdaa9035d2af09b3eddd88b60c8f1a0e54f6 (diff)
Add param to configure snat mechanism
Add a parameter to configure SNAT mechanism in OpenDayLight defaulting to conntrack for OVS and defaulting to controller mechanism for OVS-DPDK Change-Id: I48c6f07de55cb2574cc3a7e9653b812f875df726 Closes-Bug: #1710614 (cherry picked from commit 9a450a8e505b5d7ccef7e5e7675573da2a4cd42c)
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/opendaylight-api.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/services/opendaylight-api.yaml b/puppet/services/opendaylight-api.yaml
index 472dbcce..71536ff3 100644
--- a/puppet/services/opendaylight-api.yaml
+++ b/puppet/services/opendaylight-api.yaml
@@ -62,6 +62,14 @@ parameters:
description: Whether to manage the OpenDaylight repository
type: boolean
default: false
+ OpenDaylightSNATMechanism:
+ description: SNAT mechanism to be used
+ default: 'conntrack'
+ type: string
+ constraints:
+ - allowed_values:
+ - conntrack
+ - controller
outputs:
role_data:
@@ -84,6 +92,7 @@ outputs:
- 6640
- 6653
- 2550
+ opendaylight::snat_mechanism: {get_param: OpenDaylightSNATMechanism}
step_config: |
include tripleo::profile::base::neutron::opendaylight
upgrade_tasks: