Skip to content

Commit

Permalink
add CISCO-PTP-MIB
Browse files Browse the repository at this point in the history
  • Loading branch information
robcowart committed Apr 18, 2024
1 parent e88b537 commit 2368741
Show file tree
Hide file tree
Showing 3 changed files with 883 additions and 0 deletions.
202 changes: 202 additions & 0 deletions enums/integer/cisco/CISCO-PTP-MIB.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
# cPtpSystemDomainClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.1.2.1.1:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.1.3.1.2:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpSystemProfile
.1.3.6.1.4.1.9.9.760.1.1.4:
1: 'default' # default
2: 'telecom' # telecom
3: 'vendor-specific' # vendorspecific

# cPtpClockCurrentDSClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.1.1.2:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockParentDSClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.2.1.2:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockParentDSGMClockQualityAccuracy
.1.3.6.1.4.1.9.9.760.1.2.2.1.12:
1: 'reserved' # reserved00
32: 'nanoSecond25' # nanoSecond25
33: 'nanoSecond100' # nanoSecond100
34: 'nanoSecond250' # nanoSecond250
35: 'microSec1' # microSec1
36: 'microSec2dot5' # microSec2dot5
37: 'microSec10' # microSec10
38: 'microSec25' # microSec25
39: 'microSec100' # microSec100
40: 'microSec250' # microSec250
41: 'milliSec1' # milliSec1
42: 'milliSec2dot5' # milliSec2dot5
43: 'milliSec10' # milliSec10
44: 'milliSec25' # milliSec25
45: 'milliSec100' # milliSec100
46: 'milliSec250' # milliSec250
47: 'second1' # second1
48: 'second10' # second10
49: 'secondGreater10' # secondGreater10
254: 'unknown' # unknown
255: 'reserved' # reserved255

# cPtpClockDefaultDSClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.3.1.2:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockDefaultDSQualityAccuracy
.1.3.6.1.4.1.9.9.760.1.2.3.1.10:
1: 'reserved' # reserved00
32: 'nanoSecond25' # nanoSecond25
33: 'nanoSecond100' # nanoSecond100
34: 'nanoSecond250' # nanoSecond250
35: 'microSec1' # microSec1
36: 'microSec2dot5' # microSec2dot5
37: 'microSec10' # microSec10
38: 'microSec25' # microSec25
39: 'microSec100' # microSec100
40: 'microSec250' # microSec250
41: 'milliSec1' # milliSec1
42: 'milliSec2dot5' # milliSec2dot5
43: 'milliSec10' # milliSec10
44: 'milliSec25' # milliSec25
45: 'milliSec100' # milliSec100
46: 'milliSec250' # milliSec250
47: 'second1' # second1
48: 'second10' # second10
49: 'secondGreater10' # secondGreater10
254: 'unknown' # unknown
255: 'reserved' # reserved255

# cPtpClockRunningClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.4.1.1:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockRunningState
.1.3.6.1.4.1.9.9.760.1.2.4.1.4:
1: 'freerun' # freerun
2: 'holdover' # holdover
3: 'acquiring' # acquiring
4: 'frequency-locked' # frequencyLocked
5: 'phase-aligned' # phaseAligned

# cPtpClockTimePropertiesDSClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.5.1.1:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockTimePropertiesDSSource
.1.3.6.1.4.1.9.9.760.1.2.5.1.11:
16: 'atomic clock' # atomicClock
32: 'GPS' # gps
48: 'terrestrial radio' # terrestrialRadio
64: 'PTP' # ptp
80: 'NTP' # ntp
96: 'hand set' # handSet
144: 'other' # other
160: 'internal osillator' # internalOsillator

# cPtpClockTransDefaultDSDelay
.1.3.6.1.4.1.9.9.760.1.2.6.1.5:
1: 'E2E' # e2e
2: 'P2P' # p2p
254: 'disabled' # disabled

# cPtpClockPortClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.7.1.2:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockPortRole
.1.3.6.1.4.1.9.9.760.1.2.7.1.6:
1: 'master' # master
2: 'slave' # slave

# cPtpClockPortDSClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.8.1.2:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockPortDSDelayMech
.1.3.6.1.4.1.9.9.760.1.2.8.1.12:
1: 'E2E' # e2e
2: 'P2P' # p2p
254: 'disabled' # disabled

# cPtpClockPortRunningClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.9.1.2:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockPortRunningState
.1.3.6.1.4.1.9.9.760.1.2.9.1.6:
1: 'initializing' # initializing
2: 'faulty' # faulty
3: 'disabled' # disabled
4: 'listening' # listening
5: 'pre-master' # preMaster
6: 'master' # master
7: 'passive' # passive
8: 'uncalibrated' # uncalibrated
9: 'slave' # slave

# cPtpClockPortRunningRole
.1.3.6.1.4.1.9.9.760.1.2.9.1.7:
1: 'master' # master
2: 'slave' # slave

# cPtpClockPortRunningTxMode
.1.3.6.1.4.1.9.9.760.1.2.9.1.11:
1: 'unicast' # unicast
2: 'multicast' # multicast
3: 'multicast-mix' # multicastmix

# cPtpClockPortRunningRxMode
.1.3.6.1.4.1.9.9.760.1.2.9.1.12:
1: 'unicast' # unicast
2: 'multicast' # multicast
3: 'multicast-mix' # multicastmix

# cPtpClockPortCurrentClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.11.1.2:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode

# cPtpClockSystemTimePropertiesClockTypeIndex
.1.3.6.1.4.1.9.9.760.1.2.12.1.2:
1: 'ordinary' # ordinaryClock
2: 'boundary' # boundaryClock
3: 'transparent' # transparentClock
4: 'boundary node' # boundaryNode
19 changes: 19 additions & 0 deletions object_groups/cisco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,25 @@ cisco_netif:
- CISCO-ETHERLIKE-EXT-MIB::ceeDot3PauseExtEntry
- CISCO-ETHERLIKE-EXT-MIB::ceeSubInterfaceEntry

cisco_ptp:
objects:
- CISCO-PTP-MIB::cPtpSystemEntry
- CISCO-PTP-MIB::cPtpSystemDomainEntry
- CISCO-PTP-MIB::cPtpClockNodeEntry
- CISCO-PTP-MIB::ciscoPtpMIBSystemInfo
- CISCO-PTP-MIB::cPtpClockCurrentDSEntry
- CISCO-PTP-MIB::cPtpClockParentDSEntry
- CISCO-PTP-MIB::cPtpClockDefaultDSEntry
- CISCO-PTP-MIB::cPtpClockRunningEntry
- CISCO-PTP-MIB::cPtpClockTimePropertiesDSEntry
- CISCO-PTP-MIB::cPtpClockTransDefaultDSEntry
- CISCO-PTP-MIB::cPtpClockPortEntry
- CISCO-PTP-MIB::cPtpClockPortDSEntry
- CISCO-PTP-MIB::cPtpClockPortRunningEntry
- CISCO-PTP-MIB::cPtpClockPortTransDSEntry
- CISCO-PTP-MIB::cPtpClockPortAssociateEntry
- CISCO-PTP-MIB::cPtpClockSystemTimePropertiesEntry

cisco_router:
objects:
- CISCO-BGP4-MIB::cbgpGlobal
Expand Down
Loading

0 comments on commit 2368741

Please sign in to comment.