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

[altq:1820] Re: Doubts about AltQ



Tiago Fioreze wrote:
> 	I'm a novice with the AltQ software, so I'm sorry for some simple question.
> 
> 	I have used altq, mainly, for flow control between routers. I have configured 
> altq through /etc/altq.conf file. I saw later a kind of API (QOP API) that 
> permit to manipulate AltQ's classes, filters and discliplines. I thought 
> interesting and decided to use it. But, I have some doubts about QOP API.
> 	I have been reading the qop_api.txt draft and I haven't found the way to use 
> the QOP API. I saw on my FreeBSD 4.8 system the libaltq library, but didn't 
> found the header files (altq.h, altq_qop.h, ...). I tought that when I typed 
> 'make install', these files would be installed on my system, but didn't be. 
> Could I have forgot any detail in installation process?

altq.h is supposed to be under /usr/src/sys-altq (see libaltq/Makefile).
altq_qop.h is under the libaltq source directory.  (it is not
installed since we don't have third party programs which use libaltq.)

> 	Other doubt... you imagine this situation. I have in my altq configuration 
> file the following:
> 
> 	#
> 	interface ed0 bandwidth 0.2M priq
> 	#
> 	class priq ed0 high_class NULL priority 15
> 	class priq ed0 def_class NULL priority 0 default
> 	filter ed0 high_class 'dest_address' 0 'src_address' 0 0
> 	#
> 	
> 	Now... through QOP API, I changed in 'high_class' class the priority from 15 
> to 10. Can this change to be 'reflected' to altq configuration file or can't?

No, the configuration file is read-only.

-Kenjiro