telstra/open-kilda

Switch Validation: V2: Flow-related meters.proper data is absent

Opened this issue · 0 comments

STR:

  1. Add regular flow (src, dst).
  2. Execute switch validation request: GET /api/v2/switches/{switch_id}/validate

Actual result:
Flow-related meters.proper data is absent .
...part of the validation response (/api/v2/switches/{switch_id}/validate)
meterId=22, flags=[BURST, PKTPS, STATS], rate=1, burstSize=4096), MeterInfoDtoV2(cookie=null, flowId=null, flowPathId=null, yFlowId=null, meterId=24, flags=[BURST, PKTPS, STATS], rate=1, burstSize=4096), MeterInfoDtoV2(cookie=null, **flowId=null, flowPathId=null, yFlowId=null, meterId=1273, flags=[BURST, KBPS, STATS], rate=500, burstSize=525**)]), groups=GroupsValidationDtoV2(asExpected=true, missing=[], misconfigured=[], excess=[], proper=[GroupInfoDtoV2(flowId=null, flowPathId=null, groupId=1, buckets=[GroupInfoDtoV2.BucketDto(port=-3, vlan=null, vni=null), GroupInfoDtoV2.BucketDto(port=-8, vlan=null, vni=null)])]), logicalPorts=null), switchId=00:00:00:00:00:00:00:01)

...part of the validation response (/api/v1/switches/{switch_id}/validate)
meterId=24, cookie=null, flowId=null, rate=1, burstSize=4096, flags=[BURST, PKTPS, STATS], actual=null, expected=null), MeterInfoDto(meterId=1273, **cookie=4611686018427517315, flowId=01Sep142220_771_cardamom6685, rate=500,** **burstSize=525**, flags=[BURST, KBPS, STATS], actual=null, expected=null)], excess=[]), groups=GroupsValidationDto(missing=[], misconfigured=[], proper=[GroupInfoDto(groupId=1, groupBuckets=[GroupInfoDto.BucketDto(port=-3, vlan=null, vni=null), GroupInfoDto.BucketDto(port=-8, vlan=null, vni=null)], missingGroupBuckets=null, excessGroupBuckets=null)], excess=[]), logicalPorts=LogicalPortsValidationDto(missing=[], misconfigured=[], proper=[], excess=[], error=)), switchId=00:00:00:00:00:00:00:01)

Expected result:
Flow-related meters.proper data is present.