]>
Commit | Line | Data |
---|---|---|
8efe88ea DL |
1 | /* |
2 | * FRR switchable defaults. | |
3 | * Copyright (C) 2017 David Lamparter for NetDEF, Inc. | |
4 | * | |
447a8fe9 | 5 | * This file is part of FRRouting (FRR). |
8efe88ea DL |
6 | * |
7 | * FRR is free software; you can redistribute it and/or modify it under the | |
8 | * terms of the GNU General Public License as published by the Free Software | |
9 | * Foundation; either version 2, or (at your option) any later version. | |
10 | * | |
11 | * FRR is distributed in the hope that it will be useful, but WITHOUT ANY | |
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
13 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
14 | * details. | |
15 | * | |
16 | * You should have received a copy of the GNU General Public License along | |
896014f4 DL |
17 | * with this program; see the file COPYING; if not, write to the Free Software |
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
8efe88ea DL |
19 | */ |
20 | ||
21 | #ifndef _FRR_DEFAULTS_H | |
22 | #define _FRR_DEFAULTS_H | |
23 | ||
24 | #include "config.h" | |
25 | ||
df970aa6 | 26 | #ifdef HAVE_DATACENTER |
8efe88ea DL |
27 | |
28 | #define DFLT_BGP_IMPORT_CHECK 1 | |
29 | #define DFLT_BGP_TIMERS_CONNECT 10 | |
30 | #define DFLT_BGP_HOLDTIME 9 | |
31 | #define DFLT_BGP_KEEPALIVE 3 | |
32 | #define DFLT_BGP_LOG_NEIGHBOR_CHANGES 1 | |
33 | #define DFLT_BGP_SHOW_HOSTNAME 1 | |
34 | #define DFLT_BGP_DETERMINISTIC_MED 1 | |
35 | ||
36 | #define DFLT_OSPF_LOG_ADJACENCY_CHANGES 1 | |
37 | #define DFLT_OSPF6_LOG_ADJACENCY_CHANGES 1 | |
38 | ||
d62a17ae | 39 | #else /* !HAVE_DATACENTER */ |
8efe88ea DL |
40 | |
41 | #define DFLT_BGP_IMPORT_CHECK 0 | |
42 | #define DFLT_BGP_TIMERS_CONNECT 120 | |
43 | #define DFLT_BGP_HOLDTIME 180 | |
44 | #define DFLT_BGP_KEEPALIVE 60 | |
45 | #define DFLT_BGP_LOG_NEIGHBOR_CHANGES 0 | |
46 | #define DFLT_BGP_SHOW_HOSTNAME 0 | |
47 | #define DFLT_BGP_DETERMINISTIC_MED 0 | |
48 | ||
49 | #define DFLT_OSPF_LOG_ADJACENCY_CHANGES 0 | |
50 | #define DFLT_OSPF6_LOG_ADJACENCY_CHANGES 0 | |
51 | ||
df970aa6 | 52 | #endif /* !HAVE_DATACENTER */ |
8efe88ea DL |
53 | |
54 | #endif /* _FRR_DEFAULTS_H */ |