Skip to contentSkip to conversation

classes on several interfaces at once ?

LARTC raptor 1 participant 1 message Feb 16, 2003

lore
Share & tools
lore

raptor

author
#0 lore raw

is it possible with the tcng-macros or something else to make classes in such a way so that I write them once and set simultaneously classes on many interfaces.. what i mean , something like this :

#define-xx superClass(a,b,c) .......

then using superClass(x,y,z) should generate :

dev eth0 {
	egress {
		class(rate x){}
	}
}
dev eth1 {
	egress {
		class(rate y){}
	}
}
dev eth2 {
	egress {
		class(rate z){}
	}
}

thanx
raptor
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/