Enable Neutron LBaaS Integration
[apex-tripleo-heat-templates.git] / puppet / services / neutron-compute-plugin-ovn.yaml
1 heat_template_version: pike
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   RoleName:
16     default: ''
17     description: Role name on which the service is applied
18     type: string
19   RoleParameters:
20     default: {}
21     description: Parameters specific to the role
22     type: json
23   ServiceNetMap:
24     default: {}
25     description: Mapping of service_name -> network name. Typically set
26                  via parameter_defaults in the resource registry.  This
27                  mapping overrides those in ServiceNetMapDefaults.
28     type: json
29   OVNSouthboundServerPort:
30     description: Port of the Southbound DB Server
31     type: number
32     default: 6642
33   OVNTunnelEncapType:
34     description: Tunnel encapsulation type
35     type: string
36     default: geneve
37   NeutronBridgeMappings:
38     description: >
39       The OVS logical->physical bridge mappings to use. See the Neutron
40       documentation for details. Defaults to mapping br-ex - the external
41       bridge on hosts - to a physical name 'datacentre' which can be used
42       to create provider networks (and we use this for the default floating
43       network) - if changing this either use different post-install network
44       scripts or be sure to keep 'datacentre' as a mapping network name
45     type: comma_delimited_list
46     default: "datacentre:br-ex"
47
48
49 outputs:
50   role_data:
51     description: Role data for the Neutron Compute OVN agent
52     value:
53       service_name: neutron_compute_plugin_ovn
54       config_settings:
55         ovn::southbound::port: {get_param: OVNSouthboundServerPort}
56         ovn::controller::ovn_encap_type: {get_param: OVNTunnelEncapType}
57         ovn::controller::ovn_encap_ip: {get_param: [ServiceNetMap, NeutronApiNetwork]}
58         ovn::controller::ovn_bridge_mappings: {get_param: NeutronBridgeMappings}
59         nova::compute::force_config_drive: true
60         tripleo.neutron_compute_plugin_ovn.firewall_rules:
61           '118 neutron vxlan networks':
62                 proto: 'udp'
63                 dport: 4789
64           '119 neutron geneve networks':
65             proto: 'udp'
66             dport: 6081
67       step_config: |
68         include ::tripleo::profile::base::neutron::agents::ovn