TwistedSNMP is fairly minimal in what it allows on the Agent side, basically static tables mapping OID to value. That's been fine up to now, but I realised as I was trying to track down a bug in Cinemon this afternoon that the reason all of my modems are showing 0-values for their counters in the test suite is because they are all static. Of course, I've known that for a while, but it struck me today as rather silly that the tests aren't reproducing this most basic operation.
So I'm currently in the middle of retrofitting the code into the OIDStore model of TwistedSNMP. Surprisingly complex, mostly just because of the need to watch for items that are less-than a key and thus can include the key... makes the logic much hairier.
Pingbacks are closed.