View Issue Details

IDProjectCategoryView StatusLast Update
0002855GNUnettestbed servicepublic2018-06-07 01:17
ReporterSree Harsha Totakura Assigned To 
PrioritylowSeverityfeatureReproducibilityN/A
Status confirmedResolutionopen 
Product VersionGit master 
Summary0002855: Simulate network delay in testbed
DescriptionSetting artificial delay is now supported by TRANSPORT. This should be used to simulate network delay between peers in testbed.
Additional Information-------- Forwarded Message --------
> From: Matthias Wachs <wachs@net.in.tum.de>
> To: Bart Polot <bart@net.in.tum.de>
> Subject: articficial delay
> Date: Mon, 04 Mar 2013 13:11:20 +0100
>
> You can see how to use transport traffic manipulation
> in ./test_transport_api_manipulation_recv_tcp.c
>
> You specify a transport handle, a target peer, a direction
> TM_SEND, TM_RECV or TM_BOTH and the kind of manipulation using an ATS
> struct.
>
> To set an artificial delay of 1sec to peer 2 when sending you can use:
>
> ats[0].type = htonl (GNUNET_ATS_QUALITY_NET_DELAY);
> ats[0].value = htonl (1000);
> GNUNET_TRANSPORT_set_traffic_metric (p2->th, &p1->id,TM_SEND, ats, 1);
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-04-04 11:51 Sree Harsha Totakura New Issue
2013-04-04 11:51 Sree Harsha Totakura Status new => assigned
2013-04-04 11:51 Sree Harsha Totakura Assigned To => Sree Harsha Totakura
2013-07-13 21:18 Christian Grothoff Product Version => Git master
2013-07-13 21:18 Christian Grothoff Target Version => 0.11.0pre66
2013-09-22 17:45 Christian Grothoff Target Version 0.11.0pre66 =>
2018-06-07 01:17 Christian Grothoff Assigned To Sree Harsha Totakura =>
2018-06-07 01:17 Christian Grothoff Status assigned => confirmed