Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-ml2.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Neutron ML2 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   NeutronMechanismDrivers:
34     default: 'openvswitch'
35     description: |
36         The mechanism drivers for the Neutron tenant network.
37     type: comma_delimited_list
38   NeutronTypeDrivers:
39     default: "vxlan,vlan,flat,gre"
40     description: |
41         Comma-separated list of network type driver entrypoints to be loaded.
42     type: comma_delimited_list
43   NeutronFlatNetworks:
44     type: comma_delimited_list
45     default: 'datacentre'
46     description: If set, flat networks to configure in neutron plugins.
47   NeutronPluginExtensions:
48     default: "qos,port_security"
49     description: |
50         Comma-separated list of extensions enabled for the Neutron plugin.
51     type: comma_delimited_list
52   NeutronNetworkVLANRanges:
53     default: 'datacentre:1:1000'
54     description: >
55       The Neutron ML2 and OpenVSwitch vlan mapping range to support. See the
56       Neutron documentation for permitted values. Defaults to permitting VLANs
57       1 to 1000 on the 'datacentre' physical network (See NeutronBridgeMappings).
58     type: comma_delimited_list
59   NeutronTunnelIdRanges:
60     description: |
61         Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges
62         of GRE tunnel IDs that are available for tenant network allocation
63     default: ["1:4094", ]
64     type: comma_delimited_list
65   NeutronVniRanges:
66     description: |
67         Comma-separated list of <vni_min>:<vni_max> tuples enumerating ranges
68         of VXLAN VNI IDs that are available for tenant network allocation
69     default: ["1:4094", ]
70     type: comma_delimited_list
71   NeutronNetworkType:
72     default: 'vxlan'
73     description: The tenant network type for Neutron.
74     type: comma_delimited_list
75   NeutronFirewallDriver:
76     description: Firewall driver for realizing neutron security group function
77     type: string
78     default: 'openvswitch'
79   NeutronOverlayIPVersion:
80     default: 4
81     description: IP version used for all overlay network endpoints.
82     type: number
83     constraints:
84     - allowed_values: [4,6]
85 resources:
86
87   NeutronBase:
88     type: ./neutron-base.yaml
89     properties:
90       ServiceData: {get_param: ServiceData}
91       ServiceNetMap: {get_param: ServiceNetMap}
92       DefaultPasswords: {get_param: DefaultPasswords}
93       EndpointMap: {get_param: EndpointMap}
94       RoleName: {get_param: RoleName}
95       RoleParameters: {get_param: RoleParameters}
96
97 outputs:
98   role_data:
99     description: Role data for the Neutron ML2 plugin.
100     value:
101       service_name: neutron_plugin_ml2
102       config_settings:
103         map_merge:
104           - get_attr: [NeutronBase, role_data, config_settings]
105           - neutron::plugins::ml2::mechanism_drivers: {get_param: NeutronMechanismDrivers}
106             neutron::plugins::ml2::type_drivers: {get_param: NeutronTypeDrivers}
107             neutron::plugins::ml2::flat_networks: {get_param: NeutronFlatNetworks}
108             neutron::plugins::ml2::extension_drivers: {get_param: NeutronPluginExtensions}
109             neutron::plugins::ml2::network_vlan_ranges: {get_param: NeutronNetworkVLANRanges}
110             neutron::plugins::ml2::tunnel_id_ranges: {get_param: NeutronTunnelIdRanges}
111             neutron::plugins::ml2::vni_ranges: {get_param: NeutronVniRanges}
112             neutron::plugins::ml2::tenant_network_types: {get_param: NeutronNetworkType}
113             neutron::plugins::ml2::firewall_driver: {get_param: NeutronFirewallDriver}
114             neutron::plugins::ml2::overlay_ip_version: {get_param: NeutronOverlayIPVersion}
115
116       step_config: |
117         include ::tripleo::profile::base::neutron::plugins::ml2
118       service_config_settings:
119         horizon:
120           neutron::plugins::ml2::mechanism_drivers: {get_param: NeutronMechanismDrivers}