Merge "Ps Cinder: Added support for password less login"
[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   ServiceData:
8     default: {}
9     description: Dictionary packing service data
10     type: json
11   ServiceNetMap:
12     default: {}
13     description: >
14       Mapping of service_name -> network name. Typically set via
15       parameter_defaults in the resource registry. This mapping overrides those
16       in ServiceNetMapDefaults.
17     type: json
18   DefaultPasswords:
19     default: {}
20     type: json
21   RoleName:
22     default: ''
23     description: Role name on which the service is applied
24     type: string
25   RoleParameters:
26     default: {}
27     description: Parameters specific to the role
28     type: json
29   EndpointMap:
30     default: {}
31     description: Mapping of service endpoint -> protocol. Typically set
32                  via parameter_defaults in the resource registry.
33     type: json
34   NeutronVPPAgentPhysnets:
35     description: >
36       List of <physical_network>:<VPP Interface>
37       Example: "physnet1:GigabitEthernet2/2/0,physnet2:GigabitEthernet2/3/0"
38     type: comma_delimited_list
39     default: ""
40
41 resources:
42
43   NeutronBase:
44     type: ./neutron-base.yaml
45     properties:
46       ServiceData: {get_param: ServiceData}
47       ServiceNetMap: {get_param: ServiceNetMap}
48       DefaultPasswords: {get_param: DefaultPasswords}
49       EndpointMap: {get_param: EndpointMap}
50
51 outputs:
52   role_data:
53     description: Role data for the Neutron ML2/VPP agent service.
54     value:
55       service_name: neutron_vpp_agent
56       config_settings:
57         map_merge:
58           - get_attr: [NeutronBase, role_data, config_settings]
59           - tripleo::profile::base::neutron::agents::vpp::physnet_mapping: {get_param: NeutronVPPAgentPhysnets}
60       step_config: |
61         include ::tripleo::profile::base::neutron::agents::vpp