Browse Source

Add OVNEncapType option to the ovn controller template

Since OVN 2.13 it is possible to use vxlan encapsulation in the OVN
tunnel networks.
To do that, it has to be set in the external_ids:ovn-encap-type. There
is support for that in the puppet-ovn module already.
This patch adds missing TripleO-heat-template variable.

Conflicts:
    deployment/ovn/ovn-controller-container-puppet.yaml

Related-bz: #1881697
Change-Id: I54e617745e76f27a4c88156a9b1b17d0255ec837
(cherry picked from commit 1542df355b)
(cherry picked from commit b4cec5b729)
changes/84/792084/1
Slawek Kaplonski 3 months ago
parent
commit
8014ae2235
  1. 8
      deployment/ovn/ovn-controller-container-puppet.yaml

8
deployment/ovn/ovn-controller-container-puppet.yaml

@ -58,6 +58,13 @@ parameters:
default: "datacentre:br-ex"
tags:
- role_specific
OVNEncapType:
description: >
Type of encapsulation used in OVN. It can be "geneve" or "vxlan".
type: string
default: "geneve"
constraints:
- allowed_values: ["geneve", "vxlan"]
OVNIntegrationBridge:
description: >
Name of the OVS bridge to use as integration bridge by OVN Controller.
@ -159,6 +166,7 @@ outputs:
"%{hiera('$NETWORK')}"
params:
$NETWORK: {get_param: [ServiceNetMap, NeutronTenantNetwork]}
ovn::controller::ovn_encap_type: {get_param: OVNEncapType}
ovn::controller::ovn_bridge: {get_param: OVNIntegrationBridge}
ovn::controller::hostname: "%{hiera('fqdn_canonical')}"
ovn::controller::ovn_remote_probe_interval: {get_param: OVNRemoteProbeInterval}

Loading…
Cancel
Save