Bugzilla – Bug 1473
GetQueue/SetQueue missing in CsmaNetDevice Python bindings
Last modified: 2012-08-27 03:15:20 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'
changeset: 0980403d7723