[NMOP] Re: Question on draft-ietf-nmop-yang-message-broker-integration - ietf-system-capabilities

Thomas.Graf@swisscom.com Sat, 29 November 2025 07:55 UTC

Return-Path: <Thomas.Graf@swisscom.com>
X-Original-To: nmop@mail2.ietf.org
Delivered-To: nmop@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id EF0CA92578F7; Fri, 28 Nov 2025 23:55:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.396
X-Spam-Level:
X-Spam-Status: No, score=-4.396 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_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_NONE=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=swisscom.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id so6g0phAsL1g; Fri, 28 Nov 2025 23:55:14 -0800 (PST)
Received: from mail.swisscom.com (mailout110.swisscom.com [138.188.166.110]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 2FE1892578ED; Fri, 28 Nov 2025 23:55:14 -0800 (PST)
Received: by mail.swisscom.com; Sat, 29 Nov 2025 08:54:52 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=swisscom.com; s=iscm; t=1764402892; bh=Tghq2pnVEw1RsjACI6MjFX3nR3ZCZMSXMc2JN4Dvy/Y=; h=MIME-Version:Content-Type:From:To:CC:Subject:Date:Message-ID: References:In-Reply-To; b=ijya5tV2cGb9FZ5Dhyu8k6s5tMU7WMaKgI/DmmSMRTFeu+1bk3fXYrZC/SuIT9v8T 4hsp24M+Vf5HecwrrxsgQL0WVlwaPiBegpaWBsntL8uBJissDPSnlr5MFDT4ItvsZq 09V4CWsDr1C2E7W2dxpFkJGVCrPdjN9c+o1YQQifhsVHrU7ztWkc3oExx2Ymamhptr I4KDcj2W+xFFghpG9F1yUg0acbFXinePSA3NvLQpl31GhZz9ahLYdntuyrey5v1pMA vVENtcnTjel4Axna0nJ/AOGLxBeYmLb5QXdvGaHxe37xRtLynv562pWoSDHakDp518 ypFcPo8y75BZA==
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----=_Part_1306896_1737024696.1764402892172"
X-Mailer: Totemo_TrustMail_(Notification)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cU4eY5vluHjF06Fg0kXQPgfMKzbd/NGkc3zavcvP6rNiVU3+/HaYcDSqrm0EYmc/dmFiIY7DkdOUqn7NM0ZTc4H0Di9cIMO89Ivo2M5VPydyLh0CUyzSYrzmk8uUZvXKVa2vWFECUg4AyZ8SRgBQSfBS5p5M0Ud3OiYHXJ7Ay92sh7/2mEjh2N/IU1Kn5SuKZmSc+6dgm6fIqdWrHCCiMCvu/kp4A3QtDboTeEwPvxEsRd2Iws9oF1nlEREsX2/EgcK1R3ox86ASbKvFfo071L1HlQZ1c4xw4GsdQvah8eaU/aZuq3edrlaBkopp4Q3sCPY2V5U6Av4wHfO9CQJF8Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YL8/HxPvpclxt3zPh427vS9dPQ1SAuZQA4fRsiJLTcY=; b=hAZQR8bHBs/hsE2kf67C+JgC42ZSzrALh6hF+jfGxQy/BJVNhChPTW1Vlz95s6lhvVaaxqishv2xSqm4FRbjruA4qGCJbw2+T5IHWbTaZOxd27ylm/P/4NaaVUT0K2k32CQcasMoZMfL9daOhm35PpT+McHlLuSMAvLw62cFjkzVMo/GMc/86VqFudsFx1XUbHvgiKj/qt26qtrmczeQicj1WfymRFW+34qcao4NEOOnniJJYJJN2oHE7J+CXrLaxe2MzevXDb4iyGs4VQalNz/wVeUfdTJS4HPBy6ZENcqN/feK4QePUKsXG2clFgKncSJqRLgJ4+H37Dru9I/W8w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=swisscom.com; dmarc=pass action=none header.from=swisscom.com; dkim=pass header.d=swisscom.com; arc=none
From: Thomas.Graf@swisscom.com
To: reshad@yahoo.com, nmop@ietf.org, draft-ietf-nmop-yang-message-broker-integration@ietf.org
Thread-Topic: Question on draft-ietf-nmop-yang-message-broker-integration - ietf-system-capabilities
Thread-Index: AQHcYQVr6ELdL0i1HEKTlHTdi5cGxw==
Date: Sat, 29 Nov 2025 07:54:42 +0000
Message-ID: <ZR1P278MB1170CE6C1F4D9633A5CE3BBE89DDA@ZR1P278MB1170.CHEP278.PROD.OUTLOOK.COM>
References: <1387624537.1157475.1761751369707.ref@mail.yahoo.com> <1387624537.1157475.1761751369707@mail.yahoo.com>
In-Reply-To: <1387624537.1157475.1761751369707@mail.yahoo.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=bdc54fe2-4929-4ea3-8e5b-fe6b15aec6fc;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ContentBits=0;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=true;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Method=Standard;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 Internal;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2025-11-29T07:42:34Z;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Tag=10, 3, 0, 1;
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=swisscom.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: ZR1P278MB1170:EE_|ZR3P278MB1195:EE_
x-ms-office365-filtering-correlation-id: c885698d-d44a-4970-04ec-08de2f1c8e05
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|376014|38070700021|8096899003|13003099007;
x-microsoft-antispam-message-info: AzXpcE//TiFzeUSSyJ7t6uq9lugl2v9Tfhi1RXyFSBTyQfQGrMr+DGZ96PMaMEASM6V7DWDLOIWkcIha464Q8svGemaGh3ZyFmFTzydY9P/Rig22MAJXiSsgOVn7tFqwKzr3VWGWTZ9IdtZF/9oHwKwAX/OEeQWW8+oLjZmEMkgpRj4O4aSejyO+Q/xm78RhbdNc5a86BzjtJuJyDsBvfXAXjKu6/1o8/XJlUmW0+jD09TyeYgcbhcDqMY+GxwImxgh7wkvl0XteXjxcf5gh3uTNPN36mvd9c9OAk/JhLHfSD9m5p/EmOG1kjGKLArClcnZHtsVqWZ5G3JATz4OGYEWryvo3k2pFbnpWP6KlZSpnwZca4OEEPBx/XwvtN6STOIfqHEj/5lB55AtPv6SM6gLZWvmoz9o3T2esZyg+2GJzyTI2X0UVfB6dAaaK0tNSvZnq0T5jS6vo0VTRuBq67ANP2VqPD0mlyBN/ipbnQZJJRkkBUzmwM+VeJow1Bl8beB440Y1owmQW8wvL1eXc+yXb1e+dhkCVFYLeWg0lKmwB1/d7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PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(38070700021)(8096899003)(13003099007);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: mW/vMRvN5SNhQsZ8m8cIkE7YSJYPzYozmSeJ+hQ7Au8GqdY4idUA6PyNrn6a8fsnh3n74pPO4FsCdyiMbSq/29ocRYDMB1YK2TeZu0cJMiYKjgDCffRsF9C4vlCL2tjX9zeKws/499T4+jzvSJaNzObPWXXl9ccIu9kw0yOspIBZcU14R7/LfPbq9iVExepwD2kag+HhHa8/Yz7WqckR6CW7qyx1iomCiuz4tcV9tZyHFqXnQ7d4SRuSWnrjArIRNHbhgYjGz1ic6TC9Mmk/4jw6opPngjoIeBXLZpFMWWYUsY49OxPdd1CRHxYiJl/H1IY6W3SUbuqKd0H4EhriepuzLcq0FmnCaj/hTVrkgPz8vMFB06ko6xVOD5suNchLPz5SLTBQsLfKcSdQpey4vW3DTLIdlatDMV1wF2fTFDtT+l/zlm5D38q7d7wYgsU4Y9MLx5A15ZmNPeKfjvKmOAeg5yJ8IGtbt1gq26Uewn2sRpbvO4n6azYbyExKrsXge2Xf4YNbmiutlUUHHuDzcetsznmqSKuBIwny22Dlq4T7sAybGQIQnYBKHCj0nFsAfluKFAF8+wxS+bB4Tiw4bMTz4VBI7vZ1lDaanLaBFNoo8lkzbUhfNrFmk0QZ/CfyFQ/4xRnUQvYN6wRr1vwGucnpovelnZ0usSiCU4QLpPaImnl38nu7CAIoXUryTkfrAqdE9B8iICsIfrz3P9qIr3uhK9eCNsxNcCagfJcPj9J2VpTQk/UmRx3xiNsamZPrgKPpYt8fna0aFoUVCs82E2WKPLxahqo1enwE1mK+Peif2l9PjFU7f2qwBJ7Wl+UMy2fKNRACWZXzn4OS6aesuPMdW1AphRH53FJ8YrzXq4RJmBsK7XfzxmQJxXBc2/nZHBvfFOsgPnU/YJi3+Z8pUyvswxtVwP6rv5mRRJ21rNF75PgILrra+i0ixxqpoAXY2I1LFDDyMeCkE5v1ays60y3/n82Y4iN6PRqsholSsTdlG10urRlgzGPrWPx0tf0G5jZHqpan/CSqqnaKUd6TwAMI6tYHTCqNGUnyTKTqihMZWqKGFVmOBua8/i/8IRanqhxUOcsJqk38tJ+TNMTvmA8Ql/zm7aNR7pf+88PIG1EDfR2pLmQdV2OdTsX2MN2e5s0T3jQC8Ybo9wsrZCUJdC0gxHHj6vrSjkl9cj8EZJzpoO+pO0dE6TJ/3i/FLSzAoKAXeqa6vAt9nqZpJcpCzglMXoYrUnZhNcBCxyueYqLfLR6SHFBH3/xlwZHU9qXh/1lDC/hePGbwa6kebo4VJivXVQAKVV6rEnoHlv9Q8EqH6/M5Aocdh54X+2WGGvFhX/hqvDKbuX8F82eUrjW/N4XBqBOv6NMfh5+6jFvblvvX3x8k1AoNDhtNydZn4TA731N6SaaCL7iK9L+xsOCdfTk3kIeSToWK+evIbj5yWQeQnGxiyqaj/J7LtzO49SX3U/o9k8wrlKLxIWJ6jQFv9f4UQseDcj37CMVcZM40U+/hosoemy2MpWpNGEvj2C706Xw9v/d9ExUiG3vgPSd3oi9lSEcK1qL1+w6etK4IHIvFqcO/2O77+BquVSDfDqlM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: ZR1P278MB1170.CHEP278.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: c885698d-d44a-4970-04ec-08de2f1c8e05
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2025 07:54:42.1017 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 364e5b87-c1c7-420d-9bee-c35d19b557a1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: M/k4201bjU67lHDdvP/6E+A0qc3X0GcAgFcpZVCEpiTxpGlG2MxkvKklq9LRBoBYB8TftePEbPuHsTdCN0OJXh8paKS3GU0bW7XfT+ujgjo=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZR3P278MB1195
X-OriginatorOrg: swisscom.com
X-CFilter-Loop: Reflected
X-Trustmail: processed
Message-ID-Hash: TMJHRBJVVZSZ6ZP3LJ4H57OS54JX5XAI
X-Message-ID-Hash: TMJHRBJVVZSZ6ZP3LJ4H57OS54JX5XAI
X-MailFrom: Thomas.Graf@swisscom.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: benoit.claise@huawei.com, ludwig=40clemm.org@dmarc.ietf.org, balazs.lengyel=40ericsson.com@dmarc.ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [NMOP] Re: Question on draft-ietf-nmop-yang-message-broker-integration - ietf-system-capabilities
List-Id: "Network Management Operations (NMOP) Working Group" <nmop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nmop/w26gZNnEx1W_8u7REQLgoz6P_dg>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nmop>
List-Help: <mailto:nmop-request@ietf.org?subject=help>
List-Owner: <mailto:nmop-owner@ietf.org>
List-Post: <mailto:nmop@ietf.org>
List-Subscribe: <mailto:nmop-join@ietf.org>
List-Unsubscribe: <mailto:nmop-leave@ietf.org>

Dear Reshad,

Apologies for late reply. I believe my reply https://mailarchive.ietf.org/arch/msg/netconf/ByHjCK3UEmNaWiKoJsciA_-qAVs/ back then was a bit too short and thanks for giving me a nudge.😊

My understanding is as following, and please correct/challenge me, I might have misunderstood something. I put the RFC 9196 authors in CC. They might want to jump in and comment.

The leaf "node-selector" in ietf-system-capabilities@2022-02-17.yang is using a type reference to nacm:node-instance-identifier in ietf-netconf-acm@2018-02-14.yang. According to typedef node-instance-identifier definition, the YANG node permissions are inherited. See below for references.

Therefor I believe RFC 9196 does it correctly. The netconf client user who discovers the capabilities sees only the xpaths which he can subscribe in YANG-Push.

https://datatracker.ietf.org/doc/html/draft-ietf-nmop-yang-message-broker-integration-09#section-4.1 implies that the netconf client user who discovers is also the one which subscribes. Let me know wherever it is worth to detail in the document that discovery and subscription have the same access rights when the same user is used.

Best wishes
Thomas


https://datatracker.ietf.org/doc/html/rfc9196#section-4.2
      list per-node-capabilities {
        description
          "Each list entry specifies capabilities for the selected
           data nodes.  The same capabilities apply to the data nodes
           in the subtree below the selected nodes.

           The system SHALL order the entries according to their
           precedence. The order of the entries MUST NOT change
           unless the underlying capabilities also change.

           Note that the longest patch matching can be achieved
           by ordering more specific matches before less
           specific ones.";
        choice node-selection {
          description
            "A method to select some or all nodes within a
             datastore.";
          leaf node-selector {
            type nacm:node-instance-identifier;
            description
              "Selects the data nodes for which capabilities are
               specified. The special value '/' denotes all data
               nodes in the datastore, consistent with the path
               leaf node on page 41 of [RFC8341].";
            reference
              "RFC 8341: Network Configuration Access Control Model";
          }
        }

https://datatracker.ietf.org/doc/html/rfc8341#section-3.5.2
     typedef node-instance-identifier {
       type yang:xpath1.0;
       description
         "Path expression used to represent a special
          data node, action, or notification instance-identifier
          string.

          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.

          This XML Path Language (XPath) expression is evaluated in the
          following context:

             o  The set of namespace declarations are those in scope on
                the leaf element where this type is used.

             o  The set of variable bindings contains one variable,
                'USER', which contains the name of the user of the
                current session.

             o  The function library is the core function library, but
                note that due to the syntax restrictions of an
                instance-identifier, no functions are allowed.

             o  The context node is the root node in the data tree.

          The accessible tree includes actions and notifications tied
          to data nodes.";
     }

From: Reshad Rahman <reshad@yahoo.com>
Sent: Wednesday, October 29, 2025 4:23 PM
To: Nmop <nmop@ietf.org>; draft-ietf-nmop-yang-message-broker-integration@ietf.org
Subject: Question on draft-ietf-nmop-yang-message-broker-integration

Be aware: This is an external email.

Hi,

Going through the broker-integration document<https://datatracker.ietf.org/doc/draft-ietf-nmop-yang-message-broker-integration>, it reminded me of this thread<https://mailarchive.ietf.org/arch/msg/netconf/L0Z7UeVrICoKq0NSOdMH8MyMIow/>. Looking at sections 4 and 4.1, specifically steps (1) and (2): user A reads the RFC9196 capabilities and sees that /interfaces/interface/ifstate supports on-change (meaning user A has NACM access to the capabilities data). But that doesn't imply that user A can e.g. dynamically subscribe on-change to /interfaces/interface/ifstate? i.e maybe user A does not have access to /interfaces/interface/ifstate?

Regards,
Reshad.