Re: [netmod] I-D Action: draft-ietf-netmod-module-tags-09.txt

"Rob Wilton (rwilton)" <rwilton@cisco.com> Thu, 03 October 2019 15:30 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 32405120929 for <netmod@ietfa.amsl.com>; Thu, 3 Oct 2019 08:30:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-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=lAXq32tn; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=GkTMlPQE
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 PWCRh4-xYsIP for <netmod@ietfa.amsl.com>; Thu, 3 Oct 2019 08:30:47 -0700 (PDT)
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 70A74120930 for <netmod@ietf.org>; Thu, 3 Oct 2019 08:30:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6984; q=dns/txt; s=iport; t=1570116647; x=1571326247; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=UVat+j/k22tKFJLy0Z/N3rfwY/09lrFpfhWPzjdqps0=; b=lAXq32tn/HZufFnkPmKMcyOzK8K51tiw+1wvFkCE0tvtqLf6KVdHqyFk mpTL3rmSCrFFEfw/S+amoECZ0X6qilv+Hy4hRNtCCFF386Tqp41vzhG8o TjOD+NOf83Us8Smvm8yewD3iEOEq2kJyHymSQnc13gwHHGUbeAvbg6LH5 U=;
IronPort-PHdr: 9a23:gK2MCRKJjeXOmnbJLtmcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeBvad2lFGcW4Ld5roEkOfQv636EU04qZea+DFnEtRXUgMdz8AfngguGsmAXFfkLfr2aCoSF8VZX1gj9Ha+YgBY
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AOAAACE5Zd/4YNJK1gBhoBAQEBAQIBAQEBDAIBAQEBgVQEAQEBAQsBgUpQA21WIAQLKgqEGINHA4pGglyXeIEugSQDVAkBAQEMAQEYCwoCAQGDe0UCF4IuIzUIDgIDCQEBBAEBAQIBBQRthS0MhUsBAQEBAgEBAQwEEREMAQEjCQsBBAcEAgEGAg4DBAEBAQICJgICAiULFQgIAgQOBQgagwGBagMODwECDJJikGECgTiIYXWBMoJ9AQEFgTgCDkGCfxiCFwmBDCgBjA0YgUA/gRFGgkw+gmEBAQIBARaBORCDCzKCJo9rjmGOcAqCI4cIjiuCOnKGXIQsiwyWS5ERAgQCBAUCDgEBBYFUAzSBWHAVGiGCbAlHEBSBT4NzhRSFP3SBKY8RAYEiAQE
X-IronPort-AV: E=Sophos;i="5.67,252,1566864000"; d="scan'208";a="337299876"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 03 Oct 2019 15:30:46 +0000
Received: from XCH-ALN-011.cisco.com (xch-aln-011.cisco.com [173.36.7.21]) by alln-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id x93FUkBv014546 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 3 Oct 2019 15:30:46 GMT
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by XCH-ALN-011.cisco.com (173.36.7.21) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 3 Oct 2019 10:30:45 -0500
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 3 Oct 2019 10:30:45 -0500
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 3 Oct 2019 10:30:45 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HuIcZESfZuEECIc4YRTiGJxZPW9QX4J/TFqCvn1IE0GpzyiNNcO9e0aL/nos+il2zKwGym/CFpFcL314VeaQKrrtUuJdZn3g6vQVcj+agMXrbcW3eAkN+BPr5Ggmv6vyer2Scg1t0jmGejNXBcH1ZXraxmsCxitC0IhitPrVRGavVrf+z2xE0aemp469nh3A9hNi4fWUfebFhS4tFiVJWgFZCc2ZhnPc1GgWKp1cmLJl8TZI365i+3fJ9Y8ZUOn97DKS3VPmQ5HlLJflZi1X+8m9nhEKmaD0TbSfinxHmK0Pq7eRkA9wyOT80Qf5P63GT04wmdzd6UaDH+cxUhvQkQ==
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=UVat+j/k22tKFJLy0Z/N3rfwY/09lrFpfhWPzjdqps0=; b=DM+2CK9FUT4sF1dXJWdxukOm8oFNQbBe5nAhHApWEeFtZski5mzrGqtN7PkrL7z2P4Wv4GGdqklmy/MUMelrVhUK85+q8bpkTOKCAovb/rBLGg9SRObE1lhiOehKUdbn3+jbAIYPb87LQRGJDAQbMsIPaTrPuGRCsl63PVZqoV+rElOijhnCiKKcbLLNUspviIQf4yd5ejFs/+UVuQ0GNJU0TfqDzcyjYmSmfJN1wCPRZUMsxlyKDFnQq9cBmY7BpXKLWSQPdedcvH0xP1TQ1NxNTxgH/eBC4Hz94Zc7z2weKp4VHl4lEjy13taZTtuIgIOTCopebRLlQfsZ0Ty9nw==
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=UVat+j/k22tKFJLy0Z/N3rfwY/09lrFpfhWPzjdqps0=; b=GkTMlPQEn1pXxA3aQFE85FPU018/75IeOlIvuhSl3SbKexbhp0hQIjwgi4J+ha8hQfPKlxB+etFGnJ4bhkIUIM2XdIx3xt+b9uwcWJvB+s/WwNk6OmRETN9qICNGdk3gye2xzrs/nLlFwAR3om+QflzksUUneN/gXjX724yw/GU=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (52.135.38.209) by MN2PR11MB4334.namprd11.prod.outlook.com (52.135.38.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Thu, 3 Oct 2019 15:30:44 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::cca:41bd:b0bb:c549]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::cca:41bd:b0bb:c549%2]) with mapi id 15.20.2305.023; Thu, 3 Oct 2019 15:30:44 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Christian Hopps <chopps@chopps.org>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] I-D Action: draft-ietf-netmod-module-tags-09.txt
Thread-Index: AQHVc7y2pV/jTrPhkEaIK8rqhQZKT6c8kmcAgAwi9zCAAF39AIAAAF1g
Date: Thu, 03 Oct 2019 15:30:44 +0000
Message-ID: <MN2PR11MB43667363225E96A99C755036B59F0@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <156942813583.28879.894232837346561087@ietfa.amsl.com> <8F9EDBC3-EB9C-452E-9091-03DBBC735CAB@chopps.org> <MN2PR11MB43662800E2F593864E130468B59F0@MN2PR11MB4366.namprd11.prod.outlook.com> <4ED3E9FA-9B58-4E9C-AA88-CFF4260A9E90@chopps.org>
In-Reply-To: <4ED3E9FA-9B58-4E9C-AA88-CFF4260A9E90@chopps.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rwilton@cisco.com;
x-originating-ip: [173.38.220.43]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b04ff2a2-6344-4276-d877-08d74816a805
x-ms-traffictypediagnostic: MN2PR11MB4334:
x-ms-exchange-purlcount: 5
x-microsoft-antispam-prvs: <MN2PR11MB4334FA8366213E1E0F8E9FA2B59F0@MN2PR11MB4334.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 01792087B6
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(346002)(376002)(136003)(39860400002)(13464003)(199004)(189003)(51444003)(76176011)(478600001)(966005)(66574012)(81156014)(81166006)(25786009)(8936002)(8676002)(66476007)(52536014)(66946007)(5660300002)(64756008)(66556008)(76116006)(305945005)(2906002)(3846002)(7736002)(66066001)(6116002)(33656002)(26005)(71200400001)(256004)(14444005)(6306002)(6436002)(11346002)(71190400001)(6246003)(186003)(86362001)(66446008)(74316002)(99286004)(476003)(9686003)(55016002)(486006)(446003)(6506007)(53546011)(6916009)(14454004)(7696005)(316002)(102836004)(229853002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4334; H:MN2PR11MB4366.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: HaD7XeEwOXyDdtXbuK7LxCgOQyd/i1ELNAF8MRt6dnA1yh2pKspgpc/mk93/RwXwK4xrkMYaJ13jgfJQJhO3M90rvz+hfd3v92MPuCgv39hnY3TIzTRQwwX2sOmBAdCs/gRSTaBc8kVy+9kuLbDYGhK7YqinwO9IssEJgC0/4ZSNQ7DwyrTf9fhM9aQh0L3KVt6g0oeRaF93ESDum+j35ZcZmR6Xgfi1WOGU95mCmAoS6Kk3E3opKTvEp+zpLEoli2+1KZdgKfYga6tty6UcXE09EM2RkjS5/gWElCintmcbHjGkObZPaMLtqlrWdYc3U/HbSNy6Z63Re2g9f5rtmjiNY7I9Dl8HJvqY45TPYu/0TMOySouTaMwWr9VRtnpYiSJoMuOKskQYPtPlCZY/qf2wIBsFpVjniyEtyO7wecyqWmmTs4yZEZNS1vCMQTkXBWcw7rt7mYJ/qumQa+mapg==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: b04ff2a2-6344-4276-d877-08d74816a805
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Oct 2019 15:30:44.0241 (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: okT/J7hlxjC+OViuN7zcS8+dGi+c64QSkKbYBI2U03GUiJvt1vd2aq0ej0JMIm9g/uwVo734eXDOXE5xl4RWCA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4334
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.21, xch-aln-011.cisco.com
X-Outbound-Node: alln-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/01ixC1eg3bhM91JiCvlzWx2K7sg>
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-module-tags-09.txt
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: Thu, 03 Oct 2019 15:30:58 -0000

Hi Chris,

> -----Original Message-----
> From: Christian Hopps <chopps@chopps.org>
> Sent: 03 October 2019 16:16
> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> Cc: Christian Hopps <chopps@chopps.org>; netmod@ietf.org
> Subject: Re: [netmod] I-D Action: draft-ietf-netmod-module-tags-09.txt
> 
> [resending to include list cc]
> 
> > On Oct 3, 2019, at 5:45 AM, Rob Wilton (rwilton) <rwilton@cisco.com>
> wrote:
> >
> > Hi Chris,
> >
> > As discussed offline, you have left out the "masked-tag" container in
> the "modules-tags-state" module.
> 
> One might read this as an objection that was discussed offline, but I
> don't think you are objecting, you're just stating what happened, correct?

Correct, not objecting, although I might be about to šŸ˜‰

Generally, I think that is what is available in "module-tags-state" should be directly equivalent to what is available in the operational datastore for servers that support NMDA.

So, my previous comments were trying to align these two together.  I.e. if you think that "masked-tag" isn't needed in "module-tags-state" then I think that there is the equivalent question of whether it should be reported in <operational>.

What is unusual in this case, is that you have some configuration that removes items from another list.


> 
> > For consistently, I wonder, whether there shouldn't also be a comment in
> the "masked-tag" leaf-list in the main NMDA compatible module to indicate
> that "masked-tag" isn't reported in the operational state datastore
> because the information is combined into the "tag" leaf-list.
> 
> Ok, color me confused. For NMDA, why wouldn't masked-tag show up in
> operational datastore?

By default it would.


> Isn't the operational datastore the union of the
> applied intended config (config true nodes) plus the config false nodes?

Sort of yes.

What is in <operational> is the "actual operational state in effect in the system".  For configurable items, this is often, but not necessarily, the same as "applied intended config".


> 
> Non-NMDA has no concept of "applied" (operational state of config true
> nodes), that is why masked-tags don't go in the module-tags-state
> container. The user can still read the configured masked-tag value on the
> normal non-deprecated module in the non-NMDA case.

On balance, I'm not sure this was the right choice.  I think that it might be easier to include "masked-tags" in module-tags-state, and have it just report the list of tags that have been masked.  I.e. exactly the same meaning as NMDA.

Thanks,
Rob


> 
> Thanks,
> Chris.
> 
> >
> > Thanks,
> > Rob
> >
> >> -----Original Message-----
> >> From: netmod <netmod-bounces@ietf.org> On Behalf Of Christian Hopps
> >> Sent: 25 September 2019 17:19
> >> To: netmod@ietf.org
> >> Subject: Re: [netmod] I-D Action:
> >> draft-ietf-netmod-module-tags-09.txt
> >>
> >> This adds the deprecated non-NMDA state module.
> >>
> >> Thanks,
> >> Chris.
> >>
> >>> On Sep 25, 2019, at 12:15 PM, internet-drafts@ietf.org wrote:
> >>>
> >>>
> >>> A New Internet-Draft is available from the on-line Internet-Drafts
> >> directories.
> >>> This draft is a work item of the Network Modeling WG of the IETF.
> >>>
> >>>       Title           : YANG Module Tags
> >>>       Authors         : Christian Hopps
> >>>                         Lou Berger
> >>>                         Dean Bogdanovic
> >>> 	Filename        : draft-ietf-netmod-module-tags-09.txt
> >>> 	Pages           : 18
> >>> 	Date            : 2019-09-25
> >>>
> >>> Abstract:
> >>>  This document provides for the association of tags with YANG modules.
> >>>  The expectation is for such tags to be used to help classify and
> >>> organize modules.  A method for defining, reading and writing a
> >>> modules tags is provided.  Tags may be registered and assigned
> >>> during  module definition; assigned by implementations; or
> >>> dynamically  defined and set by users.  This document also provides
> >>> guidance to  future model writers; as such, this document updates
> RFC8407.
> >>>
> >>>
> >>> The IETF datatracker status page for this draft is:
> >>> https://datatracker.ietf.org/doc/draft-ietf-netmod-module-tags/
> >>>
> >>> There are also htmlized versions available at:
> >>> https://tools.ietf.org/html/draft-ietf-netmod-module-tags-09
> >>> https://datatracker.ietf.org/doc/html/draft-ietf-netmod-module-tags-
> >>> 09
> >>>
> >>> A diff from the previous version is available at:
> >>> https://www.ietf.org/rfcdiff?url2=draft-ietf-netmod-module-tags-09
> >>>
> >>>
> >>> 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/
> >>>
> >>> _______________________________________________
> >>> netmod mailing list
> >>> netmod@ietf.org
> >>> https://www.ietf.org/mailman/listinfo/netmod
> >>>
> >