Comments (7)
smidump
Shows it as a nodetype
"nodes" : {
"interfaces" : {
"nodetype" : "node",
"moduleName" : "IF-MIB",
"oid" : "1.3.6.1.2.1.2",
}, # node
"ifNumber" : {
"nodetype" : "scalar",
from pysmi.
Thank you for raising this issue!
The nodetype
feature has been implemented since 2384836. Please, test and let me know in case of further ideas/issues.
from pysmi.
AWESOME!!! you are the best
from pysmi.
is this in pip already or is compiling the only way to get it? Just asking for my cookbook :-)
from pysmi.
Verified working BTW:
"ifTable": {
"name": "ifTable",
"oid": "1.3.6.1.2.1.2.2",
"nodetype": "table",
"class": "objecttype",
"maxaccess": "not-accessible",
"status": "current"
},
"ifEntry": {
"name": "ifEntry",
"oid": "1.3.6.1.2.1.2.2.1",
"nodetype": "row",
"class": "objecttype",
"maxaccess": "not-accessible",
"indices": [
{
"module": "IF-MIB",
"object": "ifIndex"
}
],
"status": "current"
},
"ifIndex": {
"name": "ifIndex",
"oid": "1.3.6.1.2.1.2.2.1.1",
"nodetype": "column",
"class": "objecttype",
"syntax": {
"type": "InterfaceIndex",
"class": "type"
},
"maxaccess": "read-only",
"status": "current"
},
from pysmi.
is this in pip already or is compiling the only way to get it? Just asking for my cookbook :-)
Not it pip yet, but you can link a repo in the meanwhile.
from pysmi.
Released in 0.1.3
from pysmi.
Related Issues (20)
- FileReader.getData() does not return full mibinfo
- MIB file does not load properly HOT 7
- NotADirectoryError: [Errno 20] Not a directory: HOT 1
- Attempting to run compiled MIB results in error while loading HOT 2
- Nodejs and typescript HOT 6
- There's anyway to convert text to mib files with this lib? HOT 8
- Deprecation warning due to invalid escape sequences in Python 3.8
- MIB file fails to parse HOT 2
- JSON output fails if a descriptor is a Python keyword HOT 3
- MibCompiler fails if dependent MIBs only available to searchers HOT 1
- snmplabs.com site is down, so Borrow Missing/failed MIBS does not work HOT 2
- Mibdump: Multiple MODULE-IDENTITY in MIB HOT 1
- MIBs compile errors HOT 2
- Convert a local mib file to json. HOT 1
- The example doesn't work. Am I doing something wrong ? HOT 1
- Will there be any new releases HOT 2
- Any reason why some of the mib files are excluded for json conversion using mibdump tool? HOT 2
- [ pysmi version is 0.3.4] MibCompiler error when node name is 'as',the key world change to 'pysmi_as' HOT 3
- Returns wrong trapOid for HP nodes HOT 1
- Failed MIBs: PAN-COMMON (Duplicate symbol found: index at MIB PAN-COMMON) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysmi.