ansible/roles/install-stcp/templates/server.ini.j2

27 lines
996 B
Django/Jinja

{% for i in range(links_number) %}
link {{ internal_links_name }}{{ i+1 }} {{ link_start_ip_addr | ipmath(4*i) }} {{ link_ip_mask }}
{% endfor %}
{% if en_tap_iface == true %}
tap {{ tap_iface_name }} {{ tap_iface_ip_addr }} {{ tap_iface_ip_mask }}
{% endif %}
{% if en_tun_iface == true %}
tun {{ tun_iface_name }} {{ tun_iface_ip_addr }} {{ tun_iface_ip_mask }}
{% endif %}
SPLIT_TCP_SESSIONS {{ split_tcp_sessions }}
print_info {{ en_print_info }}
MAX_SESSIONS_THRESHOLD {{ max_sessions_threshold }}
MIN_SESSIONS_THRESHOLD {{ min_sessions_threshold }}
FLUSH_SORT_DELAY_MAX {{ flush_sort_delay_max }}
FLUSH_SORT_DELAY_MIN {{ flush_sort_delay_min }}
FLUSH_SORT_ADD_TIME {{ flush_sort_add_time }}
server_http {{ stcp_http_srv_addr }} {{ stcp_http_srv_port }}
enable_peer_to_peer {{ en_peer_to_peer }}
INTERFACE_MTU {{ stcp_mtu_size }}
{% if use_auth == true %}
users {{ users_file_path }}
{% endif %}
{% if use_client_logging == true %}
clients_log_fname {{ clients_log_file_path }}
{% endif %}