Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
c289737c
Commit
c289737c
authored
Mar 05, 2020
by
Jean-Claude BAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SNMP: Generate automatically the file oids.txt which contains all OIDs
parent
255e0399
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
321 additions
and
1 deletion
+321
-1
Makefile
userspace/snmpd/Makefile
+6
-1
oids.txt
userspace/snmpd/oids.txt
+315
-0
No files found.
userspace/snmpd/Makefile
View file @
c289737c
...
...
@@ -69,11 +69,16 @@ MIBS = WR-SWITCH-MIB.txt
OBJECTS
=
$
(
SOURCES:.c
=
.o
)
all
:
$(SHLIB)
OID_FILE
=
oids.txt
all
:
$(SHLIB) $(OID_FILE)
$(SHLIB)
:
$(OBJECTS)
$(CC)
$(LDFLAGS)
$^
-o
$@
$(OID_FILE)
:
$(MIBS)
snmptranslate
-Pu
-Tz
-M
/usr/share/snmp/mibs
-m
./
$(MIBS)
>
$(OID_FILE)
clean
:
rm
-f
$(SHLIB)
$(OBJECTS)
...
...
userspace/snmpd/oids.txt
0 → 100644
View file @
c289737c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment