21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# File 'manifests/plugins/ml2/cisco/nexus.pp', line 21
class neutron::plugins::ml2::cisco::nexus (
$nexus_config = undef,
)
{
if !$nexus_config {
fail('No nexus config specified')
}
# For Ubuntu: This package is not available upstream
# Please use the source from:
# https://launchpad.net/~cisco-openstack/+archive/python-ncclient
# and install it manually
package { 'python-ncclient':
ensure => installed,
} ~> Service['neutron-server']
Neutron_plugin_ml2<||> ->
file { $::neutron::params::cisco_ml2_config_file:
owner => 'root',
group => 'root',
content => template('neutron/ml2_conf_cisco.ini.erb'),
} ~> Service['neutron-server']
create_resources(neutron::plugins::ml2::cisco::nexus_creds, $nexus_config)
}
|