Giter Site home page Giter Site logo

JsonCodeGen issue about pysmi HOT 7 CLOSED

etingof avatar etingof commented on August 28, 2024
JsonCodeGen issue

from pysmi.

Comments (7)

makaveli0129 avatar makaveli0129 commented on August 28, 2024

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.

etingof avatar etingof commented on August 28, 2024

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.

makaveli0129 avatar makaveli0129 commented on August 28, 2024

AWESOME!!! you are the best

from pysmi.

makaveli0129 avatar makaveli0129 commented on August 28, 2024

is this in pip already or is compiling the only way to get it? Just asking for my cookbook :-)

from pysmi.

makaveli0129 avatar makaveli0129 commented on August 28, 2024

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.

etingof avatar etingof commented on August 28, 2024

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.

etingof avatar etingof commented on August 28, 2024

Released in 0.1.3

from pysmi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.