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}
66 type: ./openvswitch-upgrade.yaml
70 description: Role data for the Neutron OVS DPDK Agent service.
72 service_name: neutron_ovs_dpdk_agent
76 - get_attr: [NeutronOvsAgent, role_data, config_settings]
78 tripleo.neutron_ovs_agent.firewall_rules: tripleo.neutron_ovs_dpdk_agent.firewall_rules
79 - neutron::agents::ml2::ovs::enable_dpdk: true
80 neutron::agents::ml2::ovs::datapath_type: {get_param: NeutronDatapathType}
81 neutron::agents::ml2::ovs::vhostuser_socket_dir: {get_param: NeutronVhostuserSocketDir}
82 vswitch::dpdk::host_core_list: {get_param: HostCpusList}
83 vswitch::dpdk::pmd_core_list: {get_param: NeutronDpdkCoreList}
84 vswitch::dpdk::memory_channels: {get_param: NeutronDpdkMemoryChannels}
85 vswitch::dpdk::socket_mem: {get_param: NeutronDpdkSocketMemory}
86 vswitch::dpdk::driver_type: {get_param: NeutronDpdkDriverType}
87 step_config: {get_attr: [NeutronOvsAgent, role_data, step_config]}
89 get_attr: [OpenVswitchUpgrade, role_data, upgrade_tasks]