neutron: don't set external_network_bridge option by default
[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   EndpointMap:
18     default: {}
19     description: Mapping of service endpoint -> protocol. Typically set
20                  via parameter_defaults in the resource registry.
21     type: json
22   NeutronPhysicalDevMappings:
23     description: >
24       List of <physical_network>:<physical device>
25       All physical networks listed in network_vlan_ranges
26       on the server should have mappings to appropriate
27       interfaces on each agent.
28     type: comma_delimited_list
29     default: ""
30   NeutronExcludeDevices:
31     description: >
32       List of <network_device>:<excluded_devices> mapping
33       network_device to the agent's node-specific list of virtual functions
34       that should not be used for virtual networking. excluded_devices is a
35       semicolon separated list of virtual functions to exclude from
36       network_device. The network_device in the mapping should appear in the
37       physical_device_mappings list.
38     type: comma_delimited_list
39     default: ""
40   NeutronSriovNumVFs:
41     description: >
42       Provide the list of VFs to be reserved for each SR-IOV interface.
43       Format "<interface_name1>:<numvfs1>","<interface_name2>:<numvfs2>"
44       Example "eth1:4096","eth2:128"
45     type: comma_delimited_list
46     default: ""
47
48 resources:
49
50   NeutronBase:
51     type: ./neutron-base.yaml
52     properties:
53       ServiceNetMap: {get_param: ServiceNetMap}
54       DefaultPasswords: {get_param: DefaultPasswords}
55       EndpointMap: {get_param: EndpointMap}
56
57 outputs:
58   role_data:
59     description: Role data for the Neutron SR-IOV nic agent service.
60     value:
61       service_name: neutron_sriov_agent
62       config_settings:
63         map_merge:
64           - get_attr: [NeutronBase, role_data, config_settings]
65           - neutron::agents::ml2::sriov::physical_device_mappings: {get_param: NeutronPhysicalDevMappings}
66             neutron::agents::ml2::sriov::exclude_devices: {get_param: NeutronExcludeDevices}
67             tripleo::host::sriov::number_of_vfs: {get_param: NeutronSriovNumVFs}
68       step_config: |
69         include ::tripleo::profile::base::neutron::sriov