-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathattributes.yml
238 lines (218 loc) · 7.39 KB
/
attributes.yml
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
233
234
235
236
237
238
---
# SNMP Attributes
#
# The virginmedia.Hub class will get these values as attributes. This
# is far easier to maintain than keeping everything in python code.
#
# For the sanity of mere mortals, please keep this in OID order...
#
1.3.6.1.2.1.1.3.0:
name: _uptime_centiseconds
translator: snmp.IntTranslator
1.3.6.1.4.1.4115.1.3.3.1.1.1.3.1.0:
name: max_cpe_allowed
translator: snmp.IntTranslator
doc: This reflects the 'MaxCpeAllowed' parameter in the CM config file
1.3.6.1.4.1.4115.1.3.3.1.1.1.3.2.0:
name: network_access
translator: snmp.BoolTranslator
doc: Whether the hub has got network access
1.3.6.1.4.1.4115.1.3.4.1.1.14.0:
name: current_time_status
translator: arris.TODStatusTranslator
1.3.6.1.4.1.4115.1.20.1.1.1.2.0:
name: wan_conn_hostname
doc: The host name the hub presents to the ISP
1.3.6.1.4.1.4115.1.20.1.1.1.3.0:
name: wan_conn_domainname
doc: The domain name given to the hub by the ISP
1.3.6.1.4.1.4115.1.20.1.1.1.4.0:
name: wan_mtu_size
translator: snmp.IntTranslator
doc: The MTU on the WAN
1.3.6.1.4.1.4115.1.20.1.1.1.7.1.3.1:
name: wan_current_ipaddr_ipv4
translator: snmp.IPv4Translator
doc: The current external IP address of the hub
1.3.6.1.4.1.4115.1.20.1.1.1.7.1.3.2:
name: wan_current_ipaddr_ipv6
translator: snmp.IPv6Translator
doc: Current external IPv6 address of hub
1.3.6.1.4.1.4115.1.20.1.1.1.7.1.6.1:
name: wan_current_gw_ipv4
translator: snmp.IPv4Translator
doc: Default gateway of the hub
1.3.6.1.4.1.4115.1.20.1.1.1.7.1.6.2:
name: wan_current_gw_ipv6
translator: snmp.IPv6Translator
1.3.6.1.4.1.4115.1.20.1.1.1.7.1.8.1:
name: wan_current_netmask
translator: snmp.IPv4Translator
doc: The WAN network mask - e.g. '255.255.248.0'
1.3.6.1.4.1.4115.1.20.1.1.1.10.1.0:
name: wan_l2tp_username
doc: Default IPv6 gateway
1.3.6.1.4.1.4115.1.20.1.1.1.10.1.0:
name: wan_l2tp_username
1.3.6.1.4.1.4115.1.20.1.1.1.10.2.0:
name: wan_l2tp_password
1.3.6.1.4.1.4115.1.20.1.1.1.10.3.0:
name: wan_l2tp_enable_idle_timeout
translator: snmp.BoolTranslator
1.3.6.1.4.1.4115.1.20.1.1.1.10.4.0:
name: wan_l2tp_idle_timeout
translator: snmp.IntTranslator
doc: WAN L2TP idle timeout in seconds
1.3.6.1.4.1.4115.1.20.1.1.1.10.6.0:
name: wan_l2tp_tunnel_addr
translator: snmp.IPAddressTranslator
1.3.6.1.4.1.4115.1.20.1.1.1.10.7.0:
name: wan_l2tp_tunnel_hostname
doc: Host name of the tunnel server. Either hostname or IP address is required.
1.3.6.1.4.1.4115.1.20.1.1.1.10.8.0:
name: wan_l2tp_keepalive_enabled
translator: snmp.BoolTranslator
doc: Whether keepalive is enabled on the WAN
1.3.6.1.4.1.4115.1.20.1.1.1.10.9.0:
name: wan_l2tp_keepalive_timeout
translator: snmp.IntTranslator
1.3.6.1.4.1.4115.1.20.1.1.1.11.1.0:
name: wan_use_auto_dns
translator: snmp.BoolTranslator
doc: Use automatic DNS servers as specified by ISP and DHCP
1.3.6.1.4.1.4115.1.20.1.1.1.12.3.0:
name: wan_dhcp_duration_ipv4
translator: snmp.IntTranslator
doc: |
The number of seconds the current WAN DHCP ipv4 lease will remain
valid
1.3.6.1.4.1.4115.1.20.1.1.1.12.4.0:
name: wan_dhcp_expire_ipv4
translator: snmp.DateTimeTranslator
doc: The date/time the current WAN DHCP lease will expire.
1.3.6.1.4.1.4115.1.20.1.1.1.12.7.0:
name: wan_dhcp_duration_ipv6
translator: snmp.IntTranslator
doc: The number of seconds the current WAN DHCP ipv6 lease will remain valid
1.3.6.1.4.1.4115.1.20.1.1.1.12.8.0:
name: wan_dhcp_expire_ipv6
translator: snmp.DateTimeTranslator
doc: The date/time the current WAN DHCP lease will expire.
1.3.6.1.4.1.4115.1.20.1.1.1.12.9.0:
name: wan_dhcp_server_ip
translator: snmp.IPv4Translator
doc: IP address of DHCP server that gave the hub a lease
1.3.6.1.4.1.4115.1.20.1.1.1.13.0:
name: wan_if_macaddr
translator: snmp.MacAddressTranslator
doc: |
MAC address on the WAN interface.
This is the mac address your ISP will see, and it is most likely
tied to our account with the ISP.
1.3.6.1.4.1.4115.1.20.1.1.1.17.0:
name: wan_ip_prov_mode
doc: eRouter initialization mode
# TODO: These properties are actually looking into a table, and should
# probably be refactored...
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.3.200:
name: lan_subnetmask
translator: snmp.IPv4Translator
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.5.200:
name: lan_gateway
translator: snmp.IPAddressTranslator
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.7.200:
name: lan_gateway2
translator: snmp.IPAddressTranslator
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.9.200:
name: lan_dhcp_enabled
translator: snmp.BoolTranslator
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.11.200:
name: lan_dhcpv4_range_start
translator: snmp.IPv4Translator
doc: The first IP address of the DHCP allocation range on the LAN
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.13.200:
name: lan_dhcpv4_range_end
translator: snmp.IPv4Translator
doc: The last IP address of the DHCP allocation range on the LAN
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.14.200:
name: lan_dhcpv4_leasetime
translator: snmp.IntTranslator
doc: The lease time (in seconds)
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.29.200:
name: lan_dhcpv6_prefixlength
translator: snmp.IntTranslator
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.31.200:
name: lan_dhcpv6_range_start
translator: snmp.IPv6Translator
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.33.200:
name: lan_dhcpv6_leasetime
translator: snmp.IntTranslator
1.3.6.1.4.1.4115.1.20.1.1.2.2.1.39.200:
name: lan_parentalcontrols_enabled
translator: snmp.BoolTranslator
doc: Whether parental controls are enabled
# TODO: These properties are actually looking into a table, and should
# probably be refactored...
1.3.6.1.4.1.4115.1.20.1.1.3.22.1.2.10001:
name: wifi_24ghz_essid
1.3.6.1.4.1.4115.1.20.1.1.3.22.1.2.10101:
name: wifi_5ghz_essid
1.3.6.1.4.1.4115.1.20.1.1.3.26.1.2.10001:
name: wifi_24ghz_password
1.3.6.1.4.1.4115.1.20.1.1.3.26.1.2.10101:
name: wifi_5ghz_password
1.3.6.1.4.1.4115.1.20.1.1.4.1.0:
name: firewall_enabled
translator: snmp.BoolTranslator
1.3.6.1.4.1.4115.1.20.1.1.4.18.1.0:
name: ddns_enabled
translator: snmp.BoolTranslator
1.3.6.1.4.1.4115.1.20.1.1.4.18.2.0:
name: ddns_type
1.3.6.1.4.1.4115.1.20.1.1.4.18.3.0:
name: ddns_username
1.3.6.1.4.1.4115.1.20.1.1.4.18.4.0:
name: ddns_password
1.3.6.1.4.1.4115.1.20.1.1.4.18.5.0:
name: ddns_domain_name
1.3.6.1.4.1.4115.1.20.1.1.4.18.6.0:
name: ddns_addr_type
translator: snmp.IPVersionTranslator
1.3.6.1.4.1.4115.1.20.1.1.4.18.7.0:
name: ddns_address
translator: snmp.IPAddressTranslator
1.3.6.1.4.1.4115.1.20.1.1.4.18.8.0:
name: ddns_current_status
1.3.6.1.4.1.4115.1.20.1.1.5.6.0:
name: language
doc: |
Hub interface language.
On the Virgin Media hub, setting this appears to have no effect
1.3.6.1.4.1.4115.1.20.1.1.5.7.0:
name: name
1.3.6.1.4.1.4115.1.20.1.1.5.8.0:
name: serial_number
1.3.6.1.4.1.4115.1.20.1.1.5.9.0:
name: bootcode_version
1.3.6.1.4.1.4115.1.20.1.1.5.10.0:
name: hardware_version
1.3.6.1.4.1.4115.1.20.1.1.5.11.0:
name: firmware_version
1.3.6.1.4.1.4115.1.20.1.1.5.14.0:
name: customer_id
1.3.6.1.4.1.4115.1.20.1.1.5.15.0:
name: current_time
translator: snmp.DateTimeTranslator
doc: |
The current time on the hub.
This may or may not be accurate, depending on
current_time_status.
1.3.6.1.4.1.4115.1.20.1.1.5.16.1.2.1:
name: auth_username
doc: The name of the admin user
1.3.6.1.4.1.4115.1.20.1.1.5.62.0:
name: first_install_wizard_completed
translator: snmp.BoolTranslator
1.3.6.1.4.1.4491.2.1.14.1.5.4.0:
name: esafeErouterInitModeCtrl
doc: "TODO: Figure out what this is..."