Bug 1564 - Packet meta data isn't shown in dumbbell-animation.xml
Packet meta data isn't shown in dumbbell-animation.xml
Status: RESOLVED FIXED
Product: netanim
Classification: Unclassified
Component: animator
unspecified
PC Linux
: P5 normal
Assigned To: John Abraham
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-03 12:04 UTC by Vedran Miletić
Modified: 2013-01-06 13:57 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vedran Miletić 2013-01-03 12:04:16 UTC
Packet meta data isn't shown in dumbbell-animation.xml, and "M" button seems to have no effect on it.
Comment 1 John Abraham 2013-01-04 14:54:40 UTC
Did you add the line anim.EnablePacketMetadata (true)

I just tried it out, the xml record meta data.

John-Abrahams-MacBook-Pro:ns-3-dev john$ hg diff
diff -r 5d5d2435bc3b src/netanim/examples/dumbbell-animation.cc
--- a/src/netanim/examples/dumbbell-animation.cc	Fri Jan 04 18:50:04 2013 +0100
+++ b/src/netanim/examples/dumbbell-animation.cc	Fri Jan 04 11:53:03 2013 -0800
@@ -94,6 +94,7 @@
 
   // Create the animation object and configure for specified output
   AnimationInterface anim (animFile);
+  anim.EnablePacketMetadata (true);
   
   // Set up the acutal simulation
   Ipv4GlobalRoutingHelper::PopulateRoutingTables ();
Comment 2 Vedran Miletić 2013-01-05 12:00:03 UTC
Apparently no.
Comment 3 John Abraham 2013-01-06 13:57:22 UTC
Thanks I pushed a change to notify the user that no meta info was seen on the XML and to use EnablePacketMetadata.

(In reply to comment #2)
> Apparently no.