-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoids.go
76 lines (70 loc) · 3.57 KB
/
oids.go
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
package godocsis
// list of oids for forwarding table in TC7200
const (
oid_tc7200_cgUiAdvancedForwardingPortStartValue string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.2"
oid_tc7200_cgUiAdvancedForwardingPortEndValue string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.3"
oid_tc7200_cgUiAdvancedForwardingProtocolType string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.4"
oid_tc7200_cgUiAdvancedForwardingIpAddrType string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.5"
oid_tc7200_cgUiAdvancedForwardingIpAddr string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.6"
oid_tc7200_cgUiAdvancedForwardingEnabled string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.7"
oid_tc7200_cgUiAdvancedForwardingRowStatus string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.8"
oid_tc7200_cgUiAdvancedForwardingPortInternalStartValue string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.9"
oid_tc7200_cgUiAdvancedForwardingPortInternalEndValue string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.10"
oid_tc7200_cgUiAdvancedForwardingRemoteIpAddr string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.11"
oid_tc7200_cgUiAdvancedForwardingDescription string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.12"
oid_tc7200_cgUiAdvancedForwardingRemove string = ".1.3.6.1.4.1.2863.205.10.1.33.2.5.1.13"
)
// cm upgrade
const (
DocsDevSwServerOid string = ".1.3.6.1.2.1.69.1.3.1.0"
oid_docsDevSwFilename string = ".1.3.6.1.2.1.69.1.3.2.0"
oid_docsDevSwAdminStatus string = ".1.3.6.1.2.1.69.1.3.3.0"
oid_docsDevSwCurrentVers string = ".1.3.6.1.2.1.69.1.3.5.0"
oid_cmVersion string = ".1.3.6.1.2.1.1.1.0"
oid_cmLogs string = ".1.3.6.1.2.1.69.1.5.8.1.7"
)
const (
// ResetOid - generic DOCSIS cable modem reset oid
ResetOid string = "1.3.6.1.2.1.69.1.1.3.0"
// DsOid contans table of active downstreams
DsOid string = "1.3.6.1.2.1.10.127.1.1.1.1.6"
// UsOid contains table of used upstream channels
UsOid string = "1.3.6.1.2.1.10.127.1.2.2.1.3"
// IPAdEntIfIndex will provide tree with list of IP addressess
IPAdEntIfIndex string = "1.3.6.1.2.1.4.20.1.2"
// oid_cgConnectedDevices is Technicolor TC7200 specific mib
// with list of connected devices
oid_tc7200_cgConnectedDevices string = "1.3.6.1.4.1.2863.205.10.1.13"
// cable modem upgrade method (1 - tftp, 2 - http)
oid_docsDevSwServerTransportProtocol = ".1.3.6.1.2.1.69.1.3.8.0"
)
//CMTS
const (
// deprecated
oid_docsIfCmtsCmStatusTable = ".1.3.6.1.2.1.10.127.1.3.3.1"
oid_docsIfCmtsCmStatusMacAddress = ".1.3.6.1.2.1.10.127.1.3.3.1.2"
oid_docsIfCmtsCmStatusIpAddress = ".1.3.6.1.2.1.10.127.1.3.3.1.3"
oid_docsIfCmtsCmStatusRxPower = " .1.3.6.1.2.1.10.127.1.3.3.1.6"
oid_docsIfCmtsCmStatus = ".1.3.6.1.2.1.10.127.1.3.3.1.9"
oid_docsIfCmtsCmInetAddressType = ".1.3.6.1.2.1.10.127.1.3.3.1.20"
oid_docsIfCmtsCmInetAddress = ".1.3.6.1.2.1.10.127.1.3.3.1.21"
oid_docsIfCmtsCmMacAddress = ".1.3.6.1.2.1.10.127.1.3.3.1.2"
oid_docsIfCmtsCmStatusSignalNoise = ".1.3.6.1.2.1.10.127.1.3.3.1.13"
oid_docsIfCmtsCmStatusValueLastUpdate = ".1.3.6.1.2.1.10.127.1.3.3.1.22"
)
// OID table definitions
const (
CM_STATUS_MAC_ADDRESS = 2
// deprecated
CM_STATUS_IP_ADDRES = 3
CM_STATUS_RX_POWER = 6
CM_STATUS_US_SNR = 13
CM_STATUS_INET_ADDRESS_TYPE = 20
CM_STATUS_INET_ADDRESS = 21
CM_STATUS = 9
CM_STATUS_UPDATE_TS = 22
)
const (
IP_ADDR_TYPE_UNKNOWN = 0
IP_ADDR_TYPE_v4 = 1
)