Skip to content
Snippets Groups Projects
Commit 6a545449 authored by Christoph Heidecker's avatar Christoph Heidecker
Browse files

* Added example file for known_servers.yml

parent 609d274a
Branches
No related tags found
No related merge requests found
......@@ -133,8 +133,8 @@ def read_server_list():
print_with_color('XRootD cache IP(s): ' + str(IP), color='grey')
print_with_color(' => HTCondor constraint: ' + str(server.get('wn_constraint')) + ', worker node IP(s): ' +
str(server.get('wn_ip')), color='grey')
if server.get('weight') is not None:
print_with_color(' => weight: ' + str(server.get('weight')), color='grey')
if server.get('cache_weight') is not None:
print_with_color(' => weight: ' + str(server.get('cache_weight')), color='grey')
is_empty = False
if is_empty:
......
# Configuration of NaviX: Cache to worker node location:
# ------------------------------------------------------
# <IP address/range of XRootD cache(s)>:
# wn_constraint: <string interpreted as HTCondor constraint for worker nodes>
# wn_ip: <IP range that is (optional, otherwise same as XRootD cache(s)>
# cache_weight: <weight for each cache used for HTCondor Rank calculation (optional, otherwise default)>
#
# Example:
#
192.168.178.1/32:
wn_constraint: machine == "example.com"
wn_ip: 192.168.178.2/32
cache_weight: 100
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment