diff options
author | Tim Rozet <trozet@redhat.com> | 2016-09-10 03:01:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-10 03:01:14 +0000 |
commit | 6a07c774db6e94e34d3aea4fbcc2bee75633fe6b (patch) | |
tree | 921bb401f8b5044d70f77e61a0a84844880a0979 /build/puppet-neutron/manifests/plugins | |
parent | a715ec7cd3677b22c6961342491d61637a487586 (diff) | |
parent | d327766d7e7ff91f4ed1a11cfcda70254420f524 (diff) |
Merge "Enables networking-vpp in nosdn-fdio scenario"
Diffstat (limited to 'build/puppet-neutron/manifests/plugins')
-rw-r--r-- | build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp b/build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp new file mode 100644 index 00000000..26548d3a --- /dev/null +++ b/build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp @@ -0,0 +1,33 @@ +# +# Install the networking-vpp ML2 mechanism driver and generate config file +# from parameters in the other classes. +# +# === Parameters +# +# [*package_ensure*] +# (optional) The intended state of the networking-vpp +# package, i.e. any of the possible values of the 'ensure' +# property for a package resource type. +# Defaults to 'present' +# +# [*agents*] +# Networking-vpp agents's addresses +# Defaults to $::os_service_default +# +class neutron::plugins::ml2::networking-vpp ( + $package_ensure = 'present', + $agents = $::os_service_default, +) { + require ::neutron::plugins::ml2 + + ensure_resource('package', 'networking-vpp', + { + ensure => $package_ensure, + tag => 'openstack', + } + ) + + neutron_plugin_ml2 { + 'ml2_vpp/agents': value => $agents; + } +} |