Update the template_version alias for all the templates to pike.
[apex-tripleo-heat-templates.git] / puppet / services / neutron-vpp-agent.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Neutron ML2/VPP 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   RoleName:
18     default: ''
19     description: Role name on which the service is applied
20     type: string
21   RoleParameters:
22     default: {}
23     description: Parameters specific to the role
24     type: json
25   EndpointMap:
26     default: {}
27     description: Mapping of service endpoint -> protocol. Typically set
28                  via parameter_defaults in the resource registry.
29     type: json
30   NeutronVPPAgentPhysnets:
31     description: >
32       List of <physical_network>:<VPP Interface>
33       Example: "physnet1:GigabitEthernet2/2/0,physnet2:GigabitEthernet2/3/0"
34     type: comma_delimited_list
35     default: ""
36
37 resources:
38
39   NeutronBase:
40     type: ./neutron-base.yaml
41     properties:
42       ServiceNetMap: {get_param: ServiceNetMap}
43       DefaultPasswords: {get_param: DefaultPasswords}
44       EndpointMap: {get_param: EndpointMap}
45
46 outputs:
47   role_data:
48     description: Role data for the Neutron ML2/VPP agent service.
49     value:
50       service_name: neutron_vpp_agent
51       config_settings:
52         map_merge:
53           - get_attr: [NeutronBase, role_data, config_settings]
54           - tripleo::profile::base::neutron::agents::vpp::physnet_mapping: {get_param: NeutronVPPAgentPhysnets}
55       step_config: |
56         include ::tripleo::profile::base::neutron::agents::vpp