From mboxrd@z Thu Jan 1 00:00:00 1970 From: raptor Date: Mon, 07 Oct 2002 08:47:27 +0000 Subject: [LARTC] [tcng] mirror the config on the fly !? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org hi, is there easy way to "mirror" the configuration... what i have in mind.. normaly when we setup a class we setting class like this : dev eth0 { class(<$ch1>) if ip_dst = 192.168.0.5; .... $ch1 = class(rate X,ceil Y); } eth1 mirror eth0;# <----now I wan to do something like this .. so my config will mean this : dev eth0 { class(<$ch1>) if ip_dst = 192.168.0.5; .... $ch1 = class(rate X,ceil Y); } dev eth1 { class(<$mch1>) if ip_src = 192.168.0.5; .... $mch1 = class(rate X,ceil Y); } dst --become--> src AND class-names got appended one "m" in front.. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/