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

"Acee Lindem (acee)" <acee@cisco.com> Mon, 01 June 2020 15:49 UTC

Return-Path: <acee@cisco.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 A31B93A11EF for <rtgwg@ietfa.amsl.com>; Mon, 1 Jun 2020 08:49:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=Gtukrfji; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=S+aehi9S
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 HgqSZQG36oB6 for <rtgwg@ietfa.amsl.com>; Mon, 1 Jun 2020 08:49:42 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DDFE83A110F for <rtgwg@ietf.org>; Mon, 1 Jun 2020 08:49:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4648; q=dns/txt; s=iport; t=1591026581; x=1592236181; h=from:to:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=0zq9v411+0h2/4NJXU+3781ZTMFP+MRFHqh+Ku6yWjw=; b=GtukrfjiG/0blhw/YjcXKXRnKNjkXzoD62YezdotMuhq5M1eflWT35CW Krhn//JjH+kHTZm94YGRIcPL4dVshD0Cl0iAEfL9CnzOwt1NDz1lhQR5x GCkRgxl2E/XTriLcKzWtQp1M5FO5RZbyntx6OanDETICpg+9tEo1/XlMK I=;
IronPort-PHdr: 9a23:q1Ns2RL48nvm0tockdmcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeGv68/hkPCWoPd5vlYzeHRtvOoVW8B5MOHt3YPONxJWgQegMob1wonHIaeCEL9IfKrCk5yHMlLWFJ/uX3uN09TFZX0e1bVpHu/5iJUERL6ZkJ5I+3vEdvUiMK6n+m555zUZVBOgzywKbN/JRm7t0PfrM4T1IBjMa02jBDOpyhF
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0C8CQBBI9Ve/5NdJa1dCR4BAQsSDECDGlIHb1gvLAqEG4NGA41DmEyBQoEQA1ULAQEBDAEBGAsKAgQBAYREGYIPAiQ4EwIDAQELAQEFAQEBAgEGBG2FWQyFcgEBAQEDAQEQEREMAQEsDAsGAQgVBQImAgQlCxUSBAESIoMEAYJLAy4BDqMvAoE5iGF2gTKDAQEBBYJJglMYgg4DBoEOKoJkiWMaggCBESccgk0+gmcBAYE5EhqDFDOCLZF2hk2bEAqCV5MlB4VDHp4YkFsEnXoCBAIEBQIOAQEFgWoigVZwFTsqAYI+UBcCDZBAg3KFFIVCdDcCBgEHAQEDCXyLYwGBDwEB
X-IronPort-AV: E=Sophos;i="5.73,461,1583193600"; d="scan'208";a="516958776"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 01 Jun 2020 15:49:41 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by rcdn-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id 051FnfmJ030228 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 1 Jun 2020 15:49:41 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 10:49:40 -0500
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 10:49:40 -0500
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 1 Jun 2020 10:49:40 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZEmCUPoLP9PkdfVLhi5SXExnudsgP+PDMHou/m0BVR1nKrZMqTk+vOtHtdl8OogRYqF8e707nv/0PTFkkRHYFZr7PMGpt6K65vztvf/cQ3xMLatc8LTNOx8UsZd4zKHbmOnAcDb4XGMXPh4mDVbXFtaKhpJF0Zx3Wl2Zyq9FYu6oRZl/Ie61fCYsTEz2o8uiJn2woaTfkL6u116U3Y5Cvh/vydlWjhoij0/7VnJOQm5FRj+lmDNf0NftlT/HXQy530dZxxlgRGdtCstY6SqEA780NhiOqKD3fuDzVPssdwC58hvGocy4e53sjEWn8+McEwbDB8u7ClAhO8FrGAsPiA==
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=0zq9v411+0h2/4NJXU+3781ZTMFP+MRFHqh+Ku6yWjw=; b=EJREgg9myyJzIh+aT94lmhAOliRIkPtzlgG3Isa4us4Kj7ho+aJW6+h0C1+yQyHfNdwgXscSFciBH8cq/Ur/vothSQZCWrIV7rfYtNPsGi3KkTML6Vlz5T/f3HvfuREwEmbDlv5rF6GAOljOMZ8VL+hgRmsEiSd8SAGQJuaJa38cuR/zgAZollTeuE/xBefuoR8o+M1+6/jMe7MyMOV/HdhUwoKZi5XVkQLGgK9yM3kKW29v7yuoNrgV3WPF07UhzfWkmahsRO4mz4QMNcvPKKuiiW0JQhh90fKOAL1XckbXL+tiRhEKECFwVkaPF31d9Tthlix1UHdu1e5WgCo+BQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0zq9v411+0h2/4NJXU+3781ZTMFP+MRFHqh+Ku6yWjw=; b=S+aehi9SG3gFsHEerT7XiDUQBjzprz91xor2aLU4cMDGI5LfYAMLTAsIvrhA/DeBgRCbWqjM3nlSVjH/jQw/bSha3Z/PALZpEDvNfVHZdZro9YnSM8qr7mYGD7OBUTTDlIlaJ3n3+BwWY24w053Eua1ZQmlxZCESM+hKTOOVJHQ=
Received: from BYAPR11MB2887.namprd11.prod.outlook.com (2603:10b6:a03:89::27) by BYAPR11MB3349.namprd11.prod.outlook.com (2603:10b6:a03:1c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.21; Mon, 1 Jun 2020 15:49:39 +0000
Received: from BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::4950:e26c:503f:768e]) by BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::4950:e26c:503f:768e%6]) with mapi id 15.20.3045.022; Mon, 1 Jun 2020 15:49:39 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: t petch <ietfa@btconnect.com>, "rtgwg@ietf.org" <rtgwg@ietf.org>
Subject: Re: I-D Action: draft-ietf-rtgwg-policy-model-13
Thread-Topic: I-D Action: draft-ietf-rtgwg-policy-model-13
Thread-Index: AQHWOCxCQhafwc+dwkqYpp5zT3uBNA==
Date: Mon, 01 Jun 2020 15:49:39 +0000
Message-ID: <C3FA08B2-7F7B-4BAA-B495-C016D7EF7EFE@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.37.20051002
authentication-results: btconnect.com; dkim=none (message not signed) header.d=none;btconnect.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [136.56.133.70]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5315db29-f981-4845-19a8-08d8064364b8
x-ms-traffictypediagnostic: BYAPR11MB3349:
x-microsoft-antispam-prvs: <BYAPR11MB33493351236CBDD17C595A6FC28A0@BYAPR11MB3349.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0421BF7135
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: UA4+/dEG2fTUsuOOTOvoR21UCvUhUiNeWt0E8brgpE117ZBWJC9AxXfHI4qIjhL5UaYI5Vmp79oO8tEJVW2uzZt1sGGi+X+cfRxroaubc466dK3XGfySSU/5Pcc/T3CfevCQGnQUOZ4HKsUbHMj2RJi1sRQf5EyLzm0eipfKqoSGsuBJaJHbJrBifsYKk/1czH+091RUhGI3Hx2CSq+k4gaOThU76OOGv2B8pfqvDJwNAQ8vkMqX+6asDuVMP0GP2d3yQcWrfQuQwGlhvRvyHuiXwtwKBBjn19AikUJbyPzMUb4BiGKtq0e86Iyb/hmkYQlhBewy5eCJ90SSS1IpQtqeRSgkevGMnDH1MuVewwB4MTkxMk5hxO5ogtDGvYYm20/+/fSE4xHb/rUqERmvUw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2887.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(136003)(39860400002)(346002)(396003)(316002)(6486002)(296002)(36756003)(478600001)(33656002)(86362001)(8676002)(66574014)(110136005)(2906002)(83380400001)(26005)(2616005)(66556008)(8936002)(5660300002)(66446008)(64756008)(76116006)(66476007)(6512007)(66946007)(71200400001)(966005)(6506007)(186003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: KATiOTHrjI+HZxSRITTPBWvAQ4V9MD6SfkOmVnKEw90idm8MlO6rm9uxh/oeFdvpKQx0fibbqHYB5pDMXUJcqVxb6s5Pe1ILmpTF3dcDYD1YOT5zosWkBXeXS0t6xt4twvjUdsDMACMiKaVmFU8sKefd4a/BWKm54iBp4qeejsTtFfaU6G4JdIF4RwoCJCl/14w4tE3kj0jhEecLDcR0H1+A49JKyseoc1gZ3Cjs7720DMAnDF6ZxgeX0L6l4rLC0y4maPQC+uOemZGSGT2OrbjrIwMJNCjzaUI5yIR2pHm1+QYKTkYq5d5GxNAggU3QrC8+pDLGnrr3Trs9PvdzDfTdwYWzBw2b87zk82a7PdpD505cfNDCVIEI7jFYBppfRuSaptS7Gd0vs0al/C863j3xtQh7O8iEgb+CrD3akjH4stBD5BRg8ZX1oXZjvWKgJqKEXCrsedJMBp6U+BkUE0j/4Gfhz7emaUs7iHOG0Ek=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <4E1EFA655FF3424B85833D708F632A12@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 5315db29-f981-4845-19a8-08d8064364b8
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jun 2020 15:49:39.4018 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: YSvr5De3VU4UpDQxtbkPgnchTf74v1VV+zcouSuSXmpPrXUgBxjTpE1bQvW0rXDp
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3349
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: rcdn-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/zkS-GnMyYk-AvTsj9IIFVaSehHk>
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: Mon, 01 Jun 2020 15:49:44 -0000

Hi Tom, 

On 6/1/20, 6:53 AM, "rtgwg on behalf of t petch" <rtgwg-bounces@ietf.org on behalf of ietfa@btconnect.com> wrote:

    I have some doubts about this I-D. 

Hopefully, I can assuage your doubts. 

    -01 had four authors; -13 has four authors.  None are the same yet much
    of the text in the I-D is the same.

As excellent observation - the original authors had no ambition to complete the draft. There are listed in the acknowledgments. 

    NSSA could be added to the Terminology and/or expanded on first use.

Fixed. 

    Policy subroutines sound interesting - if there is one example I would
    find useful it would be one involving subroutines.

We could look at this. 

    10 YANG modules
    I only see one singular

Fixed. 

    XXXX is used as a placeholder for two different I-D

I've fixed this though I don't see the placeholders references as being ambiguous in the context. 

    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

Fixed. 

           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 setting of the metric is independent of the application of the policy. As with other components of a routing policy, it is up to the network engineer defining the policy to define a policy that matches the context. 

                 "The prefix member in CIDR notation -- "
    member of what?  My prefix are a number!

I've removed CIDR as it is not used in RFC RFC 6021. 

             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

You are correct - they are both required to be part of the key. If they are not part of the key, you would not be able to have multiple rules with the same prefix. We could change this to have prefix sequence number or name but this would diverge from the OpenConfig model unnecessarily. 

           grouping match-proto-route-type-condition {
    gets a bit long; here and elsewhere, is 'proto' needed as part of the
    identifiers?

I agree - will change condition but keep identity for protocol types to match as proto-route-type. 

               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

I am going to start a discussion on removing "mixed" since I know of no implementations.  

Thanks,
Acee

    Tom Petch
    >
    > ----- Original Message -----
    > From: <internet-drafts@ietf.org>
    > To: <i-d-announce@ietf.org>
    > Cc: <rtgwg@ietf.org>
    >

    _______________________________________________
    rtgwg mailing list
    rtgwg@ietf.org
    https://www.ietf.org/mailman/listinfo/rtgwg