1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00
alice-lg-alice-lg/etc/alicelg/alice.example.conf

106 lines
3.0 KiB
Plaintext
Raw Normal View History

2017-05-29 10:39:22 +02:00
[server]
listen_http = 127.0.0.1:7340
2017-07-04 12:13:42 +02:00
enable_prefix_lookup = true
2017-05-29 10:39:22 +02:00
2018-06-25 23:47:16 +02:00
[theme]
path = /path/to/my/alice/theme/files
2018-06-25 23:54:14 +02:00
# Optional:
url_base = /theme
2018-06-25 23:47:16 +02:00
2018-07-23 12:15:31 +02:00
[pagination]
# Routes can be paginated, which comes in handy with
2018-07-23 12:20:15 +02:00
# peers announcing a lot of routes. Set to 0 to disable
# pagination.
2018-07-23 12:15:31 +02:00
routes_page_size = 200
2017-05-29 10:39:22 +02:00
[rejection]
asn = 9033
reject_id = 65666
[rejection_reasons]
1 = An IP Bogon was detected
2 = Prefix is longer than 64
3 = Prefix is longer than 24
4 = AS path contains a bogon AS
5 = AS path length is longer than 64
6 = First AS in path is not the same as the Peer AS
7 = ECIX prefix hijack
8 = Origin AS not found in IRRDB for Peer AS-SET
9 = Prefix not found in IRRDB for Origin AS
10 = Advertised nexthop address is not the same as the peer
[noexport]
asn = 9033
noexport_id = 65667
[noexport_reasons]
1 = The target peer policy is Fairly-open and the sender ASN is an exception
2 = The target peer policy is Selective and the sender ASN is no exception
3 = The target peer policy is set to restrictive
4 = The sender has specifically refused export to the target peer, either through sending 65000:AS, or through the portal
5 = The sender has refused export to all peers and the target is no exception, either through sending 65000:0, or through the portal
6 = The Sender has set (peerRTTHigherDeny:ms) and the targets RTT ms >= then the ms in the community
7 = The Sender has set (peerRTTLowerDeny:ms) and the targets RTT ms <= then the ms in the community
#
# Define columns for neighbours and routes table,
# with <key> = <Table Header>
#
# and <key> := <object.path> Implicitly referencing the object,
# e.g. route.bgp.as_path -> bgp.as_path)
# |= <Widget> A widget with special rendering features,
# to which the object is applied. E.g.
# Uptime, which will be rendered as
# Uptime(neighbour).
#
# As per convention: Widgets are in Uppercase, object properties are
# in lowercase.
#
# Available Widgets for Neighbours:
#
# Uptime Displays the relative uptime of this neighbour
# Description The neighbour's description with link to routes page
#
[neighbours_columns]
address = Neighbour
asn = ASN
state = State
Uptime = Uptime
Description = Description
2018-07-05 12:33:57 +02:00
routes_received = Routes Received
routes_filtered = Filtered
2017-05-29 10:39:22 +02:00
[routes_columns]
2018-07-05 15:44:37 +02:00
network = Network
2017-05-29 10:39:22 +02:00
gateway = Gateway
interface = Interface
metric = Metric
bgp.as_path = AS Path
2017-05-29 10:39:22 +02:00
# Routeservers
[source.0]
name = rs1.example.com (IPv4)
[source.0.birdwatcher]
api = http://rs1.example.com:29184/
2018-07-05 15:27:25 +02:00
2017-05-29 10:39:22 +02:00
# Optional:
show_last_reboot = true
2018-07-05 15:27:25 +02:00
2017-05-29 10:39:22 +02:00
[source.1]
name = rs1.example.com (IPv6)
[source.1.birdwatcher]
2018-07-05 14:48:47 +02:00
timezone = Europe/Brussels
2017-05-29 10:39:22 +02:00
api = http://rs1.example.com:29186/
2018-07-05 14:48:47 +02:00
# Optional: Examples for time format
# Please see https://golang.org/pkg/time/#pkg-constants for an
# explanation on how time parsing in go works.
servertime = 2006-01-02T15:04:05Z07:00
servertime_short = 02.01.2006
servertime_ext = Mon, 02 Jan 2006 15:04:05 -0700