Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-296

Unset fields in MeterStatsResponseConvertor

    XMLWordPrintable

Details

    • Bug
    • Status: Verified
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 2065

    Description

      I discovered two bugs while creating unit tests for MultipartReplyTranslator (MeterConfig case - please see MultipartReplyTranslatorFifthTest#testMeterConfigStats()).

      #1:
      In MeterStatsResponseConvertor#toSALMeterConfigList() the meterConfigStatsBuilder.setFlags() is not set. So the flags return null instead of boolean value.

      #2:
      In MeterStatsResponseConvertor#toSALMeterConfigList(), in case of a band of type MeterBandDscpRemarkCase is received, dscpRemarkBuilder.setPercLevel() is not set either (+ just typo - should be PrecLevel())

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mbobak@cisco.com Martin Bobak
            michal.polkorab@gmail.com Michal Polkorab
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: