Bump template version for all templates to "ocata"
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-ml2-ovn.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Neutron ML2/OVN plugin configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   OVNDbHost:
22     description: IP address on which the OVN DB servers are listening
23     type: string
24   OVNNorthboundServerPort:
25     description: Port of the OVN Northbound DB server
26     type: number
27     default: 6641
28   OVNDbConnectionTimeout:
29     description: Timeout in seconds for the OVSDB connection transaction
30     type: number
31     default: 60
32   OVNVifType:
33     description: Type of VIF to be used for ports
34     type: string
35     default: ovs
36     constraints:
37       - allowed_values:
38           - ovs
39           - vhostuser
40   OVNNeutronSyncMode:
41     description: The synchronization mode of OVN with Neutron DB
42     type: string
43     default: log
44     constraints:
45       - allowed_values:
46           - log
47           - off
48           - repair
49   OVNQosDriver:
50     description: OVN notification driver for Neutron QOS service plugin
51     type: string
52     default: NULL
53
54 resources:
55
56   NeutronMl2Base:
57     type: ./neutron-plugin-ml2.yaml
58     properties:
59       ServiceNetMap: {get_param: ServiceNetMap}
60       DefaultPasswords: {get_param: DefaultPasswords}
61       EndpointMap: {get_param: EndpointMap}
62
63 outputs:
64   role_data:
65     description: Role data for the Neutron ML2/OVN plugin.
66     value:
67       service_name: neutron_plugin_ml2_ovn
68       config_settings:
69         map_merge:
70           - get_attr: [NeutronMl2Base, role_data, config_settings]
71           - ovn::northbound::port: {get_param: OVNNorthboundServerPort}
72             tripleo::profile::base::neutron::plugins::ml2::ovn::ovn_db_host: {get_param: OVNDbHost}
73             neutron::plugins::ovn::ovsdb_connection_timeout: {get_param: OVNDbConnectionTimeout}
74             neutron::plugins::ovn::neutron_sync_mode: {get_param: OVNNeutronSyncMode}
75             neutron::plugins::ovn::ovn_l3_mode: true
76             neutron::plugins::ovn::vif_type: {get_param: OVNVifType}
77             neutron::server::qos_notification_drivers: {get_param: OVNQosDriver}
78       step_config: |
79         include ::tripleo::profile::base::neutron::plugins::ml2