Merge "Enable mistral to run under mod_wsgi"
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-ml2-fujitsu-fossw.yaml
1 heat_template_version: pike
2
3 description: Configure hieradata for Fujitsu fossw plugin configuration
4
5 parameters:
6   ServiceNetMap:
7     default: {}
8     description: Mapping of service_name -> network name. Typically set
9                  via parameter_defaults in the resource registry.  This
10                  mapping overrides those in ServiceNetMapDefaults.
11     type: json
12   DefaultPasswords:
13     default: {}
14     type: json
15   RoleName:
16     default: ''
17     description: Role name on which the service is applied
18     type: string
19   RoleParameters:
20     default: {}
21     description: Parameters specific to the role
22     type: json
23   EndpointMap:
24     default: {}
25     description: Mapping of service endpoint -> protocol. Typically set
26                  via parameter_defaults in the resource registry.
27     type: json
28   NeutronFujitsuFosswIps:
29     description: 'The List of IP address of all fos switches.'
30     type: comma_delimited_list
31   NeutronFujitsuFosswUserName:
32     description: 'The username of the fos switches.'
33     type: string
34   NeutronFujitsuFosswPassword:
35     description: 'The password of the fos switches.'
36     type: string
37     hidden: true
38   NeutronFujitsuFosswPort:
39     description: 'The port number used for SSH connection.'
40     type: number
41     default: 22
42   NeutronFujitsuFosswTimeout:
43     description: 'The timeout os SSH connection.'
44     type: number
45     default: 30
46   NeutronFujitsuFosswUdpDestPort:
47     description: 'The port number of VXLAN UDP destination on the fos switches.'
48     type: number
49     default: 4789
50   NeutronFujitsuFosswOvsdbVlanidRangeMin:
51     description: 'The minimum VLAN ID in the range that is used for binding VNI and physical port.'
52     type: number
53     default: 2
54   NeutronFujitsuFosswOvsdbPort:
55     description: 'The port number which OVSDB server on the fos switches listen.'
56     type: number
57     default: 6640
58
59 resources:
60
61   NeutronMl2Base:
62     type: ./neutron-plugin-ml2.yaml
63     properties:
64       ServiceNetMap: {get_param: ServiceNetMap}
65       DefaultPasswords: {get_param: DefaultPasswords}
66       EndpointMap: {get_param: EndpointMap}
67       RoleName: {get_param: RoleName}
68       RoleParameters: {get_param: RoleParameters}
69
70 outputs:
71   role_data:
72     description: Role data for Fujitsu Fossw ML2 Driver
73     value:
74       service_name: neutron_plugin_ml2_fujitsu_fossw
75       config_settings:
76         map_merge:
77           - get_attr: [NeutronMl2Base, role_data, config_settings]
78           - neutron::plugins::ml2::fujitsu::fossw::fossw_ips: {get_param: NeutronFujitsuFosswIps}
79             neutron::plugins::ml2::fujitsu::fossw::username: {get_param: NeutronFujitsuFosswUserName}
80             neutron::plugins::ml2::fujitsu::fossw::password: {get_param: NeutronFujitsuFosswPassword}
81             neutron::plugins::ml2::fujitsu::fossw::port: {get_param: NeutronFujitsuFosswPort}
82             neutron::plugins::ml2::fujitsu::fossw::timeout: {get_param: NeutronFujitsuFosswTimeout}
83             neutron::plugins::ml2::fujitsu::fossw::udp_dest_port: {get_param: NeutronFujitsuFosswUdpDestPort}
84             neutron::plugins::ml2::fujitsu::fossw::ovsdb_vlanid_range_min: {get_param: NeutronFujitsuFosswOvsdbVlanidRangeMin}
85             neutron::plugins::ml2::fujitsu::fossw::ovsdb_port: {get_param: NeutronFujitsuFosswOvsdbPort}
86       step_config: |
87         include ::tripleo::profile::base::neutron::plugins::ml2
88