Re: Re: I-D Action: draft-ietf-rtgwg-policy-model-15

t petch <ietfa@btconnect.com> Wed, 03 June 2020 11:03 UTC

Return-Path: <ietfa@btconnect.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 134403A0FE8 for <rtgwg@ietfa.amsl.com>; Wed, 3 Jun 2020 04:03:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 4N4UqP0lSfsO for <rtgwg@ietfa.amsl.com>; Wed, 3 Jun 2020 04:03:40 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00098.outbound.protection.outlook.com [40.107.0.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 019653A0FE9 for <rtgwg@ietf.org>; Wed, 3 Jun 2020 04:03:39 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BPvxMpjUMl5L1KtBQ3WCIhQiOpRnAUJ8VHoE84Ugk8AUiJHEJAaw9bY3+i72pHDAhyZSwx4Aqu6X571pH+IVaLWtm9eKk0RxSuaJbMleBAdgeqfmeutQZXC33sDeFJVFDehe1ufhYRuUVzr91xkYF0pq5SM2Mj0Idp7gYkqSOkM2WfStOToRob/cMjJ4AZfXKUofcJ2H0unq8v09xDNhzxPD2a+m+wLk4Fz/BUF14NrpT+jfLFQwYMK0m80H73VNAYjPxYTWoCmCXC2mY4S3+T7sLbQXrQEXrreuxrmgFulh/dPsfsu/zy8QOTDNAyFcBy5pEVaBGL41LBwt/fhPAw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r80/+wD4dbMeeNUx4WsDizCY/BLpj3iRybX0zDhndEA=; b=GB96k9rAWOmQ8cDwrPPk9YXyteSpFadsBrHaQI8jI6Erd1vEoBCSo6VwWhit6rkMHBx+MYzZrSvjC+vPXZdv0GBwW+fh9Ot1rc59lmltExPU6xDni40R8VvVleumqRIO7iKrQoF10oiIEyg21I6akIN/x5lxSh+JXc5E9dp1m1Qwnygq2Jf6giiC5u/kU7DMls73u9C5Ebdu+Lbv2gonkgj/N/efHzRDrVeiPsPAuWKIDyKGW/zRbN05TR5S/cFzG9trVOZzFOiH1gunKyqPGakkBfTaXbQMKZlnClL4FPYIUI5ipsX3ZL9BSPYaGrkbYtmQUn2ZchNLtcalkFjlvg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r80/+wD4dbMeeNUx4WsDizCY/BLpj3iRybX0zDhndEA=; b=fnRWcJpjYNpcyCC6KFfGwy4QQBiKQ1XrGlV2xwgv7qtPKQwz8iTDOrXcjaZtou00qVAJ+s3zGhlBQ8pVvZd7ZnWhlT2nigJR3aTkwS/5GV7dJq35bu6/zBnZbXYxrmDlHjxzqsFZwRPo+X9aDkCayMDcvALkpPcm2VyfbOS7iRs=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=btconnect.com;
Received: from DB7PR07MB5340.eurprd07.prod.outlook.com (2603:10a6:10:69::25) by DB7PR07MB5915.eurprd07.prod.outlook.com (2603:10a6:10:7f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.12; Wed, 3 Jun 2020 11:03:37 +0000
Received: from DB7PR07MB5340.eurprd07.prod.outlook.com ([fe80::6d73:b879:b380:bed4]) by DB7PR07MB5340.eurprd07.prod.outlook.com ([fe80::6d73:b879:b380:bed4%7]) with mapi id 15.20.3066.016; Wed, 3 Jun 2020 11:03:37 +0000
Subject: Re: Re: I-D Action: draft-ietf-rtgwg-policy-model-15
To: routing WG <rtgwg@ietf.org>
From: t petch <ietfa@btconnect.com>
Message-ID: <5ED78385.3070409@btconnect.com>
Date: Wed, 03 Jun 2020 12:03:33 +0100
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: LO2P123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::35) To DB7PR07MB5340.eurprd07.prod.outlook.com (2603:10a6:10:69::25)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [192.168.1.65] (81.131.229.108) by LO2P123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3066.18 via Frontend Transport; Wed, 3 Jun 2020 11:03:36 +0000
X-Originating-IP: [81.131.229.108]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 440f1cd1-4db1-461d-3bd5-08d807adc3d0
X-MS-TrafficTypeDiagnostic: DB7PR07MB5915:
X-Microsoft-Antispam-PRVS: <DB7PR07MB5915C789D65E568C73823007A2880@DB7PR07MB5915.eurprd07.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-Forefront-PRVS: 04238CD941
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: swhKErIiLrYkDrebRu3xPzcnA7oqEwAW/3ClfmiBTdvJ+ezZOEyRQ4zf/xFJG1QMhCZvHOuFjLKiNU/qHaskvedU8ljA9/hNdcvLJ9AShgRnIj0rQsKAI+LsOJemEWSNoXn0qHkD7URMiCXmygPEGBDGWdDSkzkOBiifo+fMqzBbhgKyb9ASo1yEm2gIzbsJSNwH1i8ettSwh7XofEhiljuUSkfpRr5Nv5LJWhiebNv7W335A/dazYGSdDqGEXKlj7xMVnyqpOe9ypJImGDAMRPxpdW1LIeBGzqMU6RVt3sQ5jag5tF3UbwNGbTmzHMLpDk6SO1v+ET0a5mATb33iw==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5340.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(376002)(346002)(39860400002)(136003)(366004)(396003)(186003)(5660300002)(86362001)(2906002)(6486002)(66574014)(66476007)(83380400001)(66946007)(66556008)(8676002)(6916009)(16526019)(8936002)(6666004)(87266011)(26005)(52116002)(478600001)(316002)(2616005)(36756003)(16576012)(33656002)(956004); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: 1i6UVmKwYDNl0xLxFFvzvsjJn7nOi6LYSnd5TgUod+A3tPi8VnfbTmWfJF5vJyi0BIo1rOMYaIjGDHCrPiopUozja2rDgdC8YdNqTath7CafxZlMbdYqJmttklGAFKqI4gpkJXcnBZOYuG6f1lbtxcQa0IV0FD6rz5NaILWydvORemd67/EhAayrSqYPHBA1WVoAJrQ72EcS6UmaHN0MtlqKLe8VRjnu8NsRfrElickFvYRkJYMiAH0d0ue4Kaiez/5pQ8X3Fss/ZdHhJhxebRvTK3vs8butjjNiNxmLx4HFuXGo+18ZxWhIjlbdX5oTK8NFXokKbW7wR7eqMbytFrirTvBcfL8Gmsx+heV+oYp5P/4/5imWV+/pKx+l6CPbyquIgEIqSLTuiwp3Jkovn5itIBy5a8f/8fQGF+1bL9WQ2yVedqEXDCDQu+TmR5aQB/IGMemk13cO2nTgrxSKn5F4hZqSCH3wpx5r9wAfZv9kHDTdAxGd9J56Q+ez13us
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 440f1cd1-4db1-461d-3bd5-08d807adc3d0
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2020 11:03:37.0594 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: A7Pg1tiPV6EoJq1ZdZKDRCoXUbA5NU/PZe4hkON+Qc3jm1348ftjAdGg3KsnPfmS4DO0LIVCsESQ7uOoZFYsZQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5915
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/HUHq2P8-gXKGjDpL6aGfAPthVCk>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 03 Jun 2020 11:03:42 -0000

Looking some more, at -15:

The choice of OSPF identity puzzles me

I would expect a base OSPF identity to be useful from which all other 
OSPF then derive

I am not familiar with NSSA T1 and T2 - I see no such language in 
RFC3101 nor is there an update to that RFC (but they do appear in 
ospf-yang!)

The identity names seem inconsistent
       identity ospf-internal-type {
       identity ospf-external-type {
       identity ospf-external-t1 {
       identity ospf-external-t2-type {
       identity ospf-nssa-type {
       identity ospf-nssa-t1 {
I suspect that '-type' is redundant if the usage is as in this i-D

More generally, is the intention that these match the LSA type?  If so, 
it would help me to have the value of the LSA type in the YANG 
description - it is what I think in terms of.

s.10
'described by the YANG modules' !

"RFC 5302 - Domain-Wide Prefix Distributino ..."

       container routing-policy {
               leaf name {
                 type string;
I have always liked the more constrained yang-identifier as opposed to 
string but suspect I am alone in that.

  I did look for the four original authors and did not see them; they 
are there - I was looking at the second list of parties and missed the 
first list which is where they are


Tom Petch


> I have some doubts about this I-D
>
> -01 had four authors; -13 has four authors.  None are the same yet much
> of the text in the I-D is the same.
>
> NSSA could be added to the Terminology and/or expanded on first use.
>
> Policy subroutines sound interesting - if there is one example I would
> find useful it would be one involving subroutines.
>
> 10 YANG modules
> I only see one singular
>
> XXXX is used as a placeholder for two different I-D
>
> I like the reference to RFC2178, RFC5130 but they need to appear in the
> I-D References and more YANG reference clauses would not come amiss
>
>       typedef metric-modification-type {
> ....
>                   If the result would exceed the maximum metric
>                (0xffffffff), set the metric to the maximum.";
> OSPF has a 16 bit link metric, a 24 bit route metric as defined in
> ospg-yang.  Defining a maximum of 0xffffffff seems problematic. Add two
> to 16777215 and you get one.
> The other LSR protocol has a 6 or 24 or 32 bit metric depending on where
> you look.
>
>             "The prefix member in CIDR notation -- "
> member of what?  My prefix are a number!
>
>         leaf mask-length-upper {
> the example implies that upper and lower must both be present which I do
> not see in the YANG.  Both upper and lower are part of the YANG key of
> the list which also suggests that both need to be present
>
>       grouping match-proto-route-type-condition {
> gets a bit long; here and elsewhere, is 'proto' needed as part of the
> identifier?
>
>           container prefix-sets {
>               leaf mode {
> I am not a fan of features - Cartesian explosion - but wonder if one is
> called for here at least for mixed mode
>
> Tom Petch
>
> ----- Original Message -----
> From: <internet-drafts@ietf.org>
> To: <i-d-announce@ietf.org>
> Cc: <rtgwg@ietf.org>
>