Merge "M/N upgrade set scheduler_host_manager right."
[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   NeutronSriovNumVFs:
36     description: >
37       Provide the list of VFs to be reserved for each SR-IOV interface.
38       Format "<interface_name1>:<numvfs1>","<interface_name2>:<numvfs2>"
39       Example "eth1:4096","eth2:128"
40     type: comma_delimited_list
41     default: ""
42   EndpointMap:
43     default: {}
44     description: Mapping of service endpoint -> protocol. Typically set
45                  via parameter_defaults in the resource registry.
46     type: json
47
48 outputs:
49   role_data:
50     description: Role data for the Neutron SR-IOV nic agent service.
51     value:
52       service_name: neutron_sriov_agent
53       config_settings:
54         neutron::agents::ml2::sriov::physical_device_mappings: {get_param: NeutronPhysicalDevMappings}
55         neutron::agents::ml2::sriov::exclude_devices: {get_param: NeutronExcludeDevices}
56         neutron::agents::ml2::sriov::number_of_vfs: {get_param: NeutronSriovNumVFs}
57       step_config: |
58         include ::tripleo::profile::base::neutron::sriov