Skip to content

Request to add Oid as a parameter within object details #7

@kishoretaru

Description

@kishoretaru

Hi @PrimeEuler,

I was using asn2json to convert mibs into json, it works really well. Is there a way to add Oid values within output.

Current output
Ex : "ABCPathAttrAggregatorAddr": {
"OBJECT-TYPE": {
"SYNTAX": "IpAddress",
"MAX-ACCESS": "read-only",
"STATUS": "current",
"DESCRIPTION": [
"The IP address of the last ABC speaker",
"that performed route aggregation. A value",
"of 0.0.0.0 indicates the absence of this",
"attribute."
],
"::=": [
"ABCPathAttrEntry",
11
]
}
},

Expected Output :

"bgp4PathAttrAggregatorAddr": {
"OBJECT-TYPE": {
"SYNTAX": "IpAddress",
"Oid":"1.3.6.1.2.1.15.3.1.14",
"MAX-ACCESS": "read-only",
"STATUS": "current",
"DESCRIPTION": [
"The IP address of the last ABC speaker",
"that performed route aggregation. A value",
"of 0.0.0.0 indicates the absence of this",
"attribute."
],
"::=": [
"ABCPathAttrEntry",
11
]
}
},

Please let me know if you need any additional details .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions