Composable Plumgrid compute plugin
Adds a new neutron compute plugin used to help configure plumgrid for use on compute nodes. Change-Id: Ied6493aba826a602b2ce73359d1acf26ebe89869
This commit is contained in:
@@ -9,7 +9,7 @@ resource_registry:
|
|||||||
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
|
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
|
||||||
# Override the Neutron core plugin to use PLUMgrid
|
# Override the Neutron core plugin to use PLUMgrid
|
||||||
OS::TripleO::Services::NeutronCorePlugin: OS::TripleO::Services::NeutronCorePluginPlumgrid
|
OS::TripleO::Services::NeutronCorePlugin: OS::TripleO::Services::NeutronCorePluginPlumgrid
|
||||||
OS::TripleO::Services::ComputeNeutronCorePlugin: OS::Heat::None
|
OS::TripleO::Services::ComputeNeutronCorePlugin: ../puppet/services/neutron-compute-plugin-plumgrid.yaml
|
||||||
|
|
||||||
parameter_defaults:
|
parameter_defaults:
|
||||||
NeutronCorePlugin: networking_plumgrid.neutron.plugins.plugin.NeutronPluginPLUMgridV2
|
NeutronCorePlugin: networking_plumgrid.neutron.plugins.plugin.NeutronPluginPLUMgridV2
|
||||||
|
@@ -42,20 +42,6 @@ if hiera('step') >= 4 {
|
|||||||
# require => Class['contrail::vrouter'],
|
# 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",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
include ::ceilometer
|
include ::ceilometer
|
||||||
include ::ceilometer::config
|
include ::ceilometer::config
|
||||||
|
19
puppet/services/neutron-compute-plugin-plumgrid.yaml
Normal file
19
puppet/services/neutron-compute-plugin-plumgrid.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
heat_template_version: 2016-04-08
|
||||||
|
|
||||||
|
description: >
|
||||||
|
OpenStack Neutron Compute Plumgrid plugin
|
||||||
|
|
||||||
|
parameters:
|
||||||
|
EndpointMap:
|
||||||
|
default: {}
|
||||||
|
description: Mapping of service endpoint -> protocol. Typically set
|
||||||
|
via parameter_defaults in the resource registry.
|
||||||
|
type: json
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
role_data:
|
||||||
|
description: Role data for the Neutron Compute Plumgrid plugin
|
||||||
|
value:
|
||||||
|
config_settings:
|
||||||
|
step_config: |
|
||||||
|
include tripleo::profile::base::neutron::plumgrid
|
Reference in New Issue
Block a user