Bug 2462 - More Python programs for ns-3-dev/examples/
More Python programs for ns-3-dev/examples/
Status: PATCH PENDING
Product: ns-3
Classification: Unclassified
Component: examples
ns-3.27
All Linux
: P5 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-06 04:39 EDT by Mohit
Modified: 2017-10-25 00:32 EDT (History)
1 user (show)

See Also:


Attachments
examples/wireless/wifi-hidden-terminal.py (7.85 KB, text/x-python)
2016-08-06 04:39 EDT, Mohit
Details
examples/wireless/wifi-blockack.py (5.55 KB, text/x-python)
2016-08-06 04:41 EDT, Mohit
Details
examples/wireless/simple-ht-hidden-station.py (6.55 KB, text/x-python)
2016-08-06 04:41 EDT, Mohit
Details
examples/tcp/tcp-bulk-send.py (3.90 KB, text/x-python)
2016-08-06 04:42 EDT, Mohit
Details
examples/wireless/wifi-hidden-terminal.py (7.84 KB, text/x-python-script)
2017-10-25 00:21 EDT, Mohit
Details
examples/wireless/wifi-blockack.py (5.59 KB, text/x-python-script)
2017-10-25 00:23 EDT, Mohit
Details
examples/wireless/simple-ht-hidden-stations.py (6.92 KB, text/x-python-script)
2017-10-25 00:24 EDT, Mohit
Details
examples/tcp/tcp-bulk-send.py (3.90 KB, text/x-python-script)
2017-10-25 00:25 EDT, Mohit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohit 2016-08-06 04:39:57 EDT
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 EDT
Created attachment 2515 [details]
examples/wireless/wifi-blockack.py
Comment 2 Mohit 2016-08-06 04:41:51 EDT
Created attachment 2516 [details]
examples/wireless/simple-ht-hidden-station.py
Comment 3 Mohit 2016-08-06 04:42:24 EDT
Created attachment 2517 [details]
examples/tcp/tcp-bulk-send.py
Comment 4 Mohit 2016-12-13 21:09:02 EST
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 EST
(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 EST
Thanks for letting me know, Sir.

I shall take care of this in future programs.
Comment 7 Mohit 2017-10-25 00:21:33 EDT
Created attachment 2938 [details]
examples/wireless/wifi-hidden-terminal.py
Comment 8 Mohit 2017-10-25 00:23:05 EDT
Created attachment 2939 [details]
examples/wireless/wifi-blockack.py
Comment 9 Mohit 2017-10-25 00:24:34 EDT
Created attachment 2940 [details]
examples/wireless/simple-ht-hidden-stations.py
Comment 10 Mohit 2017-10-25 00:25:27 EDT
Created attachment 2941 [details]
examples/tcp/tcp-bulk-send.py
Comment 11 Mohit 2017-10-25 00:32:31 EDT
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!