Bug 1564

Summary: Packet meta data isn't shown in dumbbell-animation.xml
Product: netanim Reporter: Vedran Miletić <vedran>
Component: animatorAssignee: John Abraham <john.abraham.in>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: unspecified   
Hardware: PC   
OS: Linux   

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.