Merge "multinode-container-upgrade.yaml usable for mixed upgrade"
[apex-tripleo-heat-templates.git] / puppet / services / neutron-vpp-agent.yaml
1 heat_template_version: ocata
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   EndpointMap:
18     default: {}
19     description: Mapping of service endpoint -> protocol. Typically set
20                  via parameter_defaults in the resource registry.
21     type: json
22   NeutronVPPAgentPhysnets:
23     description: >
24       List of <physical_network>:<VPP Interface>
25       Example: "physnet1:GigabitEthernet2/2/0,physnet2:GigabitEthernet2/3/0"
26     type: comma_delimited_list
27     default: ""
28
29 resources:
30
31   NeutronBase:
32     type: ./neutron-base.yaml
33     properties:
34       ServiceNetMap: {get_param: ServiceNetMap}
35       DefaultPasswords: {get_param: DefaultPasswords}
36       EndpointMap: {get_param: EndpointMap}
37
38 outputs:
39   role_data:
40     description: Role data for the Neutron ML2/VPP agent service.
41     value:
42       service_name: neutron_vpp_agent
43       config_settings:
44         map_merge:
45           - get_attr: [NeutronBase, role_data, config_settings]
46           - tripleo::profile::base::neutron::agents::vpp::physnet_mapping: {get_param: NeutronVPPAgentPhysnets}
47       step_config: |
48         include ::tripleo::profile::base::neutron::agents::vpp