Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-ml2-nuage.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Neutron ML2/Nuage plugin configured with Puppet
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   NovaPatchConfigMonkeyPatch:
71     description: Apply monkey patching or not
72     type: boolean
73     default: false
74
75   NovaPatchConfigMonkeyPatchModules:
76     description: List of modules/decorators to monkey patch
77     type: comma_delimited_list
78     default: ''
79
80 resources:
81
82   NeutronML2Base:
83     type: ./neutron-plugin-ml2.yaml
84     properties:
85       ServiceData: {get_param: ServiceData}
86       ServiceNetMap: {get_param: ServiceNetMap}
87       DefaultPasswords: {get_param: DefaultPasswords}
88       EndpointMap: {get_param: EndpointMap}
89       RoleName: {get_param: RoleName}
90       RoleParameters: {get_param: RoleParameters}
91
92 outputs:
93   role_data:
94     description: Role data for the Neutron ML2/Nuage plugin
95     value:
96       service_name: neutron_plugin_ml2_nuage
97       config_settings:
98         map_merge:
99           - get_attr: [NeutronML2Base, role_data, config_settings]
100           - neutron::plugins::ml2::nuage::nuage_net_partition_name: {get_param: NeutronNuageNetPartitionName}
101             neutron::plugins::ml2::nuage::nuage_vsd_ip: {get_param: NeutronNuageVSDIp}
102             neutron::plugins::ml2::nuage::nuage_vsd_username: {get_param: NeutronNuageVSDUsername}
103             neutron::plugins::ml2::nuage::nuage_vsd_password: {get_param: NeutronNuageVSDPassword}
104             neutron::plugins::ml2::nuage::nuage_vsd_organization: {get_param: NeutronNuageVSDOrganization}
105             neutron::plugins::ml2::nuage::nuage_base_uri_version: {get_param: NeutronNuageBaseURIVersion}
106             neutron::plugins::ml2::nuage::nuage_cms_id: {get_param: NeutronNuageCMSId}
107             nova::api::use_forwarded_for: {get_param: UseForwardedFor}
108             nova::patch::config::monkey_patch: {get_param: NovaPatchConfigMonkeyPatch}
109             nova::patch::config::monkey_patch_modules: {get_param: NovaPatchConfigMonkeyPatchModules}
110       step_config: |
111         include tripleo::profile::base::neutron::plugins::ml2