3889f84af3a09dfd5e7522a08e7e505c0332f1b0
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-nuage.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron Nuage plugin
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   # Config specific parameters, to be provided via parameter_defaults
13   NeutronNuageOSControllerIp:
14     description: IP address of the OpenStack Controller
15     type: string
16
17   NeutronNuageNetPartitionName:
18     description: Specifies the title that you will see on the VSD
19     type: string
20     default: 'default_name'
21
22   NeutronNuageVSDIp:
23     description: IP address and port of the Virtual Services Directory
24     type: string
25
26   NeutronNuageVSDUsername:
27     description: Username to be used to log into VSD
28     type: string
29
30   NeutronNuageVSDPassword:
31     description: Password to be used to log into VSD
32     type: string
33
34   NeutronNuageVSDOrganization:
35     description: Organization parameter required to log into VSD
36     type: string
37     default: 'organization'
38
39   NeutronNuageBaseURIVersion:
40     description: URI version to be used based on the VSD release
41     type: string
42     default: 'default_uri_version'
43
44   NeutronNuageCMSId:
45     description: Cloud Management System ID (CMS ID) to distinguish between OS instances on the same VSD
46     type: string
47
48   UseForwardedFor:
49     description: Treat X-Forwarded-For as the canonical remote address. Only enable this if you have a sanitizing proxy.
50     type: boolean
51     default: false
52
53 resources:
54
55   NeutronBase:
56     type: ./neutron-base.yaml
57
58 outputs:
59   role_data:
60     description: Role data for the Neutron Nuage plugin
61     value:
62       service_name: neutron-plugin-nuage
63       config_settings:
64         map_merge:
65           - get_attr: [NeutronBase, role_data, config_settings]
66           - neutron::plugins::nuage::nuage_oscontroller_ip: {get_param: NeutronNuageOSControllerIp}
67             neutron::plugins::nuage::nuage_net_partition_name: {get_param: NeutronNuageNetPartitionName}
68             neutron::plugins::nuage::nuage_vsd_ip: {get_param: NeutronNuageVSDIp}
69             neutron::plugins::nuage::nuage_vsd_username: {get_param: NeutronNuageVSDUsername}
70             neutron::plugins::nuage::nuage_vsd_password: {get_param: NeutronNuageVSDPassword}
71             neutron::plugins::nuage::nuage_vsd_organization: {get_param: NeutronNuageVSDOrganization}
72             neutron::plugins::nuage::nuage_base_uri_version: {get_param: NeutronNuageBaseURIVersion}
73             neutron::plugins::nuage::nuage_cms_id: {get_param: NeutronNuageCMSId}
74             nova::api::use_forwarded_for: {get_param: UseForwardedFor}
75       step_config: |
76         include tripleo::profile::base::neutron::plugins::nuage