[Xorp-cvs] XORP cvs commit: xorp/etc/templates

Marko Zec zec@icir.org
Mon, 25 Jul 2005 07:47:53 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	zec@xorpc.icir.org	2005-07-25 07:47:53 UTC

XORP CVS repository


Modified files:
	etc/templates policy.tp 

Log message:
	Add support for comparing prefix lengths in policy template for IPv4.
	Supported operators are < > <= >= == and !=
	A few examples of valid statements:
	
	prefix-length4 == 24
	prefix-length4 > 16
	prefix-length4 == 24..32    // match if prefix is within the range
	prefix-length4 != 16..23    // match if prefix is outside the range
	
	TODO: prefix-lenght6

Revision  Changes                              Path
1.10      +9 -1;  commitid: ac5f42e4973f7ea6;  xorp/etc/templates/policy.tp