Re: Comments on draft-shaikh-rtgwg-policy-model

Jeffrey Haas <jhaas@pfrc.org> Mon, 20 July 2015 12:44 UTC

Return-Path: <jhaas@pfrc.org>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D79311A8734 for <rtgwg@ietfa.amsl.com>; Mon, 20 Jul 2015 05:44:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.577
X-Spam-Level:
X-Spam-Status: No, score=-1.577 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LBQHfgFmJ0Ge for <rtgwg@ietfa.amsl.com>; Mon, 20 Jul 2015 05:44:11 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id CB7A21A700C for <rtgwg@ietf.org>; Mon, 20 Jul 2015 05:44:11 -0700 (PDT)
Received: from [172.29.64.66] (jplon-nat11.juniper.net [193.110.55.11]) by slice.pfrc.org (Postfix) with ESMTPSA id 2CA0F1E36F; Mon, 20 Jul 2015 08:46:09 -0400 (EDT)
Subject: Re: Comments on draft-shaikh-rtgwg-policy-model
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_AA23CBE3-61AA-499A-8182-E172A194A5B8"
From: Jeffrey Haas <jhaas@pfrc.org>
In-Reply-To: <18735_1437394871_55ACE7B7_18735_2268_1_9E32478DFA9976438E7A22F69B08FF92166A0BB9@OPEXCLILMA4.corporate.adroot.infra.ftgroup>
Date: Mon, 20 Jul 2015 14:44:06 +0200
Message-Id: <AE597A9E-B8D5-4E7B-A292-6E1671BD5862@pfrc.org>
References: <6148_1437392115_55ACDCF3_6148_2234_11_9E32478DFA9976438E7A22F69B08FF92166A0AC1@OPEXCLILMA4.corporate.adroot.infra.ftgroup> <E4CCDE37-90A5-4ED5-8E85-3DAD595347C0@pfrc.org> <18735_1437394871_55ACE7B7_18735_2268_1_9E32478DFA9976438E7A22F69B08FF92166A0BB9@OPEXCLILMA4.corporate.adroot.infra.ftgroup>
To: "stephane.litkowski@orange.com" <stephane.litkowski@orange.com>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtgwg/COjYv2MRPxwWdltDnZ4Pfzvoz2Y>
Cc: "rtgwg@ietf.org" <rtgwg@ietf.org>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jul 2015 12:44:13 -0000

Stephane,

> On Jul 20, 2015, at 2:21 PM, <stephane.litkowski@orange.com> <stephane.litkowski@orange.com> wrote:
> 
> [SLI] Do we really need to differentiate from a policy point of view ? from an import policy perspective, matching a tag, means learning the tag value available in the protocol (if available) and when the route ins inserted into RIB the tag value is copied from the protocol value if not overrided by import policy action; from an export policy perspective (talking about export from rib to protocol), matching a tag means matching the tag value in the RIB (which may come from protocol or not),  setting a tag means fill the protocol field if available. From a RIB point of view, the tag associated with the route is protocol agnostic, even if the protocol does not support tags in encoding you may associate a local tag for policy processing.
>  
> Having two types of tags is also possible : protocol-tag and local-tag but I see more complexity and do not see more flexibility : but maybe there is some use case that I do not see.

The messy detail with this attribute is that while it's useful as a generic policy element, in specific protocol context it needs to have differing constraints.  OSPF has one set of constraints, RIP a slightly different one (zero is reserved), and ISIS has different sizes with some option for one or two tags plus the 64-bit tag previously discussed.

This set of context specific constraints probably removes some level of the flexibility that you'd want for it to be a generic marker - unless you can live within the least common denominator.

-- Jeff