1 heat_template_version: pike
4 OpenStack Neutron SR-IOV nic agent configured with Puppet
10 Mapping of service_name -> network name. Typically set via
11 parameter_defaults in the resource registry. This mapping overrides those
12 in ServiceNetMapDefaults.
19 description: Role name on which the service is applied
23 description: Parameters specific to the role
27 description: Mapping of service endpoint -> protocol. Typically set
28 via parameter_defaults in the resource registry.
30 NeutronPhysicalDevMappings:
32 List of <physical_network>:<physical device>
33 All physical networks listed in network_vlan_ranges
34 on the server should have mappings to appropriate
35 interfaces on each agent.
36 Example "tenant0:ens2f0,tenant1:ens2f1"
37 type: comma_delimited_list
39 NeutronExcludeDevices:
41 List of <network_device>:<excluded_devices> mapping
42 network_device to the agent's node-specific list of virtual functions
43 that should not be used for virtual networking. excluded_devices is a
44 semicolon separated list of virtual functions to exclude from
45 network_device. The network_device in the mapping should appear in the
46 physical_device_mappings list.
47 type: comma_delimited_list
51 Provide the list of VFs to be reserved for each SR-IOV interface.
52 Format "<interface_name1>:<numvfs1>,<interface_name2>:<numvfs2>"
53 Example "eth1:4096,eth2:128"
54 type: comma_delimited_list
60 type: ./neutron-base.yaml
62 ServiceNetMap: {get_param: ServiceNetMap}
63 DefaultPasswords: {get_param: DefaultPasswords}
64 EndpointMap: {get_param: EndpointMap}
65 RoleName: {get_param: RoleName}
66 RoleParameters: {get_param: RoleParameters}
68 # Merging role-specific parameters (RoleParameters) with the default parameters.
69 # RoleParameters will have the precedence over the default parameters.
77 - neutron::agents::ml2::sriov::physical_device_mappings: NeutronPhysicalDevMappings
78 neutron::agents::ml2::sriov::exclude_devices: NeutronExcludeDevices
79 tripleo::host::sriov::number_of_vfs: NeutronSriovNumVFs
80 - values: {get_param: [RoleParameters]}
82 NeutronPhysicalDevMappings: {get_param: NeutronPhysicalDevMappings}
83 NeutronExcludeDevices: {get_param: NeutronExcludeDevices}
84 NeutronSriovNumVFs: {get_param: NeutronSriovNumVFs}
88 description: Role data for the Neutron SR-IOV nic agent service.
90 service_name: neutron_sriov_agent
93 - get_attr: [NeutronBase, role_data, config_settings]
94 - get_attr: [RoleParametersValue, value]
96 include ::tripleo::profile::base::neutron::sriov