-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMODULE-OPTIONS
233 lines (149 loc) · 4.96 KB
/
MODULE-OPTIONS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
WARNING: decix and LINX are *missing*, I'm lazy and it's a beta release. dont whine.
Also, these docs are hevily outdated. Please refer tou the Source.
0. Syntax
a router config looks something like this:
$config = array(
'router_shortname' => array(
'common_name' => 'My First Router',
'router' => array(
'module' => 'routermodule',
...(router module specific options here)...
),
'exchange' => array(
'module' => 'exchangemodule',
...(exchange specific options here)...
)
)
);
1. Module Options
1.1 Generic options
- common_name
common (human readable) name of router, e.g. "My Kiddo-IX Router"
- ignore
array of IP's to ignore
1.2 Exchanges
1.2.1 Ams-IX
for routers at Ams-IX
- exchange
The full name of the Internet Exchange
- tsv_url
URL to the Ams-IX TSV. Default: http://www.ams-ix.net/connected/otherformat/M6-memberlist.tsv
- tsv_cachetime
maximum age of local copy of the TSV in seconds. Defaults to 3600.
- columns
columns to show. Valid options are: organisation, contact, switch, asn, lan, ip, multicast, mdx, location, connection, shortstatus
- show_v4
if set to 'off', v4 addresses will not be shown.
- show_v6
if set to 'off', v6 addresses will not be shown.
- localasn
your local AS number, e.g. 65100
- module
'amsix'
1.2.2 NL-IX
for routers at the NL-IX
- exchange
The full name of the Internet Exchange
- tsv_url
URL to the NL-IX TSV. Default: http://www.nl-ix.net/tsvmembers.php
- tsv_cachetime
maximum age of local copy of the TSV in seconds. Defaults to 3600.
- columns
columns to show. Valid options are: organisation, ip, location, asn, asmacro, contact, policy, shortstatus
- localasn
your local AS number, e.g. 65100
- module
'nlix'
- ignore_notready
ignore all peers with the "not ready" status
1.2.3 FreeBIX
for routers at FreeBIX
- exchange
The full name of the Internet Exchange
- tsv_url
URL to the FreeBIX TSV. Default: http://www.freebix.be/tsv
- tsv_cachetime
maximum age of local copy of the TSV in seconds. Defaults to 3600.
- columns
columns to show. Valid options are: organisation, contact, asn, ip, multicast, location, connection, shortstatus
- show_v4
if set to 'off', v4 addresses will not be shown.
- show_v6
if set to 'off', v6 addresses will not be shown.
- localasn
your local AS number, e.g. 65100
- module
'freebix'
1.2.4 Local
for routers within an IGP
- exchange
The full name of the IGP
- tsv_file
path + filename of TSV. default is empty.
- columns
columns to show. Valid options are: router, function, ip, location
- module
'local'
1.3 Routers
1.3.1 quagga with telnet
for quagga-based routers
- hostname
hostname or IP of router
- bgpd_port
TCP port the bgpd shell is running on. default is 2605
- enable
login password
- cachetime
maximum age of cached router output
- columns
columns to show. Valid options are: ip, bgpver, asn, msgrcvd, msgsent, tblver, inq, outq, uptime, status
- module
'quaggatelnet'
1.3.2 Cisco with telnet
for cisco IOS-based routers
- hostname
hostname or IP of router
- telnet_port
TCP port the bgpd shell is running on. default is 23
- user
login username
- password
login password
- enable
enable password
- cachetime
maximum age of cached router output. Defaults to 300
- columns
columns to show. Valid options are: ip, bgpver, asn, msgrcvd, msgsent, tblver, inq, outq, uptime, status
- module
'ciscotelnet'
1.3.3 Juniper with telnet
for Juniper JunOS routers with user/pass (tacacs/radius/local) authentication
- hostname
hostname or IP of router
- telnet_port
TCP port the bgpd shell is running on. default is 23
- user
login username
- password
login password
- cachetime
maximum age of cached router output. Defaults to 300
- columns
columns to show. Valid options are: ip, asn, msgrcvd, msgsent, outq, outq, status, flaps
- module
'junipertelnet'
1.3.4 RFC1657
for routers with routertype set to 'snmp_rfc1657'
- hostname
hostname or IP of router
- snmp_port
SNMP port on router
- snmp_community
SNMP community on router
- cachetime
maximum age of cached router output
- columns
columns to show. Valid options are: ip, asn, status
- module
'snmp_rfc1657'