Re: [spring] Last Call: <draft-ietf-spring-sr-yang-23.txt> (YANG Data Model for Segment Routing) to Proposed Standard

"Acee Lindem (acee)" <acee@cisco.com> Fri, 27 November 2020 14:36 UTC

Return-Path: <acee@cisco.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B95653A0D8A; Fri, 27 Nov 2020 06:36:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.601
X-Spam-Level:
X-Spam-Status: No, score=-9.601 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_H2=-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=mYK38XQz; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=P6dhApy7
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 ucgnMCo_SuDc; Fri, 27 Nov 2020 06:36:11 -0800 (PST)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1F623A0D89; Fri, 27 Nov 2020 06:36:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8498; q=dns/txt; s=iport; t=1606487770; x=1607697370; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=JGzwiPPMacVRt+iPhfcfwJaJXhUEc/CpUoYdUmAOAX8=; b=mYK38XQzhO2d9Jzgy5pL3OxoXTB9odVhkvE9kq6Suf6iGrYnqpkeRH49 XWQha9DpF1X0OcB6GAWTw6Nm9/bkfx/OSCQ2us1oiQ241KyRlIciiG1Ve nWrWN6hbQ9yTeFiX23CgXpTeBtf3WthVqisTp1EqHCxrFfhu5+hpsyaHx Y=;
X-IPAS-Result: A0DfAAD7DcFffZxdJa1iHQEBAQEJARIBBQUBQIE8BwELAYFRTgN8Wi8uCoQzg0kDjV6ZBoEugSUDVAsBAQENAQEtAgQBAYRKAheCEgIlNQgOAgMBAQEDAgMBAQEBBQEBAQIBBgQUAQGGPAyFcwEBBBIREQwBATcBDwIBCBgCAh8HAgICMBUQAgQBDQUigwQBglUDLgGlSQKBPIhpdoEygwQBAQWFKhiCEAmBDioBgnKDdoZXG4IAgREnHIJVPoN4HigXgwCCX5N8h0ydJgqCb5ssAx+DHYodlFodk0igbgIEAgQFAg4BAQWBWAI0gVlwFRohKgGCPlAXAg2OIQwXFIM6ilh0NwIGAQkBAQMJfIw2gTQBgRABAQ
IronPort-PHdr: 9a23:AK7AWxErDVUpJq95JGIBSZ1GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e401gWbV5nQ7PRChuHK9avnXD9I7ZWAtSUEd5pBH18AhN4NlgMtSMiCFQXgLfHsYiB7eaYKVFJs83yhd0QAHsH4ag7Yvna16zgfEQm5Pg1wdaz5H4fIhJGx0Oa/s5TYfwRPgm+7ZrV/ZBW7pAncrI8Ym4xnf60w0RDO5HBPfrdb
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.78,374,1599523200"; d="scan'208";a="601932285"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 27 Nov 2020 14:36:06 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id 0AREa6DJ015405 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 27 Nov 2020 14:36:06 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 27 Nov 2020 08:36:05 -0600
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 27 Nov 2020 09:36:01 -0500
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 27 Nov 2020 09:36:01 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+u22ZT+qCtYO9Ll+6puAQ5LNXf/HrKypAru4/A3ABpkLURtb3AzSM+1iBCOxYjKZqv353vWNm4N3fvcCy3K8+eaoEDZkUcSsdWGeHjVTs67ZIzBNCNiNXq+WSbnEYfwLQAJWL6r2KXj/YDe89A9w24s7jgVi7FDpUArXwQ1NMTHXZWtL51KDYBMMa8esQVSHDuldGYhOx1sWKdNZC55i/BbXtVyNw/6hkVcHbmuqLY24fIh0PKAF8wMp7sXXXlILcQjGeUxP5vvpYX9x+yVUk0BLXRrqkpYJOP5GlM1EP73ek+JOyTTglMpgV8Zj6HYGUp9iLSAXCEPlrcnt3Y8Eg==
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=JGzwiPPMacVRt+iPhfcfwJaJXhUEc/CpUoYdUmAOAX8=; b=T8+pLragdOt8j0GacT++/Jn6QqEycD0QS6tHf3AuojZd5hIiD/alBeEIFrHunGpLUr0eMSbOhdJYHfv12MH4FDt0cciwALyDUdXYESyTYlRfTCA/W9oBPai5om4jrgjImpXRciDeQ/beQCfk76quOw14TvbzL69SGYUC3zgGhXY8wfjnohjyvg/xrOrDtO3g8dsi1ox0pLGkv3J4XTJExYWAfN87dLgbRSUlpz7kDvnUJoENPH/JSs9UOqPezC7xRVJGVz1WL6K5W3u8M+IzaRL/gOcjlqIcBd47Km77xIyANRQ9f6M0Vft1Euat21KWURFxN0g8yIM7VtAIypLwAg==
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=JGzwiPPMacVRt+iPhfcfwJaJXhUEc/CpUoYdUmAOAX8=; b=P6dhApy7gsV6qvdQ24VhDZ8D1+gMtAFG11JtLn0VFSYysxzVmBKE4yCiCo+bUiOjjSokbQt/ARCEJJLQLNa5a+DCjacSS4xbFeX7W1zeReByKwO8JFzS7gDDcF9pne1rwYY7DcHs3dMMxwCAhUszViQaDQXjo1wxcC6vJ4rRmE4=
Received: from BYAPR11MB2887.namprd11.prod.outlook.com (2603:10b6:a03:89::27) by SJ0PR11MB5103.namprd11.prod.outlook.com (2603:10b6:a03:2d3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.25; Fri, 27 Nov 2020 14:35:58 +0000
Received: from BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::1ddc:cdb4:32cc:f078]) by BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::1ddc:cdb4:32cc:f078%3]) with mapi id 15.20.3589.025; Fri, 27 Nov 2020 14:35:58 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: tom petch <daedulus@btconnect.com>, "last-call@ietf.org" <last-call@ietf.org>
CC: "spring-chairs@ietf.org" <spring-chairs@ietf.org>, "spring@ietf.org" <spring@ietf.org>, Joel Halpern <jmh@joelhalpern.com>, "draft-ietf-spring-sr-yang@ietf.org" <draft-ietf-spring-sr-yang@ietf.org>
Thread-Topic: Last Call: <draft-ietf-spring-sr-yang-23.txt> (YANG Data Model for Segment Routing) to Proposed Standard
Thread-Index: AQHWvE9TnHz4xC0KAECDY9QT1Wf1oanN1wuAgAfYZQCAAWHdAIADN+MAgAF/mgA=
Date: Fri, 27 Nov 2020 14:35:58 +0000
Message-ID: <2E1DE08B-47AA-4D29-8ACD-30335BDFFCFE@cisco.com>
References: <160555515848.16672.7178345983262697681@ietfa.amsl.com> <5FB515F7.1020306@btconnect.com> <FE952290-CC70-4F30-8F22-6BC20D676FAB@cisco.com> <5FBCD392.3050706@btconnect.com> <5FBF86B2.7020907@btconnect.com>
In-Reply-To: <5FBF86B2.7020907@btconnect.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.43.20110804
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: a1689d93-7970-4977-e149-08d892e1c1ae
x-ms-traffictypediagnostic: SJ0PR11MB5103:
x-microsoft-antispam-prvs: <SJ0PR11MB5103D312C96F245EF5B29DF5C2F80@SJ0PR11MB5103.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:962;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: bwJFYAPCY0X76fk5Vj84q355H0DSscta51qFCuHYYr5i1povcUjZd0DijHaKUMnyzU7Fm2H5EzPsU32q627+Xr2XAIXv0fKEgBhDglbgfHglnP43oWKt7Atn+KeSYNfE+7ltElMFMvQIeAwlUlJ0GM0qSyJTTEGlxJckI8g6CTRYMAS3AcTrOg1aOmun8d7KLnVFEiRaRvXTqthoLLFHVGNaZeTr3jg1ce95NnOPNHy/e76qDlzUjrQMbiSOtsIqoLe0k6BZ5W32rmF+twn9QhsGJWFfOe0NIrghRLnTVZ1B4WhbveZyb2xrMEKySpncq+tup2TncHxYZWNiSQ3+qg==
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; SFS:(376002)(346002)(136003)(39860400002)(366004)(396003)(6512007)(110136005)(296002)(54906003)(2906002)(316002)(71200400001)(66574015)(36756003)(83380400001)(86362001)(8676002)(66476007)(66556008)(66446008)(76116006)(33656002)(5660300002)(66946007)(64756008)(478600001)(6486002)(4326008)(186003)(26005)(8936002)(2616005)(6506007)(53546011); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: h3yRF1aGtHQFjYeDFo5Za7snC8wz2Cxn8KW7vjeiInG7Hi9TUtEdtgA6gYgw+jZglyZS40kpYKwq9AUB9+vJgQ1obghT/8Btzy0c0jYAx09dVYvIEW+wny/kp+7BkNo1ccKRP3UzUCFzXct/7vzJgDJEutvs/T1+B3JaYdXGzKNOxYs7fC95uEwxbPp7ZqPkHhzToxjNAu+6fZqt0v2hNY7ojdSTAbelWeqrD5NxmGln7AQkJg9lzYt362wpr+Rj6+HPNlfPAIIdUwM5UnIBBiGsOCQ9MJhzGayCeNi7U5KOJ8ZrBJgbwUyplzUMGn4rQ+i2KrG6G2OHThMVHLpdDHyd7vtycpRE1cbY0NTjP8XRRMn4BXuTHu7azt9UOJqPV1Dpt1TBdmLk/gzSTZwS61lFswewDZ/pGPlYXogMs+J+X4X9AQPR10WPXSK39i0uSUTC4A+EGkFPKUs4V/T/Gy3VoZ4imNehxkF530DeHAts1GuthM5Khfs/ZfAMOpLeRnaJ4px3BDME1qTPOHWLkrFb1P7nxfuvTNf0lyQjy65Ni4P8pv82GMpOrSwvKcC5vprImqXpHWyxXXXxVptSg+MP2Tv60lF7NaHSG99nrNSB0ANJaFTHXGKi0eYMVH7p3VNV9edDEmRcql++kxpw5XbA71iemjTuQ2xb3jOurGDBkuHhJdpQwrbPxp+sPLjRJYFrAMYzkTJJqrislW/dSiv6FIQsbXUr5pVcgUb6eY8tbGGyoU5z1ZjwGTaOVm8tlz1fw5IdCRN4CZuZHpWypwSgz2rfMFsBJvLLdgbr0dMvjtqzdt8jKRjSZ0zNmTFHtVCM01r0oNWHazX4vqqlH51r0aY5PvuUv8Q+bht86rFJPzuLIMNML0d2COMgVy3BUhbshRVQsj7YWRqFtkqaTJ2H8Ln3+HcjTMtI3Pj8BPf4JA03nlDdT00nWpZIFDoodGfFFuo7iJ5ZGiy9Ic6rTcWrT6gHVQbL9g7D0NN7Bg0VeKpWdSKowCFxz+FBmRnC
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <004545F6D4837E40B9FC9429405C9440@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2887.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a1689d93-7970-4977-e149-08d892e1c1ae
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2020 14:35:58.6066 (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: BziIgFxXxvFUicU2ouPepNW2Kn/S0GiTtUTaXPYSy3H0rwtGvvtZpHocd0Ctb+J4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5103
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.15, xch-rcd-005.cisco.com
X-Outbound-Node: rcdn-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/vT0KDARb6Lx86jD4_5oMbUD70jw>
Subject: Re: [spring] Last Call: <draft-ietf-spring-sr-yang-23.txt> (YANG Data Model for Segment Routing) to Proposed Standard
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Nov 2020 14:36:13 -0000

Hi Tom 
Please see the -27 version. I believe it addresses your concerns as well as changing "http:" to "https:". 
Thanks,
Acee

On 11/26/20, 5:43 AM, "tom petch" <daedulus@btconnect.com> wrote:

    I have looked at -26 and it looks good apart from BGP.

    BGP gets a mention in passing but does not get the same treatment as the 
    protocols of the LSR WG.  I am unclear whether or not this I-D is 
    intended to include networks using BGP or not with e.g. signalling of 
    MSD and would value a clarification in the I-D.

    I wonder about the final D in
    Maximum SID Depth (MSD)D
    in the YANG; I suspect that it is spurious.

    Tom Petch

    On 24/11/2020 09:34, tom petch wrote:
    > On 23/11/2020 17:27, Acee Lindem (acee) wrote:
    >> Hi Tom,
    >>
    >> See a couple responses inline enclosed in <acee> and </acee>. We are
    >> addressing the rest of your comments.
    >>
    >> On 11/18/20, 7:39 AM, "tom petch" <daedulus@btconnect.com> wrote:
    >>
    >>      IANA Considerations does not register the module names used in
    >> the modules
    >>
    >> <acee>
    >> This is in the IANA considerations...
    >
    > <tp>
    > Indeed; I do not see a registration of ietf-segment-routing-mpls!
    >
    >>     This document registers a YANG module in the YANG Module Names
    >>     registry [RFC6020].
    >>
    >>        name: ietf-segment-routing-common
    >>        namespace: urn:ietf:params:xml:ns:yang:ietf-segment-routing-common
    >>        prefix: sr-cmn
    >>        reference: RFC XXXX
    >>
    >>        name: ietf-segment-routing
    >>        namespace: urn:ietf:params:xml:ns:yang:ietf-segment-routing
    >>        prefix: sr
    >>        reference: RFC XXXX
    >>
    >>        name: ietf-segment-routing
    >>        namespace: urn:ietf:params:xml:ns:yang:ietf-segment-routing-mpls
    >>        prefix: sr-mpls
    >>        reference: RFC XXXX
    >> </acee>
    >>
    >>      Examples are IPv4 only, IPv6 would be good
    >>
    >>      BGP is included when it comes to defining a router-id but is ignored
    >>      everywhere else, such as signalling MSD, protocol extensions etc
    >>
    >>      reference "RFC XXXX" would be improved by including the title in all
    >>      cases not just some
    >>
    >>      the scheme http: appears in many places.  It would be lovely if this
    >>      really was the scheme but I fear that it is not
    >> <acee>
    >> This is directly from the RFC 8407 template in Appendix B. What would
    >> you suggest?
    >
    > <tp>
    > Many I-D do now specify https: since that is now the only option
    > supported by the IETF; I have seen this called for by an AD.
    >
    >
    >> </acee>
    >>
    >>      module srcmn
    >>        the upper bound must be larger
    >>        the value must be greater
    >>      consistency is good - I think greater is better
    >>
    >>      8.3
    >>      operation states
    >>      usually operational
    >>
    >>      two imports lack references
    >>
    >>      typedef router-id
    >>      this is a well known type from RFC8394; it seems likely to
    >> confuse to
    >>      redefine it with a related but different meaning
    >>
    >>      leaf enabled
    >>      enables protocol extensions
    >>      which protocols?
    >>
    >>      leaf protected
    >>      it is used to protect
    >>      how does it do that:-)
    >>
    >>      enum dual
    >>      ... In this case will be advertised with backup flag set
    >>      What is the backup flag?  It does not feature in RFC8660.  Needs an
    >>      explanation and reference
    >>
    >>      container link-msd
    >>        list link-msds
    >>          leaf msd
    >>      The usual YANG convention is for a list to be plural and the leaf
    >>      singular.  You have the plural list but not the leaf.
    >> <acee>
    >> So you are asking for a change from "leaf msd" to "leaf link-msd"?
    >
    > <tp>
    > Yes I would especially given node-msd.  I wish that YANG Guidelines said
    > more about container names.  I think that having the same identifier for
    > container, for list, for leaf (which I have seen in another I-D)
    > will lead to mistakes so having a convention for list and leaf will
    > reduce mistakes but having another for container would be even better.
    > That said, I have yet to think of a good convention
    > In passing, must link-msd be >= node-msd?
    >
    >> </acee>
    >>
    >>
    >>   And who needs the
    >>      container?  This is mpls not a common module that might be
    >> augmented so
    >>      what does the container give apart from complexity?
    >>
    >>      list policy
    >>        leaf string
    >>      YANG string caters for very large items of very complex character
    >> sets.
    >>        Is that desirable?
    >> <acee>
    >> IETF models normally do not limit identifiers. An individual
    >> implementation could do this with a deviation.
    >
    > <tp>
    > I know - I did see an AD challenge that, I think in IESG review, not
    > long ago.  SMI was better at this!
    >
    > Tom Petch
    >
    >> </acee>
    >>
    >> Thanks,
    >> Acee
    >>
    >>      leaf used
    >>      will used plus free equal size?
    >>
    >>      Indicates if the binding is /instal/installed/
    >>
    >>      notification-segment-routing-global-srgb-collision
    >>      a mix of conflict and collision;  consistency is good and I
    >> prefer the
    >>      latter which is the name of the notification
    >>
    >>      containing /s/a/ mapping
    >>
    >>      ... sid collision
    >>      again consistency good, prefer collision to conflicting
    >>
    >>      s.9
    >>      I would have thought the srgb worthy of mention under sensitive
    >> nodes
    >>
    >>      Tom Petch
    >>
    >>
    >>      On 16/11/2020 19:32, The IESG wrote:
    >>      >
    >>      > The IESG has received a request from the Source Packet Routing
    >> in Networking