[Xorp-hackers] Policy network4 operator
Robert Bays
robert at vyatta.com
Tue Nov 14 17:13:04 PST 2006
Maybe it makes more sense to use Juniper terminology; exact, longer,
orlonger, through, upto...
Short of that, I prefer option B.
Cheers,
Robert.
Mike Horn wrote:
> Hi all,
>
> Pavlin and I have been discussing what the "right" direction should be
> for the network4 operator in policy statements. Right now if you
> specify "network4 <= 10.0.0.0/8" this would match all the 10.0.0.0/8 and
> longer prefixes (i.e. 10.0.0.0/9, 10.1.0.0/16, etc.).
>
> My recommendation is to change the operator from "<=" matches longer
> prefixes to ">=" matches longer prefixes, since this seems more
> intuitive to me (/9 is > /8) and this would make it match the
> "prefix-length4" operator where "prefix-length4 > 24" matches all
> prefixes longer than /24.
>
> Which do you prefer:
>
> A) keep it the way it is now, < matches longer prefixes
> B) changing it to use > for longer prefix matches
>
> Btw, the bug on this is 358
>
> _http://www.xorp.org/bugzilla/show_bug.cgi?id=358_
>
> -mike
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
More information about the Xorp-hackers
mailing list