Merge "TLS everywhere: configure mongodb's TLS settings"
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-ml2-fujitsu-cfab.yaml
1 heat_template_version: pike
2
3 description: >
4   Configure hieradata for Fujitsu C-Fabric plugin configuration
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   NeutronFujitsuCfabAddress:
30     description: 'The address of the C-Fabric to telnet to.'
31     type: string
32   NeutronFujitsuCfabUserName:
33     description: 'The C-Fabric username to use.'
34     type: string
35   NeutronFujitsuCfabPassword:
36     description: 'The C-Fabric password to use.'
37     type: string
38     hidden: true
39   NeutronFujitsuCfabPhysicalNetworks:
40     description: 'List of <physical_network>:<vfab_id> tuples specifying physical_network names and corresponding vfab ids.'
41     type: comma_delimited_list
42     default: ''
43   NeutronFujitsuCfabSharePprofile:
44     description: '"Whether to share a C-Fabric pprofile among Neutron ports using the same VLAN ID.'
45     type: boolean
46     default: false
47   NeutronFujitsuCfabPprofilePrefix:
48     description: 'The prefix string for pprofile name.'
49     type: string
50     default: ''
51   NeutronFujitsuCfabSaveConfig:
52     description: 'Whether to save configuration.'
53     type: boolean
54     default: true
55
56 resources:
57
58   NeutronMl2Base:
59     type: ./neutron-plugin-ml2.yaml
60     properties:
61       ServiceNetMap: {get_param: ServiceNetMap}
62       DefaultPasswords: {get_param: DefaultPasswords}
63       EndpointMap: {get_param: EndpointMap}
64       RoleName: {get_param: RoleName}
65       RoleParameters: {get_param: RoleParameters}
66
67 outputs:
68   role_data:
69     description: Role data for Fujitsu Cfab ML2 Driver
70     value:
71       service_name: neutron_plugin_ml2_fujitsu_cfab
72       config_settings:
73         map_merge:
74           - get_attr: [NeutronMl2Base, role_data, config_settings]
75           - neutron::plugins::ml2::fujitsu::cfab::address: {get_param: NeutronFujitsuCfabAddress}
76             neutron::plugins::ml2::fujitsu::cfab::username: {get_param: NeutronFujitsuCfabUserName}
77             neutron::plugins::ml2::fujitsu::cfab::password: {get_param: NeutronFujitsuCfabPassword}
78             neutron::plugins::ml2::fujitsu::cfab::physical_networks: {get_param: NeutronFujitsuCfabPhysicalNetworks}
79             neutron::plugins::ml2::fujitsu::cfab::share_pprofile: {get_param: NeutronFujitsuCfabSharePprofile}
80             neutron::plugins::ml2::fujitsu::cfab::pprofile_prefix: {get_param: NeutronFujitsuCfabPprofilePrefix}
81             neutron::plugins::ml2::fujitsu::cfab::save_config: {get_param: NeutronFujitsuCfabSaveConfig}
82       step_config: |
83         include ::tripleo::profile::base::neutron::plugins::ml2