summaryrefslogtreecommitdiffstats
path: root/puppet/manifests/overcloud_compute.pp
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-29 19:19:41 +0000
committerGerrit Code Review <review@openstack.org>2016-03-29 19:19:41 +0000
commite47ac07d4fdd61bae3789d39c12d06050e37dfd6 (patch)
tree6d4c756a4808be23bf0a729fd0e5f1e6fce753e6 /puppet/manifests/overcloud_compute.pp
parent7d704fbd074cdeb2b381aab353ee1deaeb9ae736 (diff)
parentee2c9ea45d705ad50fff991318342b06a8bbc721 (diff)
Merge "PLUMgrid Neutron integration"
Diffstat (limited to 'puppet/manifests/overcloud_compute.pp')
-rw-r--r--puppet/manifests/overcloud_compute.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_compute.pp b/puppet/manifests/overcloud_compute.pp
index 13ae31c5..ee77518e 100644
--- a/puppet/manifests/overcloud_compute.pp
+++ b/puppet/manifests/overcloud_compute.pp
@@ -152,6 +152,20 @@ elsif hiera('neutron::core_plugin') == 'neutron_plugin_contrail.plugins.opencont
# require => Class['contrail::vrouter'],
#}
}
+elsif hiera('neutron::core_plugin') == 'networking_plumgrid.neutron.plugins.plugin.NeutronPluginPLUMgridV2' {
+ # forward all ipv4 traffic
+ # this is required for the vms to pass through the gateways public interface
+ sysctl::value { 'net.ipv4.ip_forward': value => '1' }
+
+ # ifc_ctl_pp needs to be invoked by root as part of the vif.py when a VM is powered on
+ file { '/etc/sudoers.d/ifc_ctl_sudoers':
+ ensure => file,
+ owner => root,
+ group => root,
+ mode => '0440',
+ content => "nova ALL=(root) NOPASSWD: /opt/pg/bin/ifc_ctl_pp *\n",
+ }
+}
else {
include ::neutron::plugins::ml2