1# Base path where the program will look for other files
2# and directories. Every other relative path will be
3# considered rooted at 'cfg_dir' directory.
4# If not specified, the directory of the program's
5# configuration file will be used.
6#cfg_dir:
7
8# Logging configuration file, in Python fileConfig() format
9# (https://docs.python.org/2/library/logging.config.html
10#  #configuration-file-format)
11#logging_config_file: "log.ini"
12
13# Route server's general configuration file.
14#cfg_general: "general.yml"
15
16# Clients configuration file.
17#cfg_clients: "clients.yml"
18
19# Bogon prefixes configuration file.
20#cfg_bogons: "bogons.yml"
21
22# Directory where Jinja2 templates are stored.
23# This is the directory where the "html" directory and
24# other BGP speaker specific directories ("bird") can be
25# found.
26#templates_dir: "templates"
27
28# Main file used to render the configuration.
29#template_name: "main.j2"
30
31# Directory where cached data are stored.
32#cache_dir: "cache"
33
34# Path to the 'bgpq4'/'bgpq3' external program.
35# Going against the Principle of least astonishment,
36# the value of this configuration line can also
37# be set to the path of the 'bgpq4' program, even
38# though the name of the config knob seems pretty
39# specific.
40#
41# Version 0.0.5 or newer is required for bgpq4.
42# Version 0.1.35 or newer is suggested for bgpq3.
43#bgpq3_path: "bgpq4"
44
45# Host(s) running IRRD software used by bgpq4/bgpq3.
46# (-h argument).
47# In case of failures while performing a query, the
48# next host in the list will be used.
49# Use "host:port" to specify alternate port.
50# Please note: to use rr.ntt.net at least bgpq3 0.1.35
51# is needed (https://www.us.ntt.net/support/policy/rr.cfm).
52# Instructions to compile it can be found here:
53# https://arouteserver.readthedocs.io/en/latest/INSTALLATION.html#external-programs
54#bgpq3_host: "rr.ntt.net, rr1.ntt.net"
55
56# Timeout for the bgpq4/bgpq3 queries (in seconds).
57# When bgpq4/bgpq3 is executed to retrieve data from
58# the IRRD server, it is killed after this number of
59# seconds if the query is not completed yet.
60# The next host in the 'bgpq3_host' (if available)
61# is then used.
62#bgpq3_timeout: 120
63
64# Sources used by bgpq4/bgpq3.
65# (-S argument).
66#bgpq3_sources: "RIPE,APNIC,AFRINIC,ARIN,NTTCOM,ALTDB,BBOI,BELL,JPIRR,LEVEL3,RADB,RGNET,TC"
67
68# Path to the program used to determine the RTT of peers.
69#
70# An example is provided within the config directory and
71# can be used by setting rtt_getter_path to "rtt_getter.sh".
72#
73# Syntax and details can be found at the following URL:
74# https://arouteserver.readthedocs.io/en/latest/RTT_GETTER.html
75#rtt_getter_path:
76
77# How many threads will be used to acquire data from
78# external sources (IRRDB info, PeeringDB for max-prefix
79# limit).
80#threads: 4
81
82# Cache expiry time, in seconds.
83#
84# This can be a single integer value or a list of 'keyword: value'
85# pairs. If a single value is provided here, it will be used as
86# the expiry time for every kind of resource used by the program;
87# otherwise, each resource will use its own expiry time (or the
88# 'general' one if its specific expiry time is not given).
89#
90# Resources are identified by the following keywords:
91#
92# pdb_info: info fetched from PeeringDB (AS-SETs that networks
93#       configured in their IRR Record field, IPv4 and IPv6
94#       prefix count).
95#
96# ripe_rpki_roas: RPKI ROAs fetched from the RIPE RPKI Validator.
97#       See the 'general.yml' configuration file comments for more
98#       details.
99#
100# irr_as_sets: ASNs and routes fetched from IRR using clients'
101#       AS-SETs.
102#
103# Please note: if the desired behavior is to completely bypass
104# cache it is advisable to avoid setting expiry time to zero but
105# rather to set it to a duration that is enough to cover the whole
106# configuration processing time. During the configuration building
107# process some resources may be used more than once; a value of
108# zero would require them to be fetched multiple time during the
109# same execution.
110#
111# Single value:
112#cache_expiry: 43200
113#
114# Multiple values (default):
115#cache_expiry:
116#  general: 43200
117#  pdb_info: 86400
118#  ripe_rpki_roas: 3600
119#  irr_as_sets: 43200
120#  arin_whois_db_dump: 43200
121
122# Enable automatic checking for new release.
123# When set to True, the program automatically checks PyPI for
124# a new release; if found, it logs a warning message.
125#check_new_release: True
126