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