[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq:1843] Re: Problems with QCMD API



> >  - ALTQ assumes that classes can be dynamically added but does not
> >    assume interfaces can be added after ALTQ is enabled...
> 
> 	I couldn't understant very well your explanation above. What do you want to 
> tell about "ALTQ doesn't assume interfaces can be added after ALTQ is 
> enabled..."? 

Internally, ALTQ works per interface.  To enable ALTQ on an interface,
you have to add the interface first, and then, enable it.
You cannot enable ALTQ on an interface before you add the interface.

> 	About your explanation, I can deduce that if my /etc/altq.conf file is 
> 'empty' and the qcmd_enableall() funcion enables all interfaces in my 
> machine, then couldn't I add an interface after? Is that?

No. qcmd_enableall() just goes through the list of the already added
interfaces.

-Kenjiro