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