File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 22 {% if rserver .tcp_checks is defined %}
33 {% for tcp_check in rserver .tcp_checks %}
44 TCP_CHECK {
5+ {% if tcp_check .connect_port is defined and tcp_check .connect_port %}
56 connect_port {{ tcp_check.connect_port }}
7+ {% endif %}
68 connect_timeout {{ tcp_check.connect_timeout | default('5') }}
79 {% if tcp_check .connect_ip is defined and tcp_check .connect_ip %}
810 connect_ip {{ tcp_check.connect_ip }}
Original file line number Diff line number Diff line change 11{# extra spaces are needed for backward compatibility #}
2- ip_family {{ vserver.ip_family | default('inet') }}
2+ {% if vserver .ip_family is defined %}
3+ ip_family {{ vserver.ip_family | default('inet', true) }}
4+ {% endif %}
35 {% if vserver .delay_loop is defined %}
46 delay_loop {{ vserver.delay_loop }}
57 {% endif %}
68 lvs_sched {{ vserver.lvs_sched | default ('rr') }}
79 lvs_method {{ vserver.lvs_method | default ('DR') }}
10+ {% if vserver .persistence_timeout is defined %}
11+ persistence_timeout {{ vserver.persistence_timeout }}
12+ {% endif %}
813 protocol {{ vserver.protocol | default ('TCP') }}
914 {% if vserver .ha_suspend is defined and vserver .ha_suspend %}
1015 ha_suspend
You can’t perform that action at this time.
0 commit comments