Menu

#2302 gather: clean up IPProtocolEP raw data parsing

Code_Cleanup
pending-fixed
5
2011-11-15
2011-11-15
No

The IPProtocolEndpoint repository plugin requires a get function for each colon separated IP stat in the _BytesSubmitted raw metric. Since the data can be tokenized on the colon a single function could be used to retrieve the required data from a index. Can be further cleaned up to use enumerations as indices for each data type (ie. RX_BYTE, TX_BYTE, etc). This is also beneficial should the format of the raw metric change.

Discussion

  • Tyrel Datwyler

    Tyrel Datwyler - 2011-11-15

    Replace redundant get functions with single data parser

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-11-15
    • status: open --> pending-fixed
     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-11-15

    Patch attached

    Committed to CVS Head

     

Log in to post a comment.