Re: WG last call for draft-ietf-rtgwg-policy-model

tom petch <ietfa@btconnect.com> Mon, 05 October 2020 11:20 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 650B93A07AE; Mon, 5 Oct 2020 04:20:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 PfQIDA-ivU52; Mon, 5 Oct 2020 04:20:55 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2131.outbound.protection.outlook.com [40.107.21.131]) (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 481C33A0799; Mon, 5 Oct 2020 04:20:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VVw9F/pZGSBtS1sk/53Z9S0Pm4NnqPoA436rI4ejmdET7xlFkpr+hSjU+mT6suDyScHEmcLgXTpaChhP4AbvuqGLafHEBxBLViZ2j36qtQoIYGqa231ZFwV9sp7jTkr3sz8uHwt+Ga/KADCkcIExEtvulSCUQDo8PAWC3olEo/uPflUiJ+BaaFJuqTOIIbZf8UFVslqj4OJnEA+8t+X5fqOQs+/1we188TgtPwuOMNiFM+U8DEyJJAIJiq4mOsLIXLdYslqyjf/XaBbaI0eA5yaMufPXn00Y1rxuxa047Y0+MIPg+EUNHW3bM+M4OSYuwu+pq6SVuDmoFFHWEKDHvQ==
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=dC/DFMeHgB/9cqLL5mbMjM2iOnXSTrJARou9g0H41pg=; b=gJTZzYDd7sqbudVaEzDGS1MsSwjtLxOcAbzcV8ItKTeS0l7YUww/04KKcXvBTOuL5TpcpJw5OA2xFCLIxsYE3uevwMjsN/9GAmluDh8ohnOkV0DqLrI0iGsUDXn3phYaOJiCiJSgAdxgpD5AfgvjzpZNXjygMVZM1pAUSd+b89BkxmQOvB97/CChqAGXyfiZ8/8fvyQfXiLLRARcz5OqreIgTrLTRzhbYw4ai+J66Qnb1bEwuGt27XBLMgLF7ChC1UhV1XhCHsCr61zR+D71SOv7wCQ0MhsIo8TawtbvEXivvdjbvsMTAVFtTVrJnq+WV2cwJAfuKImiH55kvWRTCQ==
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=dC/DFMeHgB/9cqLL5mbMjM2iOnXSTrJARou9g0H41pg=; b=Z1K8e7zmqQVe8I3WzfkKPrmWjW0wTTA9Tw1U4hxevUP3H7+MmwcJLarZR6LDQBBxD9dxsndCMXeYGy7GZgIT846ED8DKHAiubRafwZyN62cN1XSKP381CKDlebBy1dNN/tVIYr/zJiHRP5Hf65LGYZHUwaXoWSnEV5DRkUaH5CQ=
Received: from DB6PR0701MB2567.eurprd07.prod.outlook.com (2603:10a6:4:20::7) by DB6PR0701MB2568.eurprd07.prod.outlook.com (2603:10a6:4:23::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.13; Mon, 5 Oct 2020 11:20:47 +0000
Received: from DB6PR0701MB2567.eurprd07.prod.outlook.com ([fe80::58b:a246:8311:6fee]) by DB6PR0701MB2567.eurprd07.prod.outlook.com ([fe80::58b:a246:8311:6fee%8]) with mapi id 15.20.3455.021; Mon, 5 Oct 2020 11:20:47 +0000
From: tom petch <ietfa@btconnect.com>
To: "Acee Lindem (acee)" <acee@cisco.com>, "Acee Lindem (acee)" <acee=40cisco.com@dmarc.ietf.org>, Chris Bowers <chrisbowers.ietf@gmail.com>, RTGWG <rtgwg@ietf.org>
CC: rtgwg-chairs <rtgwg-chairs@ietf.org>
Subject: Re: WG last call for draft-ietf-rtgwg-policy-model
Thread-Topic: WG last call for draft-ietf-rtgwg-policy-model
Thread-Index: AQHWgjPR9ZBvoCC8PUS5tr73a2MLnalYgSn9gAIIHgCAAl9BRIAD3MsAgAFH4MGAAGyCgIAHweaAgADbeN2AAGeZgIAACXyPgAAWYICAARgDeYACMmkAgBohen8=
Date: Mon, 05 Oct 2020 11:20:47 +0000
Message-ID: <DB6PR0701MB256795A042F4024C25413AFFA20C0@DB6PR0701MB2567.eurprd07.prod.outlook.com>
References: <CAHzoHbu7g7VifCVf4hEuvNkf46+3AG8_A6JhJdKQ5y2WN1njQA@mail.gmail.com> <CAHzoHbtCvr+9pALnTeV_SQ8fGzebrvHBJ0014Kpxkspd4G+n-A@mail.gmail.com> <DB7PR07MB53400AD2E7D7D741B708C7A1A22D0@DB7PR07MB5340.eurprd07.prod.outlook.com> <D97B9C42-A24C-40E7-93E4-27F344AC9A9A@cisco.com> <DB7PR07MB5340CCD0ABC8382B77C12CECA2280@DB7PR07MB5340.eurprd07.prod.outlook.com> <CAHzoHbtUoyXg7i3epHzOzmUi1A2bUaN6Un9+t5S+6r8aq4JQjw@mail.gmail.com> <DB7PR07MB534069339AB0EFD673CE58C9A2270@DB7PR07MB5340.eurprd07.prod.outlook.com> <F8ED3B80-AB3F-4000-A675-795235F0AFD6@cisco.com> <97D736FD-42BA-483A-9290-15202A678A4D@cisco.com> <DB7PR07MB5340BD58056B435F5ABC606AA2210@DB7PR07MB5340.eurprd07.prod.outlook.com> <6B7CCA52-0A9F-49BD-B390-6637EEA582D4@cisco.com> <DB7PR07MB5340B6FB8725469FBB6925D9A2210@DB7PR07MB5340.eurprd07.prod.outlook.com> <A4D00913-668A-4A0C-8EB4-6C4ED850812F@cisco.com> <DB7PR07MB53409B3A4519B4E9424962E8A23E0@DB7PR07MB5340.eurprd07.prod.outlook.com>, <3C987A85-9CBE-4D4F-915E-73A2A6F5F3D7@cisco.com>
In-Reply-To: <3C987A85-9CBE-4D4F-915E-73A2A6F5F3D7@cisco.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [86.146.121.140]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1a816168-8a15-447f-d89f-08d86920b580
x-ms-traffictypediagnostic: DB6PR0701MB2568:
x-microsoft-antispam-prvs: <DB6PR0701MB2568618D94F93EC787BCD935A20C0@DB6PR0701MB2568.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Y2hPZrNDcP8azQmM2CTH0MboIA1UzV9VV9jp3J4caJaTr4156tQJP+BSQxgyJ8cgmRdAnpo/3V2iK9EQ7P9PWuTe3uQ8DPrO/1S8WxhucLVHrGfaLAIAbAt/syRiykEL8GFVjVGT0U7hw/ObXXiQ9KQUXQ5J6vZOMuTEwIZi6NAzdvcqd2rgITx2XijvlJRaJKNE+k85XTEvo0r0bw30Za6P7FYpoJljzzZ/zMGeMbA/UPWnFoRJd/5fsRCqC/V35c4jkwyv9+PllZrQOsEw5uB7eBjzqVyqrCxB+B87K7n3ybr2/hJkPHBScDf7pGJJvSeeemKK2QsFeKfwrRIuuRkyejh60841eRuUD/e0q4P7XTYukX5dpL/xiW6j8pgzK2BlvebB2oYP7RtB8fUOYA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0701MB2567.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(39860400002)(396003)(366004)(346002)(376002)(66946007)(110136005)(8936002)(66446008)(8676002)(83380400001)(64756008)(66556008)(316002)(7696005)(66476007)(91956017)(76116006)(52536014)(186003)(26005)(33656002)(4326008)(5660300002)(53546011)(9686003)(83080400001)(86362001)(55016002)(6506007)(71200400001)(2906002)(966005)(478600001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: RnRLIlWUQx5n9Ow3LLPyFa264I6cEruSVV1EoQ/tBfnPi/s9DCs3mOvvae+l98cP3mM///FLGJFXqS+8e9V3ZKT4zShXmWi/CALNMURFzNYRrXdq7psDrljUaHT1XpZa/VLq64nu0NG1Xk0sbTZUaYIdtVDikCKwqzCbZQLxAsRf19HM7iiH1zNuzkE3fmO8sXK9dMlolI5HlyOQNGfQpf0Q+eGB+hX6864MywNx3y3jNU7oQszBxo5XGdkfWrmgLij9IGtANoUl6/dmJ4pIq2q0bQ1HaPmSnc9j9coNeK+mHYXZhzuhBORELl3znlfWrEv2pG8cCNvtN7SNZXrBYTP3iUorNmtnOBK5S5Pxg8cZXaoefxJuO0AFLL6NSBxgt55UKm7E/prl+CBG9YXHVXjlNIitNHwDvV4MBnnPbqsmkbrzoixOtGAbnULkGqlXNgvUMQVQ3iAZPHej6g/VICJdv4c0+EXDh8ZQSsX/3u1f3iQLs8Z4fj8cMs1vExcVzjs4nBWMzgXJ0PTdoTjHksLxiSVxxRjH38Deh9jaodSrfIhFPgl3wSPlFMpCksZhaVdLdqXGD6VrtcVCr2jEOeuX6M6bv1CsrAiCLfP14ZH/UgcKU25bRP6r4OkIzgPDhWMrwZjI81BQRDxVol3yeA==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DB6PR0701MB2567.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 1a816168-8a15-447f-d89f-08d86920b580
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2020 11:20:47.6925 (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: MOfqx1NjOxfTHpfQZS8y1rRFILbxXKeJXro+r1dLfoUbGwCmqhlznj265tuV+2GWOB6lI+2XjuHej4Qp9WvExg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0701MB2568
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/5t29K4A9yTSmpNNPiB1wSohGWcI>
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, 05 Oct 2020 11:20:57 -0000

From: Acee Lindem (acee) <acee@cisco.com>
Sent: 18 September 2020 21:02

Hi Tom,
I went ahead and fixed and ran it through a spell-checker.

<tp>
Acee
 
a technical thought - I'll send some editorial thoughts separately.

YANG document order is not defined and so you have ordered-by user in suitable places.  I am wondering if there could still be an ambiguity if there are several modifications to the same value e.g. metric.  If one modification takes the value below the minimum of above the maximum, then the result of the next modification will be different than if the order was different.

I cannot decide whether this is completely ruled out by the ordered-by user or not.  Maybe the document needs to say that document order is undefined and that users must not rely on condition/action being evaluated in the order shown except where ordered by user.

Tom Petch

Thanks,
Acee

On 9/17/20, 6:35 AM, "tom petch" <ietfa@btconnect.com> wrote:

    From: Acee Lindem (acee) <acee@cisco.com>
    Sent: 16 September 2020 18:47

    Hi Tom, et al,
    I have clarified the usage of policy chain and added the normative language in the YANG description constraints - which I believe is the right approach.

    <tp>

    Looks good.

    Some more trivia:-(
    In container prefixes you fixed the 'is is' but I did not notice
    'outcome outcome'
    or
    'statisfied'
    Sigh.  I suggest holding these (which my spell-checking MUA is complaining about:-) until something else comes along.

    Tom Petch
    Thanks,
    Acee

    On 9/16/20, 12:33 PM, "tom petch" <ietfa@btconnect.com> wrote:

        From: Acee Lindem (acee) <acee@cisco.com>
        Sent: 16 September 2020 16:53
        To: tom petch; Acee Lindem (acee); Chris Bowers; RTGWG
        Cc: rtgwg-chairs
        Subject: Re: WG last call for draft-ietf-rtgwg-policy-model

        Hi Tom,

        On 9/16/20, 6:01 AM, "tom petch" <ietfa@btconnect.com> wrote:

            From: Acee Lindem (acee) <acee@cisco.com>
            Sent: 15 September 2020 21:37

            Hi Tom, Chris, et al,
            I've moved the non-normative sections to appendixes in the -22 version. Also, at the risk of being redundant, I included an explicit reference for the unpopular BGP sub-module prefixes.

            <tp>
            Looks good.

            Every time I read this, I see something:-(  So some trivia for as and when a new version is needed:

            container prefixes has 'is is'
        <acee>
        Fixed in -22.
        </acee>

            container conditions /returns control the/returns control to the/
        <acee>
        Fixed in -22
        </acee>

            and
            should or SHOULD? (an AD is bound to ask if we meant this:-)

        <acee>
        I think it should... Started a thread on this amongst YANG doctors. There is no consistency in published models on "description" statement validation. However, in times we've discussed this on the NETMOD list, these descriptions are normative.
        </acee>

            'chain' is probably worth expanding on.  It appears in 4.4 and is relied on in s.5 without ever a formal definition and it might not be obvious how it is represented in the YANG model. I infer that it is the leaf-list import-policy or export-policy but chain does not appear in the descriptions thereof.  So I think a sentence in 4.4 saying what a chain looks like as YANG would help as would a mention of chain alongside list in the description of export-policy and import-policy.  If my inference is wrong, then please tell me what a chain is!

        <acee>
        Good catch. I think the problem here is that "policy chain" is used for both the list of import or export policies and the list of statement within a called policy. This is clearly wrong and policy chain should only be used for the former.  Let me assure my co-authors agree.

        <tp2>
        Well yes, I think I coped with that one but it is more that I cannot program a chain in YANG the way I can in other languages, forward pointers, backward pointers and so on,  and an ordered by user leaf-list is not an immediately obvious substitute to so I would add in s.4/s.5
        'A policy chain is represented in YANG by a user-ordered leaf-list such as ...'
        and then in the YANG
        'This leaf-list implements a policy  chain as described in ...'

        Tom Petch
        Thanks,
        Acee
        </acee>

        Thanks,
        Acee

            Tom Petch

            Thanks
            Acee

            On 9/10/20, 6:10 PM, "rtgwg on behalf of Acee Lindem (acee)" <rtgwg-bounces@ietf.org on behalf of acee=40cisco.com@dmarc.ietf.org> wrote:

                Hi Tom,

                As previously noted, the BGP model augments the routing-policy model and not the other way around. Hence, resolution of BGP model issues is not a prerequisite for publication of this YANG model. AFAIK, none of the open issues with the BGP model are related to its augmentation of the routing-policy model.


                Now, I'd like to see the BGP model issues addressed and the model progress as much as you but there is absolutely nothing unusual regarding its treatment.

                Thanks,
                Acee

                On 9/10/20, 11:44 AM, "rtgwg on behalf of tom petch" <rtgwg-bounces@ietf.org on behalf of ietfa@btconnect.com> wrote:

                    From: rtgwg <rtgwg-bounces@ietf.org> on behalf of Chris Bowers <chrisbowers.ietf@gmail.com>
                    Sent: 09 September 2020 21:07

                    RTGWG,

                    I think there is rough WG consensus to submit draft-ietf-rtgwg-policy-model to the IESG for publication.  I will include a description of the discussion related to draft-ietf-idr-bgp-model in the shepherd writeup.  It will likely take the IESG several months to publish draft-ietf-rtgwg-policy-model.  If there are changes in draft-ietf-idr-bgp-model that make it desirable to change the text of the example in draft-ietf-rtgwg-policy-model before publication, then any changes in draft-ietf-rtgwg-policy-model will be discussed within RTGWG.

                    <tp>
                    Chris
                    The other thought that I had was that the treatment of bgp-model, which I would regard as unusual, might attract some interesting comment from such as Genart or Opsdir reviews so it might be valuable to get those done earlier rather than later.

                    Tom Petch

                    Thanks,
                    Chris


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

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