Merge "Configuring a default ntp server."
[apex-tripleo-heat-templates.git] / puppet / services / neutron-compute-plugin-ovn.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Neutron Compute OVN agent
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   DefaultPasswords:
13     default: {}
14     type: json
15   ServiceNetMap:
16     default: {}
17     description: Mapping of service_name -> network name. Typically set
18                  via parameter_defaults in the resource registry.  This
19                  mapping overrides those in ServiceNetMapDefaults.
20     type: json
21   OVNSouthboundServerPort:
22     description: Port of the Southbound DB Server
23     type: number
24     default: 6642
25   OVNTunnelEncapType:
26     description: Tunnel encapsulation type
27     type: string
28     default: geneve
29   NeutronBridgeMappings:
30     description: >
31       The OVS logical->physical bridge mappings to use. See the Neutron
32       documentation for details. Defaults to mapping br-ex - the external
33       bridge on hosts - to a physical name 'datacentre' which can be used
34       to create provider networks (and we use this for the default floating
35       network) - if changing this either use different post-install network
36       scripts or be sure to keep 'datacentre' as a mapping network name
37     type: comma_delimited_list
38     default: "datacentre:br-ex"
39
40
41 outputs:
42   role_data:
43     description: Role data for the Neutron Compute OVN agent
44     value:
45       service_name: neutron_compute_plugin_ovn
46       config_settings:
47         ovn::southbound::port: {get_param: OVNSouthboundServerPort}
48         ovn::controller::ovn_encap_type: {get_param: OVNTunnelEncapType}
49         ovn::controller::ovn_encap_ip: {get_param: [ServiceNetMap, NeutronApiNetwork]}
50         ovn::controller::ovn_bridge_mappings: {get_param: NeutronBridgeMappings}
51         tripleo.neutron_compute_plugin_ovn.firewall_rules:
52           '118 neutron vxlan networks':
53                 proto: 'udp'
54                 dport: 4789
55           '119 neutron geneve networks':
56             proto: 'udp'
57             dport: 6081
58       step_config: |
59         include ::tripleo::profile::base::neutron::agents::ovn