Bug 1473

Summary: GetQueue/SetQueue missing in CsmaNetDevice Python bindings
Product: ns-3 Reporter: Per <per_e_lists>
Component: python bindingsAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs, tomh
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   

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