Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
99
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
2dfcc2c7
Commit
2dfcc2c7
authored
3 months ago
by
Adam Wujek
Browse files
Options
Downloads
Patches
Plain Diff
[BUG:
#354
] userspace/snmpd/WR-SWITCH-MIB.txt: fix errors reported by smilint
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
35de2710
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
userspace/snmpd/WR-SWITCH-MIB.txt
+21
-14
21 additions, 14 deletions
userspace/snmpd/WR-SWITCH-MIB.txt
with
21 additions
and
14 deletions
userspace/snmpd/WR-SWITCH-MIB.txt
+
21
−
14
View file @
2dfcc2c7
...
...
@@ -10,15 +10,14 @@ WR-SWITCH-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-TYPE, Integer32, Unsigned32, Counter32, Counter64,
MODULE-IDENTITY, enterprises FROM SNMPv2-SMI
DisplayString, PhysAddress FROM SNMPv2-TC;
DisplayString, PhysAddress,
TEXTUAL-CONVENTION FROM SNMPv2-TC;
-- A brief description and update information about this mib.
-- (I follow the CamelCase to be sure I don't mistype. Who knows the rules...
wrSwitchMIB MODULE-IDENTITY
LAST-UPDATED "2024
0326
0000Z"
LAST-UPDATED "2024
1212
0000Z"
ORGANIZATION "CERN"
CONTACT-INFO "postal: BE-CO-HT, CERN, Geneva
email: ht-drivers@cern.ch
...
...
@@ -26,6 +25,14 @@ wrSwitchMIB MODULE-IDENTITY
DESCRIPTION "White Rabbit Switch internal details
"
REVISION "202412120000Z"
DESCRIPTION
"Updates for v8.0 WRS firmware release
Rename textual-conventions to satisfy smilint:
- wrsTenths -> WrsDisplayTenths
- wrsHundredths -> WrsDisplayHundredths
"
REVISION "202403260000Z"
DESCRIPTION
"Updates for v7.0 WRS firmware release
...
...
@@ -122,14 +129,14 @@ cern OBJECT IDENTIFIER ::= { enterprises 96 }
-- Textual Conventions
--=====================================================================
w
rsTenths ::= TEXTUAL-CONVENTION
W
rs
Display
Tenths ::= TEXTUAL-CONVENTION
DISPLAY-HINT "d-1"
STATUS current
DESCRIPTION
"Display tenths (0.1) of Integer32"
SYNTAX Integer32
w
rsHundredths ::= TEXTUAL-CONVENTION
W
rs
Display
Hundredths ::= TEXTUAL-CONVENTION
DISPLAY-HINT "d-2"
STATUS current
DESCRIPTION
...
...
@@ -2411,10 +2418,10 @@ WrsPortStatusEntry ::=
wrsPortStatusSfpRxPower INTEGER,
wrsPortStatusT24p INTEGER,
wrsPortStatusT24pValid INTEGER,
wrsPortStatusSfpTempF
INTEGER
,
wrsPortStatusSfpVccF
INTEGER
,
wrsPortStatusSfpTxPowerF
INTEGER
,
wrsPortStatusSfpRxPowerF
INTEGER
wrsPortStatusSfpTempF
WrsDisplayHundredths
,
wrsPortStatusSfpVccF
WrsDisplayTenths
,
wrsPortStatusSfpTxPowerF
WrsDisplayTenths
,
wrsPortStatusSfpRxPowerF
WrsDisplayTenths
}
wrsPortStatusIndex OBJECT-TYPE
...
...
@@ -2641,7 +2648,7 @@ wrsPortStatusT24pValid OBJECT-TYPE
::= { wrsPortStatusEntry 23 }
wrsPortStatusSfpTempF OBJECT-TYPE
SYNTAX
w
rsHundredths
SYNTAX
W
rs
Display
Hundredths
UNITS "C"
MAX-ACCESS read-only
STATUS current
...
...
@@ -2651,7 +2658,7 @@ wrsPortStatusSfpTempF OBJECT-TYPE
::= { wrsPortStatusEntry 24 }
wrsPortStatusSfpVccF OBJECT-TYPE
SYNTAX
w
rsTenths
SYNTAX
W
rs
Display
Tenths
UNITS "mV"
MAX-ACCESS read-only
STATUS current
...
...
@@ -2661,7 +2668,7 @@ wrsPortStatusSfpVccF OBJECT-TYPE
::= { wrsPortStatusEntry 25 }
wrsPortStatusSfpTxPowerF OBJECT-TYPE
SYNTAX
w
rsTenths
SYNTAX
W
rs
Display
Tenths
UNITS "uW"
MAX-ACCESS read-only
STATUS current
...
...
@@ -2671,7 +2678,7 @@ wrsPortStatusSfpTxPowerF OBJECT-TYPE
::= { wrsPortStatusEntry 26 }
wrsPortStatusSfpRxPowerF OBJECT-TYPE
SYNTAX
w
rsTenths
SYNTAX
W
rs
Display
Tenths
UNITS "uW"
MAX-ACCESS read-only
STATUS current
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment