apiVersion: v1 data: configure-ovn.sh: | #!/bin/bash # # Copyright 2024 Red Hat Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. # This script configures ovn-encap-tos setting in OVS external-ids # It is only used when ovn-encap-tos is explicitly set to a non-default value source $(dirname $0)/../container-scripts/functions OVNEncapTos=0 function configure_ovn_external_ids { ovs-vsctl set open . external-ids:ovn-encap-tos=${OVNEncapTos} } wait_for_ovsdb_server configure_ovn_external_ids kind: ConfigMap metadata: creationTimestamp: "2025-10-11T10:53:00Z" labels: ovn-controller.openstack.org/name: ovncontroller ovn-controller.openstack.org/namespace: openstack ovn-controller.openstack.org/uid: 03efddb7-9133-4e85-abfb-a97dae0db64c name: ovncontroller-extra-scripts namespace: openstack ownerReferences: - apiVersion: ovn.openstack.org/v1beta1 blockOwnerDeletion: true controller: true kind: OVNController name: ovncontroller uid: 03efddb7-9133-4e85-abfb-a97dae0db64c resourceVersion: "35043" uid: 702a0db3-6831-4078-9753-a88349300ff4