[UDM] What value to give to 'requested' when 'type' = 'msm'?
The documentation <https://atlas.ripe.net/doc/measurement-creation-api/> says: "probes": [ { "requested": 1, "type": "msm", "value": 1000002 } ] but, from my tests, if you do so, you get only one probe, whatever measurement #1000002 actually used. To get all the probes, I had to indicate a very large number in 'requested' (unless you remember or count the actual number).
Hi, On 7/16/13 4:21 PM, Stephane Bortzmeyer wrote:
The documentation <https://atlas.ripe.net/doc/measurement-creation-api/> says:
"probes": [ { "requested": 1, "type": "msm", "value": 1000002 } ]
but, from my tests, if you do so, you get only one probe, whatever measurement #1000002 actually used. To get all the probes, I had to indicate a very large number in 'requested' (unless you remember or count the actual number).
Indeed if you want all probes you have to specify number bigger or equal with what the measurement had. Otherwise you will get the amount you specified. But it makes sense to have a flag to indicate that you want the exact same number. We will look into it. Thanks, Andreas
On Wed, Jul 17, 2013 at 09:06:26AM +0200, Andreas Strikos <astrikos@ripe.net> wrote a message of 29 lines which said:
Indeed if you want all probes you have to specify number bigger or equal with what the measurement had.
But not any number since the code unfortunately checks that I have enough credits, even if this parameter "requested" is not used :-( {'definitions': [{'protocol': 'UDP', 'target': '217.70.190.232', 'af': 4, 'type': 'traceroute', 'is_oneoff': True, 'description': 'Traceroute 217.70.190.232 from probes of measurement #1013422'}], 'probes': [{'requested': 100000, 'type': 'msm', 'value': '1013422'}]} RIPEAtlas.RequestSubmissionError: {"error": {"code": 104, "message": "You do not have enough credit to schedule this measurement."}} It works with a lower number: {'definitions': [{'protocol': 'UDP', 'target': '217.70.190.232', 'af': 4, 'type': 'traceroute', 'is_oneoff': True, 'description': 'Traceroute 217.70.190.232 from probes of measurement #1013422'}], 'probes': [{'requested': 1000, 'type': 'msm', 'value': '1013422'}]} Measurement #1013425 Traceroute 217.70.190.232 from probes of measurement #1013422 uses 5 probes 5 probes reported Test done at 2013-07-17T08:54:47Z
participants (2)
-
Andreas Strikos
-
Stephane Bortzmeyer