Bug 2462

Summary: More Python programs for ns-3-dev/examples/
Product: ns-3 Reporter: Mohit <tahiliani.nitk>
Component: examplesAssignee: ns-bugs <ns-bugs>
Status: PATCH PENDING ---    
Severity: enhancement CC: tomh
Priority: P5    
Version: ns-3.27   
Hardware: All   
OS: Linux   
Attachments: examples/wireless/wifi-hidden-terminal.py
examples/wireless/wifi-blockack.py
examples/wireless/simple-ht-hidden-station.py
examples/tcp/tcp-bulk-send.py
examples/wireless/wifi-hidden-terminal.py
examples/wireless/wifi-blockack.py
examples/wireless/simple-ht-hidden-stations.py
examples/tcp/tcp-bulk-send.py

Description Mohit 2016-08-06 04:39:57 UTC
Created attachment 2514 [details]
examples/wireless/wifi-hidden-terminal.py

Four python programs have been developed for inclusion in ns-3-dev/examples/

These are equivalent to C++ programs that are already available.

Following is the list of programs attached here, with path to sub-directories:

1. examples/wireless/wifi-hidden-terminal.py

2. examples/wireless/wifi-blockack.py

3. examples/wireless/simple-ht-hidden-station.py

4. examples/tcp/tcp-bulk-send.py

Suggestions would be much appreciated.

Thanks and Regards,
Mohit P. Tahiliani
Comment 1 Mohit 2016-08-06 04:41:03 UTC
Created attachment 2515 [details]
examples/wireless/wifi-blockack.py
Comment 2 Mohit 2016-08-06 04:41:51 UTC
Created attachment 2516 [details]
examples/wireless/simple-ht-hidden-station.py
Comment 3 Mohit 2016-08-06 04:42:24 UTC
Created attachment 2517 [details]
examples/tcp/tcp-bulk-send.py
Comment 4 Mohit 2016-12-13 21:09:02 UTC
Hi,

I would be glad to provide if any further information is required to merge these examples.

Please let me know.

Thanks
Comment 5 Tom Henderson 2016-12-14 11:18:21 UTC
(In reply to Mohit from comment #4)
> Hi,
> 
> I would be glad to provide if any further information is required to merge
> these examples.
> 
> Please let me know.
> 
> Thanks


I would like to preserve the original C++ copyright and author statements (the NITK ones can be added to original).  I can make this change before committing.
Comment 6 Mohit 2016-12-14 12:21:29 UTC
Thanks for letting me know, Sir.

I shall take care of this in future programs.
Comment 7 Mohit 2017-10-25 00:21:33 UTC
Created attachment 2938 [details]
examples/wireless/wifi-hidden-terminal.py
Comment 8 Mohit 2017-10-25 00:23:05 UTC
Created attachment 2939 [details]
examples/wireless/wifi-blockack.py
Comment 9 Mohit 2017-10-25 00:24:34 UTC
Created attachment 2940 [details]
examples/wireless/simple-ht-hidden-stations.py
Comment 10 Mohit 2017-10-25 00:25:27 UTC
Created attachment 2941 [details]
examples/tcp/tcp-bulk-send.py
Comment 11 Mohit 2017-10-25 00:32:31 UTC
Few comments about the new files that have been uploaded:

1. Original Copyright and Author names have been added. tcp-bulk-send.cc does not have a Copyright and author name. Any suggestions on how to handle this in Python version?

2. C++ wireless examples were modified recently. Similar changes have been made to Python examples.

3. Tested these Python examples with ns-3.27 (previous ones were tested against ns-3.25).

Thanks and Regards!