python-ipfix
python-ipfix copied to clipboard
Template caching
As I want to use this library for IPFIX message parsing , where I am pushing data every second. So to reduce overhead I am sending Template only once or at the beginning of communication begin.
It decode well the first message as it has template as well data set. But then after it not able to decode the message. Currently after reading message from UDP socket storing into a local Queue, not passing stream directly to any library decoding method.
Code snippet, how I am using it: ipfix.message.MessageBuffer() msg.from_bytes(byteBuffer) for rec in msg.namedict_iterator() XXXXXXXXXX
But it is not caching the templates it has processed previously.