[Xorp-hackers] [Xorp-users] Policy network4 operator

Mike Horn mhorn at vyatta.com
Mon Nov 20 21:33:33 PST 2006


I would also prefer changing to Juniper-like keywords.  For me, the operators I care about are "exact", "longer", "orlonger" and "not".  I can't think of a practical application for "shorter" or "orshorter".

Btw, can you share your thoughts on what the "long-term" solution would look like?

-mike

----- Original Message -----
From: Kristian Larsson <kristian at spritelink.se>
To: Pavlin Radoslavov <pavlin at icir.org>
Cc: xorp-users at xorp.org, xorp-hackers at xorp.org, mhorn at vyatta.com, Justin Fletcher <jfletcher at vyatta.com>
Sent: Monday, November 20, 2006 1:53:17 PM GMT-0700 US/Mountain
Subject: Re: [Xorp-users] [Xorp-hackers]  Policy network4 operator

On Mon, Nov 20, 2006 at 11:45:00AM -0800, Pavlin Radoslavov wrote:
> > > Seriously, though, is it only the person who originally implemented
> > > this feature in XORP (Andrea and probably later updated by Marko?),
> > > Atanu and me who think that comparing network addresses indeed means
> > > comparing network addresses?
> > 
> > Maybe :-)  The operators seem reverse to the last time I implemented it,
> > and the way I'm used to it in a Cisco notation.
> 
> Again, as I mentioned earlier, the Cisco notation reasoning doesn't
> apply here.
> In Cisco, the comparison is network address vs. prefix length.
> In our case we have network address vs. network address.
> 
> 
> This thread is getting too long, so let me repeat again my question
> about the short/medium term solution.
> If you can't accept the current behavior, would you like us to
> invest some time trying to implement the Juniper-like keywords:
> 
> "network4 exact 10.0.0.0/8"     SAME AS "network4 == 10.0.0.0/8"
> "network4 longer 10.0.0.0/8"    SAME AS "network4 < 10.0.0.0/8"
> "network4 orlonger 10.0.0.0/8"  SAME AS "network4 <= 10.0.0.0/8"
> "network4 shorter 10.0.0.0/8"   SAME AS "network4 > 10.0.0.0/8"
> "network4 orshorter 10.0.0.0/8" SAME AS "network4 >= 10.0.0.0/8"
> "network4 not 10.0.0.0/8"       SAME AS "network4 != 10.0.0.0/8"
> 
> If yes, then please indicate whether we should use the
> "shorter/orshorter/not" keywords or something else.

As long as it doesn't take too long to implement I
find it a more than welcome interrim solution :)

> If you prefer a different solution, now is the time to suggest it
> (flipping the operator direction excluded).
> 
> If there are no replies, then probably nothing will change until the
> rtrmgr is reimplemented (bug #677) and we are in the position to
> implement the long-term solution.

 -K

-- 
Kristian Larsson                                   KLL-RIPE
Network Engineer                      Net at Once [AS35706]
+46 704 910401			     kristian at spritelink.se

_______________________________________________
Xorp-users mailing list
Xorp-users at xorp.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users



More information about the Xorp-hackers mailing list