Merge "Change neutron-metadata number of workers determination method"
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-nuage.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Neutron Nuage plugin
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   # Config specific parameters, to be provided via parameter_defaults
30   NeutronNuageNetPartitionName:
31     description: Specifies the title that you will see on the VSD
32     type: string
33     default: 'default_name'
34
35   NeutronNuageVSDIp:
36     description: IP address and port of the Virtual Services Directory
37     type: string
38
39   NeutronNuageVSDUsername:
40     description: Username to be used to log into VSD
41     type: string
42
43   NeutronNuageVSDPassword:
44     description: Password to be used to log into VSD
45     type: string
46
47   NeutronNuageVSDOrganization:
48     description: Organization parameter required to log into VSD
49     type: string
50     default: 'organization'
51
52   NeutronNuageBaseURIVersion:
53     description: URI version to be used based on the VSD release
54     type: string
55     default: 'default_uri_version'
56
57   NeutronNuageCMSId:
58     description: Cloud Management System ID (CMS ID) to distinguish between OS instances on the same VSD
59     type: string
60
61   UseForwardedFor:
62     description: Treat X-Forwarded-For as the canonical remote address. Only enable this if you have a sanitizing proxy.
63     type: boolean
64     default: false
65
66 resources:
67
68   NeutronBase:
69     type: ./neutron-base.yaml
70     properties:
71       ServiceNetMap: {get_param: ServiceNetMap}
72       DefaultPasswords: {get_param: DefaultPasswords}
73       EndpointMap: {get_param: EndpointMap}
74       RoleName: {get_param: RoleName}
75       RoleParameters: {get_param: RoleParameters}
76
77 outputs:
78   role_data:
79     description: Role data for the Neutron Nuage plugin
80     value:
81       service_name: neutron_plugin_nuage
82       config_settings:
83         map_merge:
84           - get_attr: [NeutronBase, role_data, config_settings]
85           - neutron::plugins::nuage::nuage_net_partition_name: {get_param: NeutronNuageNetPartitionName}
86             neutron::plugins::nuage::nuage_vsd_ip: {get_param: NeutronNuageVSDIp}
87             neutron::plugins::nuage::nuage_vsd_username: {get_param: NeutronNuageVSDUsername}
88             neutron::plugins::nuage::nuage_vsd_password: {get_param: NeutronNuageVSDPassword}
89             neutron::plugins::nuage::nuage_vsd_organization: {get_param: NeutronNuageVSDOrganization}
90             neutron::plugins::nuage::nuage_base_uri_version: {get_param: NeutronNuageBaseURIVersion}
91             neutron::plugins::nuage::nuage_cms_id: {get_param: NeutronNuageCMSId}
92             nova::api::use_forwarded_for: {get_param: UseForwardedFor}
93       step_config: |
94         include tripleo::profile::base::neutron::plugins::nuage