Re: [netmod] yang-instance-file include-defaults leaf

"Rob Wilton (rwilton)" <rwilton@cisco.com> Tue, 27 July 2021 15:38 UTC

Return-Path: <rwilton@cisco.com>
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 02DAF3A0E3B for <netmod@ietfa.amsl.com>; Tue, 27 Jul 2021 08:38:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.595
X-Spam-Level:
X-Spam-Status: No, score=-9.595 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=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=h1gaizrA; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=UlGl8Afw
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 HEP8Td18_WA4 for <netmod@ietfa.amsl.com>; Tue, 27 Jul 2021 08:38:06 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24F3B3A0E37 for <netmod@ietf.org>; Tue, 27 Jul 2021 08:38:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=42902; q=dns/txt; s=iport; t=1627400286; x=1628609886; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=lvDvx3/kocaWQQLKy/c7xkWYPI3ERw6AzHAUtv880is=; b=h1gaizrATKduHqggvgeOgJwleyLFNjMVRH9mdPj6P9Gz+sjXrRqUWGsb oogCg6pVOoSHbO/x4vD3jtpRDoa5W7R34bQNEWB9OWMI0L9x75CToTkuf SzIa7D3X9fuAh/O4OsCwr5vVRTOPK2vPeCG2kV2TAxgcyh405q5o404cH I=;
X-IPAS-Result: A0A5AAACJwBhl5JdJa1QCh0BAQEBCQESAQUFAYIGBwELAYEiMCMuflo3MYRHg0gDhTmIXgOaMoEuFIERA1QLAQEBDQEBQQQBAYRYAheCZwIlNQgOAgQBAQEBAwIDAQEBAQUBAQUBAQECAQYEFAEBAQEBAQEBcoVoDYZCAQEBAQMSEQoTAQE3AQ8CAQgRBAEBIQEGAwICAjAUCQgCBAENBQgTB4JPAYF+VwMvAZxAAYE6AoofeoEygQGCBwEBBgQEhTkYgjQJgToBgnuEDQEBhmMnHIFJRIFYgmI+hBcTAho0gmE2ggwigmmBFwQnMIILkg6DTYg6g2aJVJIWCoMmnlkSpmOWC6AahHQCBAIEBQIOAQEGgWEBNy2BLnAVgyRQGQ6OHwwNCYNPil5zOAIGAQoBAQMJikkBAQ
IronPort-PHdr: A9a23:g0HX/BY7Z51YN6RM9SaxPJ//LTDLhN3EVzX9orI2lrdHbaO5/I+kN 0vatr1hj17MCIPc7f8My+/bqLvpVmFI55Gd+GsDf5pBW15g640WkgUsDdTDBRj9K/jnPD0nG c1dU0Vm5DewNk0GUMr7bkfZ93u16zNaEx7jNA1zc+LyHIOaj8m+2+2ovZPJZAAdjzumarQ0J xKz/m3s
IronPort-HdrOrdr: A9a23:QX2E262H/ivwl+rIhiOsnQqjBJAkLtp133Aq2lEZdPU1SL38qy nKpp536faaslossR0b9uxoQZPwJk80lqQFg7X5X43DYOCOggLBEGgF1+XfKlbbak7DH4BmtJ uIRJIObOEYXWIQsS8j2njDLz/7+qj+zEl0v5am856wd3AQV0i/1XYFNu71encGIjV7OQ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.84,274,1620691200"; d="scan'208,217";a="720966038"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 27 Jul 2021 15:38:04 +0000
Received: from mail.cisco.com (xbe-aln-005.cisco.com [173.36.7.20]) by rcdn-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id 16RFc49i027851 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Tue, 27 Jul 2021 15:38:04 GMT
Received: from xfe-aln-003.cisco.com (173.37.135.123) by xbe-aln-005.cisco.com (173.36.7.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 27 Jul 2021 10:38:04 -0500
Received: from xfe-rtp-004.cisco.com (64.101.210.234) by xfe-aln-003.cisco.com (173.37.135.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 27 Jul 2021 10:38:04 -0500
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xfe-rtp-004.cisco.com (64.101.210.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Tue, 27 Jul 2021 11:38:04 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PwLS1JZzfdJH16NkSCXkGiNkEcFvsYb9aFutxfhOtma8eENRRkpBONrsBoI/2Dl7kYA2toXVytZb4MuUWFxk8Btq9cwgjnzvCTVhdadtK6TDO1+seR1RP60I5QHZEcvvLzeH/snULNLP/gklhneJrh1aQGSy4b6wsjJaXa/NLK7fv0+x1jJxs/L0I8BBjPvREnwSgEtjhJEuknPJcRS8HX8b65MJ3p5RqeWxGqFlB1Pq6sZ2Lkzcncw1annQURGo2SMi79lP2RTNpO6XNG0DYKeinWmhP0GEK0/ePWaVE7fz6ebQhpPbxhO1hQwEfWmrtO/+7i399lOiOzXqnphvtw==
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=lvDvx3/kocaWQQLKy/c7xkWYPI3ERw6AzHAUtv880is=; b=oFpe3XQYO+JdAsSo+GK6p0d6Q6m0OkhuhyvzDdQsLt58Elb0NhJ+XpG4hxVaQFvSlQj/74lI110Z3yrbYMlZbMmphkSW16+1h/kYjiQX673OqBMYXWXJKfEJVWWm8/nvZ5Kv03QelcqajrKed26VcQvpXHKOQkeoc5jr1DeAVnLqTVwODW9UYugvT3J359DsYCgts6A1N6zXql1qYvoJrx7h1GFmgjsu8eDvrusxi/l2DTpfXXHwMm07/9uylUSJ4xpTc1XotO4PQTkwM0et7dLoNf9myaOB0tZd07YPJ8XXgvYMaVWH6K4ID0Rzye8H1/uFVZ2q2Ywq5M8GdX+D2Q==
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=lvDvx3/kocaWQQLKy/c7xkWYPI3ERw6AzHAUtv880is=; b=UlGl8AfwxYHpBORjIVhBIflrVd8uv6qfEB21v/twpKSBMx2M9a6OBFRJSnp7A36P+nidjEsM0e1vFsih9hdeboAS6oW7NW23maKbgfcP865iwixIjAAicnePVU86saAHY6knLqsRiIgXrRAdgNg0R/9JCvIadINELRx6STSqU2k=
Received: from DM4PR11MB5438.namprd11.prod.outlook.com (2603:10b6:5:399::21) by DM5PR11MB1818.namprd11.prod.outlook.com (2603:10b6:3:114::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.29; Tue, 27 Jul 2021 15:37:56 +0000
Received: from DM4PR11MB5438.namprd11.prod.outlook.com ([fe80::a85a:cb8b:2d73:5e12]) by DM4PR11MB5438.namprd11.prod.outlook.com ([fe80::a85a:cb8b:2d73:5e12%7]) with mapi id 15.20.4373.018; Tue, 27 Jul 2021 15:37:56 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Andy Bierman <andy@yumaworks.com>, Balázs Lengyel <balazs.lengyel@ericsson.com>
CC: NetMod WG <netmod@ietf.org>
Thread-Topic: [netmod] yang-instance-file include-defaults leaf
Thread-Index: AQHXdB0ZnZibUXpuT0+6mfsyEmKi+6s6kMRwgAHbvACAGptLcA==
Date: Tue, 27 Jul 2021 15:37:56 +0000
Message-ID: <DM4PR11MB5438FBF7837C1147D786964CB5E99@DM4PR11MB5438.namprd11.prod.outlook.com>
References: <CABCOCHQB8=kAXRejif=04ThzbSn87oqvDLB5=oJ2FVcAKrSg4Q@mail.gmail.com> <DM4PR11MB5438F5874CDEB4D78C9A5695B5189@DM4PR11MB5438.namprd11.prod.outlook.com> <CABCOCHRwzRajMmSd2mArLeLr8OOxTdLEid3bEDdVH0vgNysTfg@mail.gmail.com>
In-Reply-To: <CABCOCHRwzRajMmSd2mArLeLr8OOxTdLEid3bEDdVH0vgNysTfg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: yumaworks.com; dkim=none (message not signed) header.d=none;yumaworks.com; dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b7fea49c-5e22-4d55-5a21-08d9511481b1
x-ms-traffictypediagnostic: DM5PR11MB1818:
x-microsoft-antispam-prvs: <DM5PR11MB1818BF4A6340204CA2B55B7EB5E99@DM5PR11MB1818.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5236;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: sGAbZGOAiwO2jD/wJPJtkVweHPZs++Rop8r7mVYr3sVUAxqpJ53ejGTb35GJmqDlkZp2CM0ZMJz1pDS/DlvExtLLL0D2rgW42ur+uqAIc3Whqa74sn9vTzlSELHiuXnAZ3M0rV02tWVkXS9b5gZYRKICOztZkDMeqS8Ywz+0+VTOH91dhW5Q6mMWAWrQzj5YTDSvgwAK75nFV8H30Hfr7lpbLHHg+pFintuWu+P8OgLX3XjC6HLZfsknlmSyqe5CscgBc026b+RHVOdf5SEw5pSgyrU3DU9h13hdwOVch2Co7ngsYpWA87LPaIwJacBXA53fJpAzE2R2ag1y9y/92Rt5d3+fykMg3mACKO1tSxfe7+HT/OlqkASU6l8MXpMKRwDf57ZH49AO0uO2IRhDOTp6bpnESLn591xEDjdxSI0K+5IxIAMcXTH7HB16gOlrtlSISonroaKEIu2xPKQUBFU+5HYLLnna3UqH+aHuFQVipqsqGN7DfBN2GEs37Qtuo1cAG7tA44sk2pmqCEZJSFQdln78hZf90JHACiHCKd+pcadOrDdrH0iS9yGy9H4hJM3qd6GYOXMglG0ZpOhoxya0vorsef3kH4jp/hxqfGTgKZrUj+oF2tS7UugYWyZ7wXP+gh8lFMRCLwuu0nX4OWfD9ciuzV4HXguqH4nl4bQ0auo2z5GpaJTMXFMzC93c8fpob6VI+NTVcNeRJJOf3A==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5438.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(396003)(346002)(376002)(39860400002)(366004)(66556008)(26005)(6506007)(53546011)(110136005)(83380400001)(71200400001)(2906002)(55016002)(7696005)(4326008)(5660300002)(8936002)(86362001)(9686003)(38100700002)(316002)(33656002)(478600001)(8676002)(52536014)(122000001)(76116006)(186003)(66476007)(64756008)(66446008)(66946007)(38070700004); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: Y83HbcSuXUgukTqEWw3072oi+c8ix890Jh8y8mObVw5L3nXf+z0NyJ747y+CCNBmjwUnxfmavfLfDX8Sb7abSfoG32LOe9uFsC6YzRsFj/CcJAsAAqyYNfxqx1bMZsXiZGEO8QNJVw3vPSX1hI5ELJzWSy0BrZEt9TB+gfi0PKf8rwMmZmimU0xhZvXvuOEckTk3Szk7aF3XgLfAyBpOaLkibKti9MvXdDWT1sN+JBjD1X3MVeaYtlCJk7NW5yOK7+TY2m6fYiUbSfq5u2Ixgcow0Mcf3fVAmJooSm4i7lx5YgFKU/g+gVs2u0BNMd3goBW5BnqCCw5IEkwKdWVzwPiUTMoWJWtXY3ecUDL4BwIZTMV3xNkIv5OHfRRB1IHZ1BAtZUHd/4yqonyvLxaD1hsYvjtztLYfSgXKGN7O2IA5lOauoUrtENGdH9AjZil5II9EU8fgjvcXeBnGns64pJi+hm4NbGYnbZyrDzjBLiWzn/gfoNCikl94Vaxqzd0TqjUhcbXYRAyQMjiKzIW58jVPaptOoFK0xcRee4D3DgdLFFHRhFuY+N2BWJjh2nuGBT1nidvhGFZ/mgZBPMGLpE81PDM6t+lRBMBKnpznGyBukOtxzaIMa4qILMRGRI7epGUO3f11eKlQDKi2GMRbuTtQSSRanjG/H9aLHNQ0RFIwznWBltMbFRCHeLx0zP4bDZNrbUvhIUeOBgQwmdczJw8CJv79KVH5+/mUZG1+O8VAkhQQP1+2wWwSRp2wmJH3K3NsV6AQJpK+nVDORuKNzZWV8ag0Mc83/9JWfZcTKfWMl94TIZRiR7v0H5lA9Jl2F0GB2zPzhohserJ00YbfvxpGVYqGXoxt/9piXm1xMaPrBCXxIX7qB0uJ2eLpkYEihN0AtqZ4S3xckys7kJ8oc1q+qnaVLgloLjO0XeG5BUknKFGvxbHe7PVgNZEbMUQoo37P36sO8y4Z42X24S3gYTPZ4n97fZ46hvvmHtn2XlQ20UgjO4xdW+BVOrp1pNGLLxKWmUvbqaKtKU2q5AKAgHxZ5gr2ZEQIhbPIhSfinSLpjXzidVu1txUUbWSUPYgemi5xY33En1bIilxB7wDxNgbOO2Q6lKZD9CL+4+PoDaCspypYd8LccKHbOLQzD4gE6zMMeh7LIBSZbHsgxhVUia6Ww9Ls+zTmEHC/T4Gl+E8H3RgnilX243caZ0oI1+LNMkUN+nuKGtuLvH+ID4r/fk8QDVQ5phQd2tv/ORHXyPX5kqKpNuv9HkrF5xOJE9tbN5ZwRmcODA/HDOhZQe7ezt4//XdrCwtpTGqeaeMZtamyQRcGr7yc6fHAfHHlrCiD
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM4PR11MB5438FBF7837C1147D786964CB5E99DM4PR11MB5438namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5438.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b7fea49c-5e22-4d55-5a21-08d9511481b1
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2021 15:37:56.5062 (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: eNUMY3VdXUnMmprBbKLrhJBot9lQz2aVVdeW9FOMCKhjUeovSb9FpYskQpVdchiDhH1/FoeRV1mHvqnfpHXzjQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1818
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.20, xbe-aln-005.cisco.com
X-Outbound-Node: rcdn-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/KHG--UszFD0XHo9xtLmYqNY4EsI>
Subject: Re: [netmod] yang-instance-file include-defaults leaf
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: Tue, 27 Jul 2021 15:38:11 -0000

Hi Andy, Balazs,

So, the reason that I want a flag to indicate whether default values are in use is because of this definition of operational in RFC 8342:

   Requests to retrieve nodes from <operational> always return the value
   in use if the node exists, regardless of any default value specified
   in the YANG module.  If no value is returned for a given node, then
   this implies that the node is not used by the device.

It was written this way because otherwise a consumer of operational data cannot differentiate between:

(i)                  This value is not present because it matches the default value specified in the YANG module, and

(ii)                This value is not present because the server has failed to return it for some reason (e.g., perhaps the daemon that would have provided this value is down or not available, or perhaps it is a bug, or perhaps it is not implemented and is a missing deviation).

So, I think that in some cases, the absence of a data node does not necessarily mean that the default value is in effect, and I wanted the instance-data document to be able to contain and correctly report this data.

I think that this behaviour could be captured by a single leaf.  Another way of articulating this would be:

leaf in-use-values {
  type boolean;
  default false;
  description
    “Only if set to true, the absence of a value in the
     instance data for a given data node implies that the
    node is not used rather than implicitly taking the
     default value specified by any corresponding
    ‘default’ statement specified in the YANG schema.”;
}

With this, I’m not sure whether we need the “includes-default” leaf currently specified in the draft, but if we do, then I would think that leaf should be entirely optional, i.e., without the default “trim”.

Regards,
Rob


From: Andy Bierman <andy@yumaworks.com>
Sent: 10 July 2021 17:41
To: Rob Wilton (rwilton) <rwilton@cisco.com>
Cc: NetMod WG <netmod@ietf.org>; Balázs Lengyel <balazs.lengyel@ericsson.com>
Subject: Re: [netmod] yang-instance-file include-defaults leaf



On Fri, Jul 9, 2021 at 5:23 AM Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>> wrote:
Andy,

Yes, when I suggested this, I was thinking that a boolean flag might be sufficient.  My point being that automatically filtering out default values isn’t always the right thing to do.



The solution is simple.
Get rid of the inappropriate "default trim" statement.

If the leaf is present then it identifies the basic-mode that was used to include defaults.
If not then the information is either not known, not applicable, or defaults were not added.

The "default" statement is a bug because there is no default basic-mode.
All of the basic-modes are in use in deployments and no camp has ever
been able to convince the others that theirs is right.


Andy

E.g., something along these lines:

leaf exclude-defaults {
  type boolean;
  default true;
  description
    “Can be used to reduce the size of the content data file.

      When unset or set to true, data nodes that have a default defined and
      where the actual value is the default value are excluded from the content
      data.

      When set to false, data nodes with default value are not filtered, and
      may appear in the content data.”
}

Would this satisfy your concern?

Regards,
Rob


From: netmod <netmod-bounces@ietf.org<mailto:netmod-bounces@ietf.org>> On Behalf Of Andy Bierman
Sent: 08 July 2021 18:16
To: NetMod WG <netmod@ietf.org<mailto:netmod@ietf.org>>
Subject: [netmod] yang-instance-file include-defaults leaf

Hi,

The module has this object:


    leaf includes-defaults {

       type enumeration {

         enum report-all {

           value 1;

           description

             "All data nodes SHOULD be included independent of

               any default values.";

         }

         enum trim {

           value 2;

           description

             "Data nodes that have a default defined and where

               the actual value is the default value SHOULD

               NOT be included.";

         }

         enum explicit {

           value 3;

           description

             "Data nodes that have a default defined and where

               the actual value is the default value SHOULD NOT be

               included. However, if the actual value was set by

               a NETCONF client or other management application

               by the way of an explicit management operation the

               data node SHOULD be included.";

         }

       }

       default trim;


The draft is extremely server-centric, like most IETF standards, but this
leaf is too server-centric to ignore.

Consider the possibility that the source of the file is NOT a NETCONF server.
This data may not be known so the default of "trim" may not be correct.

IMO this leaf is noise because any tool that knows the schema will also
know the YANG defaults.  The solution is incomplete anyway because
the presence of a leaf that has a YANG default is not enough.
The  "report-all-tagged" mode must be used to identify defaults.
IMO this leaf should be removed, but at least add an enum called "unknown".


Andy