Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Access to "sub" index (when OID has multiple indexes) #9893
Following a discussion that took place a couple of weeks ago, here is a proposal to give access in yaml to all the parts of an index.
Simple example with the FANs in Huawei VRP devices:
This OID is indexed by "slot" and by "fanID". So in a stack of switches, you will have :
So, for the 2nd fan of the 1st stack member, instead of :
The variables are named $subindex with X from 0 to n, parsing left to right the OID exploded around ".".
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run: