Bug 1473 - GetQueue/SetQueue missing in CsmaNetDevice Python bindings
GetQueue/SetQueue missing in CsmaNetDevice Python bindings
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: python bindings
pre-release
All All
: P5 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-18 05:05 UTC by Per
Modified: 2012-08-27 03:15 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per 2012-07-18 05:05:13 UTC
I was trying to set up devices without using ns.csma.CsmaHelper() but it seems at least Set/GetQueue are missing from the bindings.

I'm pretty sure that the issue is the same as reported (and fixed) for point-to-point devices:
https://www.nsnam.org/bugzilla/﷒0﷓ 

Steps to reproduce:

>>> from ns.csma import CsmaNetDevice
>>> d = CsmaNetDevice()
>>> d.GetAddress()
<network.Address object at 0x10756d110>
>>> d.GetQueue()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'csma.CsmaNetDevice' object has no attribute 'GetQueue'
Comment 1 Tom Henderson 2012-08-27 03:15:20 UTC
changeset:  0980403d7723