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 .
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 .