6a90c23342
Remove several configuration items that were deprecated in newton (and perhaps earlier): - logging_facility - advertise_mtu - allow_pagination - allow_sorting - nova_url - quota_items - prevent_arp_spoofing - nova_admin_auth_url - nova_admin_username - nova_admin_tenant_name - nova_admin_tenant_id - nova_admin_password - nova_region_name Depends-On: Iff15f85358c512f991612ee204f0f71fe8579335 Change-Id: I9ceba371a62615faebc5e853eefd3db3bd821480
64 lines
1.8 KiB
Puppet
64 lines
1.8 KiB
Puppet
### Cloud Controller:
|
|
|
|
# General Neutron stuff
|
|
# Configures everything in neutron.conf
|
|
class { '::neutron':
|
|
allow_overlapping_ips => true,
|
|
rabbit_password => 'password',
|
|
rabbit_user => 'guest',
|
|
rabbit_host => 'localhost',
|
|
service_plugins => ['metering']
|
|
}
|
|
|
|
# The API server talks to keystone for authorisation
|
|
class { '::neutron::server':
|
|
auth_password => 'password',
|
|
database_connection => 'mysql://neutron:password@192.168.1.1/neutron',
|
|
}
|
|
|
|
# Configure nova notifications system
|
|
class { '::neutron::server::notifications':
|
|
tenant_name => 'admin',
|
|
password => 'secrete',
|
|
}
|
|
|
|
# Various agents
|
|
class { '::neutron::agents::dhcp': }
|
|
class { '::neutron::agents::l3': }
|
|
class { '::neutron::agents::lbaas': }
|
|
class { '::neutron::agents::vpnaas': }
|
|
class { '::neutron::agents::metering': }
|
|
|
|
# This plugin configures Neutron for OVS on the server
|
|
# Agent
|
|
class { '::neutron::agents::ml2::ovs':
|
|
local_ip => '192.168.1.1',
|
|
tunnel_types => ['vxlan']
|
|
}
|
|
|
|
# ml2 plugin with vxlan as ml2 driver and ovs as mechanism driver
|
|
class { '::neutron::plugins::ml2':
|
|
type_drivers => ['vxlan'],
|
|
tenant_network_types => ['vxlan'],
|
|
vxlan_group => '239.1.1.1',
|
|
mechanism_drivers => ['openvswitch'],
|
|
vni_ranges => ['0:300']
|
|
}
|
|
|
|
### Compute Nodes:
|
|
# Generally, any machine with a neutron element running on it talks
|
|
# over Rabbit and needs to know if overlapping IPs (namespaces) are in use
|
|
class { '::neutron':
|
|
allow_overlapping_ips => true,
|
|
rabbit_password => 'password',
|
|
rabbit_user => 'guest',
|
|
rabbit_host => 'localhost',
|
|
}
|
|
|
|
# The agent/plugin combo also needs installed on clients
|
|
# Agent
|
|
class { '::neutron::agents::ml2::ovs':
|
|
local_ip => '192.168.1.11',
|
|
tunnel_types => ['vxlan']
|
|
}
|