-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.inc.php.example
98 lines (89 loc) · 2.91 KB
/
config.inc.php.example
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
<?php
/* sample config file for peerlist */
$config = array(
// Cisco example using amsix ipv4 peers
'router1_amsix_v4' => array(
'common_name' => 'Router 1 - IPv4',
'router' => array(
'module' => 'ciscossh',
'hostname' => '1.2.3.4',
'user' => 'username',
'password' => 'password',
'columns' => array('status'),
'ssh_fingerprint' => 'get_fingerprint_by_using_ssh_looks_like_0123456789abcdef0123456789abcdef'
),
'exchange' => array(
'module' => 'amsix',
'local_asn' => '65432',
'columns' => array('asn', 'organisation', 'contact', 'ip', 'location', 'connection', 'routeserver'),
'show_v6' => 'off',
'ignore' => array()
)
),
'show_v6' => 'off',
'ignore' => array(),
'ignore_notready' => 'false'
)
),
// Cisco example using nlix ipv6 peers
'router1_nlix_v6' => array(
'common_name' => 'Router 1 - IPv6',
'router' => array(
'module' => 'ciscossh',
'hostname' => '1,2.3.4',
'user' => 'username',
'password' => 'password',
'columns' => array('status'),
'ssh_fingerprint' => 'see_above'
),
'exchange' => array(
'module' => 'nlsix',
'local_asn' => '65432',
'columns' => array('asn', 'organisation','ip', 'location'),
'show_v6' => 'on',
'show_v4' => 'off',
'ignore' => array(),
'ignore_notready' => 'false'
)
),
// Juniper example using amsix ipv4
'router2_amsix_v4' => array(
'common_name' => 'Some router - IPv4',
'router' => array(
'module' => 'juniperssh',
'hostname' => '1.2.3.5',
'user' => 'username',
'password' => 'password',
'columns' => array('status'),
'ssh_fingerprint' => 'see_above'
),
'exchange' => array(
'module' => 'amsix',
'local_asn' => '65432',
'columns' => array('asn', 'organisation', 'contact', 'ip', 'location', 'connection', 'routeserver'),
'show_v6' => 'off',
'show_v4' => 'on',
'ignore' => array()
)
),
// Juniper example using nlix ipv4
'router3_nlix_v4' => array(
'common_name' => 'Router 3 - IPv4',
'router' => array(
'module' => 'juniperssh',
'hostname' => '1.2.3.6',
'user' => 'username',
'password' => 'password',
'columns' => array('status'),
'ssh_fingerprint' => 'see_above'
),
'exchange' => array(
'module' => 'nlix',
'local_asn' => '65432',
'columns' => array('asn', 'organisation', 'contact', 'ip', 'location', 'policy'),
'show_v6' => 'off',
'show_v4' => 'on',
'ignore' => array()
)
),
);