View | Details | Raw Unified | Return to bug 885
Collapse All | Expand All

(-)a/examples/csma/csma-bridge.py (-3 / +2 lines)
 Lines 123-131    Link Here 
123
    # Trace output will be sent to the file "csma-bridge.tr"
123
    # Trace output will be sent to the file "csma-bridge.tr"
124
    #
124
    #
125
    #print "Configure Tracing."
125
    #print "Configure Tracing."
126
    #std.ofstream ascii
126
    #ascii = ns3.ofstream("csma-bridge.tr")
127
    #ascii.open("csma-bridge.tr")
127
    #ns3.CsmaHelper.EnableAsciiAll(ascii)
128
    #CsmaHelper.EnableAsciiAll(ascii)
129
128
130
    #
129
    #
131
    # Also configure some tcpdump traces; each interface will be traced.
130
    # Also configure some tcpdump traces; each interface will be traced.
(-)a/examples/wireless/mixed-wireless.py (-4 / +3 lines)
 Lines 315-324    Link Here 
315
    # 
315
    # 
316
    #  Let's set up some ns-2-like ascii traces, using another helper class
316
    #  Let's set up some ns-2-like ascii traces, using another helper class
317
    # 
317
    # 
318
    #std.ofstream ascii
318
    #ascii = ns3.ofstream("mixed-wireless.tr")
319
    #ascii.open("mixed-wireless.tr")
319
    #ns3.WifiHelper.EnableAsciiAll(ascii)
320
    #WifiHelper.EnableAsciiAll(ascii)
320
    #ns3.CsmaHelper.EnableAsciiAll(ascii)
321
    #CsmaHelper.EnableAsciiAll(ascii)
322
    print "(tracing not done for Python)"
321
    print "(tracing not done for Python)"
323
    #  Look at nodes 11, 13 only
322
    #  Look at nodes 11, 13 only
324
    # WifiHelper.EnableAscii(ascii, 11, 0); 
323
    # WifiHelper.EnableAscii(ascii, 11, 0); 

Return to bug 885