Re: [Pce] I-D Action: draft-ietf-pce-pcep-yang-16.txt
Dhruv Dhody <dhruv.ietf@gmail.com> Sat, 23 October 2021 11:37 UTC
Return-Path: <dhruv.ietf@gmail.com>
X-Original-To: pce@ietfa.amsl.com
Delivered-To: pce@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72AF13A0898 for <pce@ietfa.amsl.com>; Sat, 23 Oct 2021 04:37:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 xgFB52BQurBJ for <pce@ietfa.amsl.com>; Sat, 23 Oct 2021 04:37:45 -0700 (PDT)
Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6C7313A087D for <pce@ietf.org>; Sat, 23 Oct 2021 04:37:45 -0700 (PDT)
Received: by mail-io1-xd2c.google.com with SMTP id q6so4688262iod.7 for <pce@ietf.org>; Sat, 23 Oct 2021 04:37:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HdFRzRvomK4beOQZprgS3h6LcomeGmDjvdo/a8MIx20=; b=JA81eB2Bdprq3qFpImmBP8l7TsZ7S/gjVodl+2I7ggpDjU/H4unSvVZ2AqNhHen4Pm cal57d3e/YocPbaDfsacdclalC4LJNg4D9j1t0RCA7MsejmHRed0ZzTKeNAJMi7x4IeX 5FugUbWMmdBkdRh2moI9rZ3bPPFEvdakpX5HXqKDA2DkR5IWVkAJDrJN8mz9XgpLYzYG 2s7PlTyXg4L/RerMajFZfQcgTjvtlxDpRBuiPe9FbwtT4IFVBuaUwjxoh1b5rANzImhT 7CqUHkMqEY7Ct90Mp47ScZZPwgwb8Ll4BYnEKV8cmwCrPl9RjQzXUKjCi0KIzWmbmxF9 76ow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HdFRzRvomK4beOQZprgS3h6LcomeGmDjvdo/a8MIx20=; b=r8og0KxZFLkQ6wRcQbgBpcZ0uGEP9CJgyu4WttdVWQajMzBR8LBZkpSRjTdvBUmRHg CK74OpjZ0MQNUhn5miWmJWUv7sBow98WKLjfM0APkF9YVO0xtnP9EpzEwOovTScfmDko sstM7ESVJs5ApvoX42ucKL91Yhfx049oIyxWjUChggb7i1xF8WhX5J5IuQfZ0Lfti3JM wopE7cZCTwxi0jMANdB74IyuEXUrKKeBjvo4ganHk7FXbPtMaalbToGymNLyV6sON0fS IvpfhA0q8rhwX+aL7tORyXhD0pXGKMaQDiXKIynYpo/r82C307BjMFRev7hJ+mdXtt5u m1dw==
X-Gm-Message-State: AOAM530FQrIrZBM6Y4x1+8/bvXGU+HeP+LNQaovhA0HK6TrJYBdHiA+G 9IDG2uV2Wq8ygS8zpkY3GQiaya5Zi/aA1biHWs8=
X-Google-Smtp-Source: ABdhPJzKG5GpbkV2ogTGLImCaGLa0JUSTsffwgF63/1VVfHBWB6fGozcfHJuPTpaBa1jO+scBJZoA0TtRQg0bL84WYA=
X-Received: by 2002:a02:c901:: with SMTP id t1mr3575583jao.132.1634989062853; Sat, 23 Oct 2021 04:37:42 -0700 (PDT)
MIME-Version: 1.0
References: <161400406064.23027.17597651791521888748@ietfa.amsl.com> <AM7PR07MB62483774D807F9076BF7A335A0909@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB62483774D807F9076BF7A335A0909@AM7PR07MB6248.eurprd07.prod.outlook.com>
From: Dhruv Dhody <dhruv.ietf@gmail.com>
Date: Sat, 23 Oct 2021 17:07:06 +0530
Message-ID: <CAB75xn7Z-yFoP4_NAHvcvwB2r8ONq_icFTkPtm9h4f4tmSZRNw@mail.gmail.com>
To: tom petch <ietfc@btconnect.com>
Cc: "pce@ietf.org" <pce@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004d985305cf038e7b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/hjp5w-wpJal69SGCfXBLQeC0QbM>
Subject: Re: [Pce] I-D Action: draft-ietf-pce-pcep-yang-16.txt
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Path Computation Element <pce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pce>, <mailto:pce-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pce/>
List-Post: <mailto:pce@ietf.org>
List-Help: <mailto:pce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pce>, <mailto:pce-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Oct 2021 11:37:50 -0000
Hi Tom, Apologies for the delay. I have made an update to the I-D. https://www.ietf.org/rfcdiff?url2=draft-ietf-pce-pcep-yang-17 Further details inline... On Thu, Mar 11, 2021 at 6:26 PM tom petch <ietfc@btconnect.com> wrote: > From: Pce <pce-bounces@ietf.org> on behalf of internet-drafts@ietf.org < > internet-drafts@ietf.org> > Sent: 22 February 2021 14:27 > > <tp> > I notice a number of glitches in this I-D, several about terminology, > others about arithmetic. I post the ones I have seen so far because my > cache is full, but I expect that there will be more! > > s.3 lacks > **PLSPID > ** Association > ** OF RFC5441 > **SRP RFC8231 > all of which I think are needed along with the relevant RFC as references > > [Dhruv]: Done! > RFC5540 is consistent in its terminology as it should be, but this I-D > does not follow that terminology and is not consistent. I refer to such as > Keepalive > OpenWait > KeepWait > DeadTimer > SyncTimer > back-off > Where these appear in text in the I-D then I think that they should appear > exactly as in the RFC. YANG leaf names is trickier. YANG does not do > camelcase so I think that hyphenated is best e,g, > open-wait, keep-wait; keep-alive I am unsure about and note that the I-D > has both with and without a hyphen which needs fixing > > [Dhruv]: Done! > grouping pce-scope lacks the bit name as in the RFC, L, R, S, Rd, etc > > leaf intra-area-pref { > does not say which is the higher pref and again lacks the names in the RFC > > [Dhruv]: Added > there are several 'domain' which is why the YANG convention is to make a > list name plural with the leaf therein as singular lest you get a path with > the same element repeated several times! > > [Dhruv]: Updated > container capability > the reference should be to the IANA registry not the RFCs; in two leaf > > [Dhruv]: Added > NAI needs expanding in the text, SID too > > [Dhruv]: Ack > container neigh > neigh is the sound that a horse makes but .... > > [Dhruv]: Updated > list domain perhaps better as list domains as above > > [Dhruv]: OK > admin-status oper-status > did NMDA make this approach redundant? > > [Dhruv]: Hmm, the current way is clearer with admin-status is boolean (and configurable) whereas oper-status has many more states (and config-false). > There is an awful lot of 'when pcc or pcc-and-pce. > It would be lovely if the pcc-and-pce case could be represented with two > values so that it becomes just when pcc; ditto pce > > [Dhruv]: I am not sure how to do that with enum. > leaf enabled { > type boolean; > description > "Enabled or Disabled"; > which is true? I know, obvious, but I like stating the obvious > > [Dhruv]: Updated. > leaf open-wait-timer { > the RFC says this is fixed not configurable. If there is a reason to > ignore the RFC then that needs to be spelt out IMO > leaf keep-wait-timer { > ditto > > [Dhruv]: It is marked config false already. It's kept mainly because RFC 7420 choose to keep it as well. > leaf dead-timer { > the RFC recommends a multiplier not a value which I think better lest an > operator increase the wait, forget to increase dead and so kills sessions > > [Dhruv]: Most implementation would set the dead timer value automatically based on the Keepalive timer. But it is useful for the dead timer value to be over-written via configuration when needed. You will also find DeadTimer included in the OPEN message as a value in time and thus consistent with RFC 5440 and RFC 7420. > leaf allow-negotiation { > default? > > [Dhruv]: Added > Zero means that the PCEP > entity will allow no Keepalive transmission at > all."; > This seems like a bad idea. If the peer is not allowed to send Keepalive > then I would expect them to be greeted with an error message > > [Dhruv]: The zero in max-keepalive-timer is to indicate that during the negotiation of the keepalive value in the Open message that the only acceptable value of peer's keepalive-timer is zero. If one receives an unacceptable value, that does lead to the PCErr message Error-Type=1 and Error-value=5! > Zero means that > the PCEP entity will allow not running a Dead > timer."; > Likewise, if the peer wants to run a Deadtimer how can you stop them? > > leaf min-dead-timer { > and again. I think that the underlying concepts need more consideration. > I see nothing like this in the RFC. > > [Dhruv]: PCEP session will not be established with session parameters are unacceptable during negotiation. Also, this aligns with RFC 7420. > leaf max-unknown-reqs { > I think that the RFC fixes this as five. > > [Dhruv]: it is recommended, not fixed. > /"The PCEP association type";/"The PCEP Association Type";/ > and the reference should be to IANA not RFC > > [Dhruv]: OK > /"PCEP Association Global Source.";/"PCEP Global Association Source.";/ > as per RFC; this also occurs lower down > > leaf srp-id { > RFC8231 says 0 and ffffffff reserved, YANG does not. > > /"The Path-key should be retreived";/"The Path-key should be retrieved";/ > > [Dhruv]: Ack for these! > case auth-tls { > if-feature "tls"; > choice role { > description > "The role of the local entity"; > case server { > > what happens when entity is pcc and pce? the PCC client must be the TLS > client but I do not know how this is handled. > > [Dhruv]: This is configured per peer. So a "pcc-and-pce" entity could act as a client towards one peer and server towards another. This is consistent with how RFC 5440 and RFC 8253 describe it. > .... appear transiently in this yang module. The > caps for YANG > > [Dhruv]: Ack > leaf dead-timer { > as above I like counts not times > > [Dhruv]: See above! > leaf overload-time { > in several places, does the time duration have any meaning when there is > no time of day to go with it to say when it started? > > [Dhruv]: Added > "The PST authorized"; > I am unclear why this is 'authorized; who has said so? > > [Dhruv]: Updated > notification pcep-session-local-overload { > as above does this need a data and time? > > [Dhruv]: Added > /"Trigger the resyncrinization at the PCE";/"Trigger the resynchronization > at the PCE"; > > leaf avg-rsp-time { > I would find > leaf rsp-time-avg > clearer for this and the other two times > > [Dhruv]: Updated > counters > do they need a discontinuity date and time? > > [Dhruv]: It was in the ietf-pcep, I moved to the ietf-pcep-stats module. > leaf num-keepalive-sent { > elsewhere keep-alive is hyphenated in YANG leaf names > > 5.2 > /capcabilities/capabilities > > [Dhruv]: Updated Thanks for your review! Dhruv > > There are parts of PCE I have not looked at previously and so plan to look > at the RFC which is likely to generate further comments. > > Tom Petch > > > > A New Internet-Draft is available from the on-line Internet-Drafts > directories. > This draft is a work item of the Path Computation Element WG of the IETF. > > Title : A YANG Data Model for Path Computation Element > Communications Protocol (PCEP) > Authors : Dhruv Dhody > Jonathan Hardwick > Vishnu Pavan Beeram > Jeff Tantsura > Filename : draft-ietf-pce-pcep-yang-16.txt > Pages : 112 > Date : 2021-02-22 > > Abstract: > This document defines a YANG data model for the management of Path > Computation Element communications Protocol (PCEP) for communications > between a Path Computation Client (PCC) and a Path Computation > Element (PCE), or between two PCEs. The data model includes > configuration and state data. > > > The IETF datatracker status page for this draft is: > https://datatracker.ietf.org/doc/draft-ietf-pce-pcep-yang/ > > There are also htmlized versions available at: > https://tools.ietf.org/html/draft-ietf-pce-pcep-yang-16 > https://datatracker.ietf.org/doc/html/draft-ietf-pce-pcep-yang-16 > > A diff from the previous version is available at: > https://www.ietf.org/rfcdiff?url2=draft-ietf-pce-pcep-yang-16 > > > Please note that it may take a couple of minutes from the time of > submission > until the htmlized version and diff are available at tools.ietf.org. > > Internet-Drafts are also available by anonymous FTP at: > ftp://ftp.ietf.org/internet-drafts/ > > > _______________________________________________ > Pce mailing list > Pce@ietf.org > https://www.ietf.org/mailman/listinfo/pce > > _______________________________________________ > Pce mailing list > Pce@ietf.org > https://www.ietf.org/mailman/listinfo/pce >
- [Pce] I-D Action: draft-ietf-pce-pcep-yang-16.txt internet-drafts
- Re: [Pce] I-D Action: draft-ietf-pce-pcep-yang-16… tom petch
- Re: [Pce] I-D Action: draft-ietf-pce-pcep-yang-16… Dhruv Dhody
- Re: [Pce] I-D Action: draft-ietf-pce-pcep-yang-16… tom petch
- [Pce] Modelling Keepalive Re: I-D Action: draft-i… tom petch
- Re: [Pce] I-D Action: draft-ietf-pce-pcep-yang-16… Dhruv Dhody
- Re: [Pce] Modelling Keepalive Re: I-D Action: dra… Dhruv Dhody