Merge "Add monitoring agents deployment to CI"
[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   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   # Config specific parameters, to be provided via parameter_defaults
22   NeutronNuageNetPartitionName:
23     description: Specifies the title that you will see on the VSD
24     type: string
25     default: 'default_name'
26
27   NeutronNuageVSDIp:
28     description: IP address and port of the Virtual Services Directory
29     type: string
30
31   NeutronNuageVSDUsername:
32     description: Username to be used to log into VSD
33     type: string
34
35   NeutronNuageVSDPassword:
36     description: Password to be used to log into VSD
37     type: string
38
39   NeutronNuageVSDOrganization:
40     description: Organization parameter required to log into VSD
41     type: string
42     default: 'organization'
43
44   NeutronNuageBaseURIVersion:
45     description: URI version to be used based on the VSD release
46     type: string
47     default: 'default_uri_version'
48
49   NeutronNuageCMSId:
50     description: Cloud Management System ID (CMS ID) to distinguish between OS instances on the same VSD
51     type: string
52
53   UseForwardedFor:
54     description: Treat X-Forwarded-For as the canonical remote address. Only enable this if you have a sanitizing proxy.
55     type: boolean
56     default: false
57
58 resources:
59
60   NeutronBase:
61     type: ./neutron-base.yaml
62     properties:
63       ServiceNetMap: {get_param: ServiceNetMap}
64       DefaultPasswords: {get_param: DefaultPasswords}
65       EndpointMap: {get_param: EndpointMap}
66
67 outputs:
68   role_data:
69     description: Role data for the Neutron Nuage plugin
70     value:
71       service_name: neutron_plugin_nuage
72       config_settings:
73         map_merge:
74           - get_attr: [NeutronBase, role_data, config_settings]
75           - neutron::plugins::nuage::nuage_net_partition_name: {get_param: NeutronNuageNetPartitionName}
76             neutron::plugins::nuage::nuage_vsd_ip: {get_param: NeutronNuageVSDIp}
77             neutron::plugins::nuage::nuage_vsd_username: {get_param: NeutronNuageVSDUsername}
78             neutron::plugins::nuage::nuage_vsd_password: {get_param: NeutronNuageVSDPassword}
79             neutron::plugins::nuage::nuage_vsd_organization: {get_param: NeutronNuageVSDOrganization}
80             neutron::plugins::nuage::nuage_base_uri_version: {get_param: NeutronNuageBaseURIVersion}
81             neutron::plugins::nuage::nuage_cms_id: {get_param: NeutronNuageCMSId}
82             nova::api::use_forwarded_for: {get_param: UseForwardedFor}
83       step_config: |
84         include tripleo::profile::base::neutron::plugins::nuage