1 heat_template_version: ocata
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}
70 description: Role data for the Neutron SR-IOV nic agent service.
72 service_name: neutron_sriov_agent
75 - get_attr: [NeutronBase, role_data, config_settings]
76 - neutron::agents::ml2::sriov::physical_device_mappings: {get_param: NeutronPhysicalDevMappings}
77 neutron::agents::ml2::sriov::exclude_devices: {get_param: NeutronExcludeDevices}
78 tripleo::host::sriov::number_of_vfs: {get_param: NeutronSriovNumVFs}
80 include ::tripleo::profile::base::neutron::sriov