"Fossies" - the Fresh Open Source Software Archive

Member "octavia-8.0.0/octavia/common/jinja/lvs/templates/keepalivedlvs.cfg.j2" (14 Apr 2021, 1243 Bytes) of package /linux/misc/openstack/octavia-8.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "keepalivedlvs.cfg.j2": 7.1.1_vs_8.0.0.

    1 {#   Copyright (c) 2018 OpenStack Foundation
    2 #
    3 #    Licensed under the Apache License, Version 2.0 (the "License"); you may
    4 #    not use this file except in compliance with the License. You may obtain
    5 #    a copy of the License at
    6 #
    7 #         http://www.apache.org/licenses/LICENSE-2.0
    8 #
    9 #    Unless required by applicable law or agreed to in writing, software
   10 #    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
   11 #    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
   12 #    License for the specific language governing permissions and limitations
   13 #    under the License.
   14 #
   15 #}
   16 {% extends 'base.j2' %}
   17 {% from 'macros.j2' import virtualserver_macro %}
   18 {% set udp_listener_id = loadbalancer.listener.id %}
   19 {% block global_definitions %}
   20 net_namespace {{ constants.AMPHORA_NAMESPACE }}
   21 {% endblock global_definitions %}
   22 {% block proxies %}
   23     {% if loadbalancer.enabled and loadbalancer.listener.enabled %}
   24         {{- virtualserver_macro(constants, lib_consts,
   25                                 loadbalancer.listener,
   26                                 loadbalancer.vip_address,
   27                                 loadbalancer.listener.get('default_pool', None)) }}
   28     {% endif %}
   29 {% endblock proxies %}