Merge "Add disable_upgrade_deployment flag to roles_data.yaml"
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-ml2-fujitsu-fossw.yaml
1 heat_template_version: ocata
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   EndpointMap:
16     default: {}
17     description: Mapping of service endpoint -> protocol. Typically set
18                  via parameter_defaults in the resource registry.
19     type: json
20   NeutronFujitsuFosswIps:
21     description: 'The List of IP address of all fos switches.'
22     type: comma_delimited_list
23   NeutronFujitsuFosswUserName:
24     description: 'The username of the fos switches.'
25     type: string
26   NeutronFujitsuFosswPassword:
27     description: 'The password of the fos switches.'
28     type: string
29     hidden: true
30   NeutronFujitsuFosswPort:
31     description: 'The port number used for SSH connection.'
32     type: number
33     default: 22
34   NeutronFujitsuFosswTimeout:
35     description: 'The timeout os SSH connection.'
36     type: number
37     default: 30
38   NeutronFujitsuFosswUdpDestPort:
39     description: 'The port number of VXLAN UDP destination on the fos switches.'
40     type: number
41     default: 4789
42   NeutronFujitsuFosswOvsdbVlanidRangeMin:
43     description: 'The minimum VLAN ID in the range that is used for binding VNI and physical port.'
44     type: number
45     default: 2
46   NeutronFujitsuFosswOvsdbPort:
47     description: 'The port number which OVSDB server on the fos switches listen.'
48     type: number
49     default: 6640
50
51 resources:
52
53   NeutronMl2Base:
54     type: ./neutron-plugin-ml2.yaml
55     properties:
56       ServiceNetMap: {get_param: ServiceNetMap}
57       DefaultPasswords: {get_param: DefaultPasswords}
58       EndpointMap: {get_param: EndpointMap}
59
60 outputs:
61   role_data:
62     description: Role data for Fujitsu Fossw ML2 Driver
63     value:
64       service_name: neutron_plugin_ml2_fujitsu_fossw
65       config_settings:
66         map_merge:
67           - get_attr: [NeutronMl2Base, role_data, config_settings]
68           - neutron::plugins::ml2::fujitsu::fossw::fossw_ips: {get_param: NeutronFujitsuFosswIps}
69             neutron::plugins::ml2::fujitsu::fossw::username: {get_param: NeutronFujitsuFosswUserName}
70             neutron::plugins::ml2::fujitsu::fossw::password: {get_param: NeutronFujitsuFosswPassword}
71             neutron::plugins::ml2::fujitsu::fossw::port: {get_param: NeutronFujitsuFosswPort}
72             neutron::plugins::ml2::fujitsu::fossw::timeout: {get_param: NeutronFujitsuFosswTimeout}
73             neutron::plugins::ml2::fujitsu::fossw::udp_dest_port: {get_param: NeutronFujitsuFosswUdpDestPort}
74             neutron::plugins::ml2::fujitsu::fossw::ovsdb_vlanid_range_min: {get_param: NeutronFujitsuFosswOvsdbVlanidRangeMin}
75             neutron::plugins::ml2::fujitsu::fossw::ovsdb_port: {get_param: NeutronFujitsuFosswOvsdbPort}
76       step_config: |
77         include ::tripleo::profile::base::neutron::plugins::ml2
78