Project

General

Profile

Error #334

Algorithm exponents in /tmp/run/bmx6/json/descriptions aren't properly encoded

Added by Roger Pueyo Centelles over 5 years ago.

Status:
Nou
Priority:
Urgent
Assignee:
Target version:
-
Start date:
01/08/2015
Due date:
% Done:

0%


Description

Hi,

I've set node's qMp-TL-WDR4900-0101 algorithm and exponents to these values:

bmx6 -c --metricAlgo 16 /R 0 /r 1 /T 3 /t 2

When I go to another node and check the json descriptor file for qMp-TL-WDR4900 at /tmp/run/bmx6/json/descriptions/qMp-TL-WDR4900-0101.D1760F0F7C16EE6137E9 I see that the exponents are not encoded properly:

{ "METRIC_EXTENSION": [ { "fmetric_u16_min": "1", "metricAlgo": 16, "flags": "0", "txExpDivisor": 0, "txExpNumerator": 64, "rxExpDivisor": 192, "rxExpNumerator": 128, "pathWindow": 5, "pathLounge": 1, "pathRegression": 1, "hopPenalty": 0 } ] }

As far as I see, the algorithm value is OK but the exponents are multiplied by 64.

Could this be fixed, please?

Thanks!

Also available in: Atom PDF