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 host process
25 - allowed_pattern: "'[0-9,-]+'"
27 description: List of cores to be used for DPDK Poll Mode Driver
30 - allowed_pattern: "'[0-9,-]+'"
31 NeutronDpdkMemoryChannels:
32 description: Number of memory channels to be used for DPDK
35 - allowed_pattern: "[0-9]+"
36 NeutronDpdkSocketMemory:
38 description: Memory allocated for each socket
40 NeutronDpdkDriverType:
42 description: DPDK Driver type
44 # below parameters has to be set in neutron agent only for compute nodes.
45 # as of now there is no other usecase for these parameters except dpdk.
46 # should be moved to compute only ovs agent in case of any other usecases.
49 description: Datapath type for ovs bridges
51 NeutronVhostuserSocketDir:
53 description: The vhost-user socket directory for OVS
59 type: ./neutron-ovs-agent.yaml
61 ServiceNetMap: {get_param: ServiceNetMap}
62 DefaultPasswords: {get_param: DefaultPasswords}
63 EndpointMap: {get_param: EndpointMap}
67 description: Role data for the Neutron OVS DPDK Agent service.
69 service_name: neutron_ovs_dpdk_agent
72 - get_attr: [NeutronOvsAgent, role_data, config_settings]
73 - neutron::agents::ml2::ovs::enable_dpdk: true
74 neutron::agents::ml2::ovs::datapath_type: {get_param: NeutronDatapathType}
75 neutron::agents::ml2::ovs::vhostuser_socket_dir: {get_param: NeutronVhostuserSocketDir}
76 vswitch::dpdk::host_core_list: {get_param: HostCpusList}
77 vswitch::dpdk::pmd_core_list: {get_param: NeutronDpdkCoreList}
78 vswitch::dpdk::memory_channels: {get_param: NeutronDpdkMemoryChannels}
79 vswitch::dpdk::socket_mem: {get_param: NeutronDpdkSocketMemory}
80 vswitch::dpdk::driver_type: {get_param: NeutronDpdkDriverType}
81 step_config: {get_attr: [NeutronOvsAgent, role_data, step_config]}