Re: [netconf] YANG attributes in a datastore

Kent Watsen <kent+ietf@watsen.net> Tue, 10 December 2019 16:19 UTC

Return-Path: <0100016ef09bed14-9d4263e8-fe4c-4ec6-a54d-7c47b562eb91-000000@amazonses.watsen.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97309120103 for <netconf@ietfa.amsl.com>; Tue, 10 Dec 2019 08:19:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 JHvxalRmYoLd for <netconf@ietfa.amsl.com>; Tue, 10 Dec 2019 08:19:42 -0800 (PST)
Received: from a8-96.smtp-out.amazonses.com (a8-96.smtp-out.amazonses.com [54.240.8.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 70296120024 for <netconf@ietf.org>; Tue, 10 Dec 2019 08:19:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1575994781; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=LuX/sq2/V15v6B574USHmtBc6LUUzIfW/7lpFoxUrGE=; b=k26+Q65G1s9ETlL0ZLZ+5eD1aIYWPXdKcXLtLhE45vhslm8Utr7wdQt+S4Ltq2hc cVtTFHEOget5EAO17UT1QLv1R2xazuUJYgV66E9SAYtQWq16Nux0UseMdKX0CG6ArNS aeEk+d7x2AxLUVFniAsJ/IlAx+EKDHwDwJFZYLmk=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100016ef09bed14-9d4263e8-fe4c-4ec6-a54d-7c47b562eb91-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_AA3E61B9-4FDD-4A0E-BAE0-9B5249C60AC2"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Tue, 10 Dec 2019 16:19:41 +0000
In-Reply-To: <677480c1606c027b43afda383378a5a9320b15dd.camel@nic.cz>
Cc: Andy Bierman <andy@yumaworks.com>, "netconf@ietf.org" <netconf@ietf.org>
To: Ladislav Lhotka <lhotka@nic.cz>
References: <5cce-5def9a00-11-66c7ce00@101566344> <20191210.150333.2171238725445540389.mbj@tail-f.com> <AM0PR0702MB3665FD1B4EFB1797333EE77DF05B0@AM0PR0702MB3665.eurprd07.prod.outlook.com> <514fe834eaa528c42f6dc31009399a3392b05dfe.camel@nic.cz> <CABCOCHSgZYDOVC7cj=1jaf4_N4pWc0B5vXPDmtm93vw5srrRkQ@mail.gmail.com> <677480c1606c027b43afda383378a5a9320b15dd.camel@nic.cz>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2019.12.10-54.240.8.96
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/gOx-KlEVpdB1_bmjhs3gIMbuwN8>
Subject: Re: [netconf] YANG attributes in a datastore
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Dec 2019 16:19:44 -0000

> A typical example is a "comment" annotation - you want to permit it basically
> everywhere but don't want to clutter the schema with "comment" leaves.


These are what I refer to as "cross-cutting" metadata attributes.  Another example
is the "enabled" attribute defined in draft-kwatsen-conditional-enablement.

Kent // contributor