700b44c77ba31e9640e14f38c6108aa148f36b5e
[apex-tripleo-heat-templates.git] / puppet / services / neutron-sriov-agent.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron SR-IOV nic agent configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: >
10       Mapping of service_name -> network name. Typically set via
11       parameter_defaults in the resource registry. This mapping overrides those
12       in ServiceNetMapDefaults.
13     type: json
14   DefaultPasswords:
15     default: {}
16     type: json
17   NeutronPhysicalDevMappings:
18     description: >
19       List of <physical_network>:<physical device>
20       All physical networks listed in network_vlan_ranges
21       on the server should have mappings to appropriate
22       interfaces on each agent.
23     type: comma_delimited_list
24     default: ""
25   NeutronExcludeDevices:
26     description: >
27       List of <network_device>:<excluded_devices> mapping
28       network_device to the agent's node-specific list of virtual functions
29       that should not be used for virtual networking. excluded_devices is a
30       semicolon separated list of virtual functions to exclude from
31       network_device. The network_device in the mapping should appear in the
32       physical_device_mappings list.
33     type: comma_delimited_list
34     default: ""
35   EndpointMap:
36     default: {}
37     description: Mapping of service endpoint -> protocol. Typically set
38                  via parameter_defaults in the resource registry.
39     type: json
40
41 outputs:
42   role_data:
43     description: Role data for the Neutron SR-IOV nic agent service.
44     value:
45       service_name: neutron_sriov_agent
46       config_settings:
47         neutron::agents::ml2::sriov::physical_device_mappings: {get_param: NeutronPhysicalDevMappings}
48         neutron::agents::ml2::sriov::exclude_devices: {get_param: NeutronExcludeDevices}
49       step_config: |
50         include ::tripleo::profile::base::neutron::sriov