Re: [netmod] draft-ietf-netmod-rfc6991-bis: Comment on node-instance-identifier

Schönwälder, Jürgen <J.Schoenwaelder@jacobs-university.de> Mon, 04 November 2019 13:46 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3228B1200E7; Mon, 4 Nov 2019 05:46:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NONE=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=jacobsuniversity.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 bZ-CUhYo4jyO; Mon, 4 Nov 2019 05:46:48 -0800 (PST)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70054.outbound.protection.outlook.com [40.107.7.54]) (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 20318120099; Mon, 4 Nov 2019 05:46:48 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ErYMiFOwYTSGLke4wy2peuRWKwGAixq951YR42slnUL3S/kHdRKPNjrMKq0bTB2sm2XFpv0KfLnAnf3aelKDhXoRifapI7kK7CN8kkM3YfaJslrEcNDcfmmgnhB022Q1B4RmG5vT5BxSOpc/SX48HawoE/WhOKAxS5tosg5rA3GDaKGQAM96qxLA0uIqAiYYtry54BXQJsyj0H3WkOh+V/k72qiCx97Bs71B6+eu9h/32c+A2QVISbLNF75KzostEdZEF9ZrKYwIRbIsV8Si6MhMEzIrvjT3varbzpbfgUA54B/LJEyWaHonWfxsnH4tzSDyXigJmZS8IYNZuRYghQ==
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=yW6MEHob2bNI/QGtn46NWTf4Wc8sPiKs3BBWeCy+Uzo=; b=YuvBaLuFlBcR02PlwFlqcZLuUQUsvat55PigFo+mYaCQFX4nbcFcNRuu53Hu+WiWq4YLCL2ImyhyHQ9iDck+jhUhk5DiUNkmN6N0AgId3RHy7iw4sI/gThijwm4y/EkvgGh5o4ZKlP31g5GOUfy4dlYqbicpLPP2qiSR72YhPcB+4ZCpJ+6h8Y/ISbOi0fEETTkgaKp2B4kHY4TTuhP4FzSl7AnvzU0VtMrcZNl5iSTvwl1d2XdOWXFmLs8j4CjjmNIfsFVH1XB6L8GiNeE2ft/zkCqZ+SM7QghWdgYPNzuc2KVtOJoMiGv3OqHkauDmSjs7xWPPjAIUpYUmTVWERw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yW6MEHob2bNI/QGtn46NWTf4Wc8sPiKs3BBWeCy+Uzo=; b=kmuXwsNbdGfZXyW6VVYqbJnRgJYOW0CyNG4IkWuGWUQy2j3qkVVcwJw+qOjOP+uakFPQdbSUN4C6zi0CNnEOxkJnH0aYpO11c87RBRzd92cApsAB/EhyN/ZQ9/39rwX/of+vvrZbhh+cHQqbH/5Tw58De5OkeKcSrTYtgrlhuRc=
Received: from AM5P190MB0482.EURP190.PROD.OUTLOOK.COM (10.161.65.11) by AM5P190MB0306.EURP190.PROD.OUTLOOK.COM (10.161.66.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Mon, 4 Nov 2019 13:46:45 +0000
Received: from AM5P190MB0482.EURP190.PROD.OUTLOOK.COM ([fe80::6c6c:2cd2:11dd:2aff]) by AM5P190MB0482.EURP190.PROD.OUTLOOK.COM ([fe80::6c6c:2cd2:11dd:2aff%5]) with mapi id 15.20.2408.024; Mon, 4 Nov 2019 13:46:45 +0000
From: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
To: Per Hedeland <per@hedeland.org>
CC: Robert Wilton <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>, "draft-ietf-netmod-rfc6991-bis@ietf.org" <draft-ietf-netmod-rfc6991-bis@ietf.org>
Thread-Topic: [netmod] draft-ietf-netmod-rfc6991-bis: Comment on node-instance-identifier
Thread-Index: AQHVd5nQOVGwGhgsU06aTZqPuhuJ4qd7BywAgAAd64CAABhMAA==
Date: Mon, 04 Nov 2019 13:46:45 +0000
Message-ID: <20191104134644.za3eng4nflbfk2mi@anna.jacobs.jacobs-university.de>
References: <9878ec54-4b3b-e83c-a60c-973478de11f4@cisco.com> <20191104103242.prnszis5olcfzcyl@anna.jacobs.jacobs-university.de> <14e342e5-cd63-898b-4b77-0537b4d3c3b4@hedeland.org>
In-Reply-To: <14e342e5-cd63-898b-4b77-0537b4d3c3b4@hedeland.org>
Reply-To: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: AM0PR04CA0031.eurprd04.prod.outlook.com (2603:10a6:208:122::44) To AM5P190MB0482.EURP190.PROD.OUTLOOK.COM (2603:10a6:206:1d::11)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=J.Schoenwaelder@jacobs-university.de;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [2001:638:709:5::7]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e67dc827-5566-4260-0858-08d7612d6eca
x-ms-traffictypediagnostic: AM5P190MB0306:
x-ms-exchange-purlcount: 1
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <AM5P190MB03068A436CA6BAF308F2CF43DE7F0@AM5P190MB0306.EURP190.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0211965D06
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(39850400004)(376002)(366004)(136003)(189003)(199004)(25786009)(66446008)(6116002)(14454004)(8676002)(81166006)(81156014)(66574012)(476003)(1076003)(76176011)(14444005)(256004)(52116002)(5660300002)(46003)(786003)(316002)(11346002)(8936002)(102836004)(229853002)(6486002)(3450700001)(45776006)(6916009)(446003)(86362001)(54906003)(6512007)(6306002)(6246003)(66476007)(66556008)(64756008)(99286004)(66946007)(7736002)(53546011)(4326008)(2906002)(71190400001)(386003)(6506007)(71200400001)(305945005)(486006)(186003)(6436002)(43066004)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5P190MB0306; H:AM5P190MB0482.EURP190.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: jacobs-university.de does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: CT0vK4QCrmZvI2MDtT7psIFyn9SOg0w4aN98CF1viAqvaXc3HVuHldDZLxaGg4QGDnLb7fP1o3KFms8Xv5KGmrnoW66waJPG4Ai5bgsa7Q8W3t7kur9TmQR898y/4ldTMjFemm0ThEExNPUkWXxrpILbdWSVJV05vA/d6poXQaR+5Nak2jnOkGacBRgRTnTa3Xb1EJURAvsvVR5unCdUl+F2yxOaVB0k5dkBfp3dDRaisrQ7fq+SCFWaRkOFbnBiQ4/CKMq0shSb4Kzxyzn8X/w/UTuWbOAaZLrdx+7mrt+vZ0nALZZWgagwXjOF8ftg8Nanl60DzBX+LuXqHU2saE+0GIUorpqZYXyi5RU2Jgsx/suyoEONuqrIHhb08SF2gCQZU4BmhYpbJic4TwL6ivifHQLL5YU+xjm/7OeIm43UdPNz0ggbCwtLVyScr6Xw9G1aZjrHIlpdic1UVQuywRpaBD8LN6p0do58j5IWMeM=
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <39C4D50A4FEF6048A3B60EC1F68BA2A8@EURP190.PROD.OUTLOOK.COM>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: e67dc827-5566-4260-0858-08d7612d6eca
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2019 13:46:45.7630 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: vaZaSGSCAJXX4Tz5LltgSICMgFAcJxeH2VPV6RvQzpIlwzfU+/fYRbn/55pdmAQ6YSJ9Y8qDc+fWs10V+H13PlKpECLP41AYRmvmye/C91A=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5P190MB0306
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/YEaBOcT8yCRhtPPGDrQ1J2ex4Io>
Subject: Re: [netmod] draft-ietf-netmod-rfc6991-bis: Comment on node-instance-identifier
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Nov 2019 13:46:51 -0000

Hi,

what about this wording :

     [...]

      A node-instance-identifier value is an unrestricted
      YANG instance-identifier expression or the special
      value '/', which refers to the entire accessible tree.

     [...]

/js

On Mon, Nov 04, 2019 at 01:19:47PM +0100, Per Hedeland wrote:
> On 2019-11-04 11:32, Schönwälder, Jürgen wrote:
> > Hi,
> > 
> > this may be resolved by adding
> > 
> >       The special value '/' refers to the entire accessible tree.
> > 
> > to the description statement. Does this work for you?
> 
> Hm, it seems to me that this would conflict with this part of the
> description:
> 
>        A node-instance-identifier value is an
>        unrestricted YANG instance-identifier expression.
> 
>        All the same rules as an instance-identifier apply,
>        except that predicates for keys are optional.  If a key
>        predicate is missing, then the node-instance-identifier
>        represents all possible server instances for that key.
> 
> - since '/' is not a valid value for a YANG instance-identifier.
> I.e. if '/' should be included in the typedef (seems reasonable to
> me), the text for it probably needs to be "incorporated" in the text
> above.
> 
> --Per
> 
> > /js
> > 
> > On Mon, Sep 30, 2019 at 03:17:25PM +0100, Robert Wilton wrote:
> > > Hi Juergen,
> > > 
> > > Should the "node-instance-identify" type specify how the path "/" is
> > > treated?
> > > 
> > > I noted that in rfc8341, the behavior for "/" is described in the leaf
> > > "path" description rather than in the type definition, but I was thinking
> > > that it might be better if this behaviour was specified as part of the
> > > typedef.
> > > 
> > > Snippet from RFC8341:
> > > 
> > >               case data-node {
> > >                 leaf path {
> > >                   type node-instance-identifier;
> > >                   mandatory true;
> > >                   description
> > >                     "Data node instance-identifier associated with the
> > >                      data node, action, or notification controlled by
> > >                      this rule.
> > > 
> > >                      Configuration data or state data
> > >                      instance-identifiers start with a top-level
> > >                      data node.  A complete instance-identifier is
> > >                      required for this type of path value.
> > > 
> > >                      The special value '/' refers to all possible
> > >                      datastore contents.";
> > >                 }
> > >               }
> > > 
> > > Thanks,
> > > Rob
> > > 
> > 
> 

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>