1 heat_template_version: pike
4 OpenStack Neutron SR-IOV nic agent configured with Puppet
9 description: Dictionary packing service data
14 Mapping of service_name -> network name. Typically set via
15 parameter_defaults in the resource registry. This mapping overrides those
16 in ServiceNetMapDefaults.
23 description: Role name on which the service is applied
27 description: Parameters specific to the role
31 description: Mapping of service endpoint -> protocol. Typically set
32 via parameter_defaults in the resource registry.
34 NeutronPhysicalDevMappings:
36 List of <physical_network>:<physical device>
37 All physical networks listed in network_vlan_ranges
38 on the server should have mappings to appropriate
39 interfaces on each agent.
40 Example "tenant0:ens2f0,tenant1:ens2f1"
41 type: comma_delimited_list
43 NeutronExcludeDevices:
45 List of <network_device>:<excluded_devices> mapping
46 network_device to the agent's node-specific list of virtual functions
47 that should not be used for virtual networking. excluded_devices is a
48 semicolon separated list of virtual functions to exclude from
49 network_device. The network_device in the mapping should appear in the
50 physical_device_mappings list.
51 type: comma_delimited_list
55 Provide the list of VFs to be reserved for each SR-IOV interface.
56 Format "<interface_name1>:<numvfs1>,<interface_name2>:<numvfs2>"
57 Example "eth1:4096,eth2:128"
58 type: comma_delimited_list
64 type: ./neutron-base.yaml
66 ServiceData: {get_param: ServiceData}
67 ServiceNetMap: {get_param: ServiceNetMap}
68 DefaultPasswords: {get_param: DefaultPasswords}
69 EndpointMap: {get_param: EndpointMap}
70 RoleName: {get_param: RoleName}
71 RoleParameters: {get_param: RoleParameters}
73 # Merging role-specific parameters (RoleParameters) with the default parameters.
74 # RoleParameters will have the precedence over the default parameters.
82 - neutron::agents::ml2::sriov::physical_device_mappings: NeutronPhysicalDevMappings
83 neutron::agents::ml2::sriov::exclude_devices: NeutronExcludeDevices
84 tripleo::host::sriov::number_of_vfs: NeutronSriovNumVFs
85 - values: {get_param: [RoleParameters]}
87 NeutronPhysicalDevMappings: {get_param: NeutronPhysicalDevMappings}
88 NeutronExcludeDevices: {get_param: NeutronExcludeDevices}
89 NeutronSriovNumVFs: {get_param: NeutronSriovNumVFs}
93 description: Role data for the Neutron SR-IOV nic agent service.
95 service_name: neutron_sriov_agent
98 - get_attr: [NeutronBase, role_data, config_settings]
99 - get_attr: [RoleParametersValue, value]
101 include ::tripleo::profile::base::neutron::sriov