1 heat_template_version: ocata
4 OpenStack Neutron OVS DPDK configured with Puppet for Compute Role
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
22 description: List of cores to be used for DPDK Poll Mode Driver
25 - allowed_pattern: "'[0-9,-]+'"
26 NeutronDpdkMemoryChannels:
27 description: Number of memory channels to be used for DPDK
30 - allowed_pattern: "[0-9]+"
31 NeutronDpdkSocketMemory:
33 description: Memory allocated for each socket
35 NeutronDpdkDriverType:
37 description: DPDK Driver type
39 # below parameters has to be set in neutron agent only for compute nodes.
40 # as of now there is no other usecase for these parameters except dpdk.
41 # should be moved to compute only ovs agent in case of any other usecases.
44 description: Datapath type for ovs bridges
46 NeutronVhostuserSocketDir:
48 description: The vhost-user socket directory for OVS
54 type: ./neutron-ovs-agent.yaml
56 ServiceNetMap: {get_param: ServiceNetMap}
57 DefaultPasswords: {get_param: DefaultPasswords}
58 EndpointMap: {get_param: EndpointMap}
62 description: Role data for the Neutron OVS DPDK Agent service.
64 service_name: neutron_ovs_dpdk_agent
67 - get_attr: [NeutronOvsAgent, role_data, config_settings]
68 - neutron::agents::ml2::ovs::enable_dpdk: true
69 neutron::agents::ml2::ovs::datapath_type: {get_param: NeutronDatapathType}
70 neutron::agents::ml2::ovs::vhostuser_socket_dir: {get_param: NeutronVhostuserSocketDir}
71 vswitch::dpdk::core_list: {get_param: NeutronDpdkCoreList}
72 vswitch::dpdk::memory_channels: {get_param: NeutronDpdkMemoryChannels}
73 vswitch::dpdk::socket_mem: {get_param: NeutronDpdkSocketMemory}
74 vswitch::dpdk::driver_type: {get_param: NeutronDpdkDriverType}
75 step_config: {get_attr: [NeutronOvsAgent, role_data, step_config]}