Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-nuage.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Neutron Nuage plugin
5
6 parameters:
7   ServiceData:
8     default: {}
9     description: Dictionary packing service data
10     type: json
11   ServiceNetMap:
12     default: {}
13     description: Mapping of service_name -> network name. Typically set
14                  via parameter_defaults in the resource registry.  This
15                  mapping overrides those in ServiceNetMapDefaults.
16     type: json
17   DefaultPasswords:
18     default: {}
19     type: json
20   RoleName:
21     default: ''
22     description: Role name on which the service is applied
23     type: string
24   RoleParameters:
25     default: {}
26     description: Parameters specific to the role
27     type: json
28   EndpointMap:
29     default: {}
30     description: Mapping of service endpoint -> protocol. Typically set
31                  via parameter_defaults in the resource registry.
32     type: json
33   # Config specific parameters, to be provided via parameter_defaults
34   NeutronNuageNetPartitionName:
35     description: Specifies the title that you will see on the VSD
36     type: string
37     default: 'default_name'
38
39   NeutronNuageVSDIp:
40     description: IP address and port of the Virtual Services Directory
41     type: string
42
43   NeutronNuageVSDUsername:
44     description: Username to be used to log into VSD
45     type: string
46
47   NeutronNuageVSDPassword:
48     description: Password to be used to log into VSD
49     type: string
50
51   NeutronNuageVSDOrganization:
52     description: Organization parameter required to log into VSD
53     type: string
54     default: 'organization'
55
56   NeutronNuageBaseURIVersion:
57     description: URI version to be used based on the VSD release
58     type: string
59     default: 'default_uri_version'
60
61   NeutronNuageCMSId:
62     description: Cloud Management System ID (CMS ID) to distinguish between OS instances on the same VSD
63     type: string
64
65   UseForwardedFor:
66     description: Treat X-Forwarded-For as the canonical remote address. Only enable this if you have a sanitizing proxy.
67     type: boolean
68     default: false
69
70 resources:
71
72   NeutronBase:
73     type: ./neutron-base.yaml
74     properties:
75       ServiceData: {get_param: ServiceData}
76       ServiceNetMap: {get_param: ServiceNetMap}
77       DefaultPasswords: {get_param: DefaultPasswords}
78       EndpointMap: {get_param: EndpointMap}
79       RoleName: {get_param: RoleName}
80       RoleParameters: {get_param: RoleParameters}
81
82 outputs:
83   role_data:
84     description: Role data for the Neutron Nuage plugin
85     value:
86       service_name: neutron_plugin_nuage
87       config_settings:
88         map_merge:
89           - get_attr: [NeutronBase, role_data, config_settings]
90           - neutron::plugins::nuage::nuage_net_partition_name: {get_param: NeutronNuageNetPartitionName}
91             neutron::plugins::nuage::nuage_vsd_ip: {get_param: NeutronNuageVSDIp}
92             neutron::plugins::nuage::nuage_vsd_username: {get_param: NeutronNuageVSDUsername}
93             neutron::plugins::nuage::nuage_vsd_password: {get_param: NeutronNuageVSDPassword}
94             neutron::plugins::nuage::nuage_vsd_organization: {get_param: NeutronNuageVSDOrganization}
95             neutron::plugins::nuage::nuage_base_uri_version: {get_param: NeutronNuageBaseURIVersion}
96             neutron::plugins::nuage::nuage_cms_id: {get_param: NeutronNuageCMSId}
97             nova::api::use_forwarded_for: {get_param: UseForwardedFor}
98       step_config: |
99         include tripleo::profile::base::neutron::plugins::nuage