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