[CCAMP]Re: Fwd: New Version Notification for draft-hi-ccamp-cmis-control-yang-01.txt

Shunsuke Homma <shunsuke.homma.ietf@gmail.com> Wed, 05 November 2025 16:31 UTC

Return-Path: <shunsuke.homma.ietf@gmail.com>
X-Original-To: ccamp@mail2.ietf.org
Delivered-To: ccamp@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 0E79C83A1AFC for <ccamp@mail2.ietf.org>; Wed, 5 Nov 2025 08:31:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.097
X-Spam-Level:
X-Spam-Status: No, score=-1.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MANY_SPAN_IN_TEXT=1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 DsQFCAizD95l for <ccamp@mail2.ietf.org>; Wed, 5 Nov 2025 08:31:13 -0800 (PST)
Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 34674839CE2D for <ccamp@ietf.org>; Wed, 5 Nov 2025 08:27:26 -0800 (PST)
Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-592ff1d80feso5745297e87.2 for <ccamp@ietf.org>; Wed, 05 Nov 2025 08:27:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762360045; x=1762964845; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lXdq4IwAVdbfx56uT0Ug8q7iiWjtfKG9jrG53sPpmkA=; b=XEsQ7VpOjqDMAnUuAAmFVGdYBQBM9md70En1QpMPspvQ6W7MqsxowqnLnre3YD+H/a DTMM6YbJSry3OnZiQtpbQyjxEUsiHzl0EGTgAvMWYjotDCBSs/mo+YiRIICSRZyR073V c6Q2qoFccBwxinTQnSD4e2ASypUslMQtUgzzZrgOl779fIERdJF0cgz7VXp4gPyjO+Sv EAMw2LhFiWPM79ni4b+gL2Vdtx8FfnJ7oVZgcpHJx5W5sp8jYdv5Dp9pZKZOxyux/qdm a9XmZiZaaRkuZDzpRcHrt/AxA9SKv/XoNgL65Mxcb9LLwiTI1T2S0hQsV74qUoCBw1F0 wN8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762360045; x=1762964845; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lXdq4IwAVdbfx56uT0Ug8q7iiWjtfKG9jrG53sPpmkA=; b=YyGU7Xiy2BZdDx8AfsYhHZiLOuBLYEtnn26q3XUUfFPPSewwH6H4nK6rAIgZSoXMMX uaAmGalMN35M3WzPVn6XyZecMMnGRiTeNrIjCrJX/7gEKgg8iyDcNzsOW9OMzYkJolYS Lj0pFulLK92qkk8d6NDDD5Ec+2J8ZCStd24OvAkVGLgLYE+qI+FobnMrWhSb6PfEN8O+ Sr3JmYAWgAxtPXGZ1r8cQxtryiJgnYrZOXXCMQw/lUSXu4mBA2Zr0fWJqjHLctLQMgsO IHmIgQt1o9rtYiVYBVNewH4O+rflb0YVRGAS+Zbzv3zoiDzrZ+ZXlUXulaQmKtiB91wt IrRg==
X-Gm-Message-State: AOJu0YxlA/NctWgnFY4PTcj/IxdVra/ETq4wM3fh4egJrbJh0Y6jC5ku MXSIudvn2pVIGKDxChJG/7I6gCVhQJ3SUes/QKvQlbswFrUYAC1i0VlNq9rc28+ylz3AxIwqzfg dKU0kdTCKFxTi7qvqcPbWmQj/hgs+U9rAIn7h
X-Gm-Gg: ASbGnct+IbC7gLqsvoo+FHq1WMMLGQiCgmXULBFZvzBfOJXFsvVss/iEFOPum5Tm6Ny 806RBzO0BO6Ln1e0bftRs0bMoarTO1adLRoVgL6A3zIByzqtKxf33Zz7rF/G78V13WHzro/CC/U s8/TdhpNP8Rlso+IXOo5kHc2nbafo3n6GUlK3l4k6fZLBq2PXzp0UavkAYKJK8VR0b2Y87GPFT/ eZwbkbzWCcfAlsaTeZm4i5HPj2OjTzGr1DQVFQoMg6RqVxcVthkkdbe5VmEJnr97CdubPGVsbSK Phtw2LE/XsULaaepReEYArCP
X-Google-Smtp-Source: AGHT+IETUibfFKwHhb746LDGqdlPWHzUSVmwjjLx1cxZyY5ePWe8L2tGtyw9VZcQ1Awk/MmvnXFLB0gNzR11D5f14WU=
X-Received: by 2002:a05:6512:e93:b0:577:6e42:3718 with SMTP id 2adb3069b0e04-5943d55c729mr1435792e87.7.1762360044375; Wed, 05 Nov 2025 08:27:24 -0800 (PST)
MIME-Version: 1.0
References: <176070554646.1561934.2080396467735529994@dt-datatracker-84f8f646b-tg6mn> <CAKr2Fb8Bj5uSt+ZtB02dNGr=7eXTvZdCvnMj59gUb-CiXcU=nw@mail.gmail.com> <005801dc44c9$9b94fca0$d2bef5e0$@gmail.com>
In-Reply-To: <005801dc44c9$9b94fca0$d2bef5e0$@gmail.com>
From: Shunsuke Homma <shunsuke.homma.ietf@gmail.com>
Date: Thu, 06 Nov 2025 01:27:12 +0900
X-Gm-Features: AWmQ_bn1yp9GKgAIOaeCrYAgM646dKQdc9I2jOEEeXz4p_ySAHGrjT55RUtUUR8
Message-ID: <CAKr2Fb-fCJkXZpq20DnqQn_Web6p0TWu09y1whfJ4UZvToE84w@mail.gmail.com>
To: Roberto Manzotti <manzoro.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000006952db0642db6cd1"
Message-ID-Hash: OY7VHAP5WW7GK23JUDB66R5R5D2PMMAP
X-Message-ID-Hash: OY7VHAP5WW7GK23JUDB66R5R5D2PMMAP
X-MailFrom: shunsuke.homma.ietf@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ccamp.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: ccamp@ietf.org, draft-hi-ccamp-cmis-control-yang@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [CCAMP]Re: Fwd: New Version Notification for draft-hi-ccamp-cmis-control-yang-01.txt
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/BJqGO4gwbVNApNhgYGBnjHxu9c0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Owner: <mailto:ccamp-owner@ietf.org>
List-Post: <mailto:ccamp@ietf.org>
List-Subscribe: <mailto:ccamp-join@ietf.org>
List-Unsubscribe: <mailto:ccamp-leave@ietf.org>

Hi Roberto,

Sorry for the delay in replying, and thanks again for your detailed review.
Please find our responses to each of your comments below.
------------------------------
*Section 2.2*

Thank you for your comment.
Pattern 2 in this draft is not intended to represent a configuration that
does not require the proposed YANG model.
Rather, it assumes the same model as the basis and illustrates a
possible *deployment
architecture* where a container running on the NOS interacts with the
controller, using the proposed model, to control DCO modules.
The purpose of including Pattern 2 is to show that the proposed model can
also be applied to distributed or layered implementations, not limited to a
centralized controller model.

We understand, however, that the detailed analysis of Pattern 2 may not be
essential to the main contribution of this draft.
Therefore, we plan to simplify this section — for example, by moving it to
the *Use Case* section or *Appendix*, or removing it — since it mainly
discusses *implementation aspects* rather than normative elements of the
model itself.
------------------------------
*Section 3.1 (ietf-cmis-control)*

We agree with your point regarding the page-num range and the need to
restrict access to CMIS-defined pages.
If the WG reaches consensus that this draft should be *limited to custom
pages*, we will define the valid range as 176–255according to Table 8-1 in
CMIS 5.3.

We also agree with your observation that both “page-num” and “bank” should
be keys of the cmis-page list.
We will modify the model accordingly.
Regarding your question about how an implementation should behave when the
full tree is requested, our original assumption was that the system would
return a binary dump of all pages and banks.
However, we agree that this behavior is not desirable in practice.

Therefore, we will revise the draft to either require explicit
specification of both the page and bank or, as you suggested, clarify that
interaction with CMIS pages should be performed only via actions or RPCs.
------------------------------
*Section 3.2 (ietf-cmis-control-primitive)*

Thank you for pointing this out.
It seems that the action statements accidentally overwrote the correct
model during editing.
The *tree diagram* reflects the correct structure.
We will fix this issue in the next update.
------------------------------
*Sections 3.3 and 3.4*

We agree that restricting the page range (176–255) is appropriate *if* the
WG agrees to limit the model to custom pages.
We also agree that page manipulation should be performed only via *actions
or RPCs*, and we will consider making one of these modules (preferably the
action-based one) mandatory.
------------------------------
*Section 3.5 (ietf-cmis-monitor)*

We agree with your suggestion to limit the page range (176–255) under the
same condition as above.
Your proposal to include scalability considerations is also valid.
We will consider adding read-only leaves that advertise the
implementation’s capability, such as the maximum number of monitor
instances and the minimum interval supported.
------------------------------
*Section 4 (Security Considerations)*

We agree that the model itself should ideally restrict access to the custom
page range (176–255).
If the WG prefers to keep the range open for potential future CMIS updates,
we also support your suggestion to make the *server-side
responsibility* explicit
— ensuring that the server blocks access to any page that may affect NOS
manageability or data-path consistency.
------------------------------
*Section 6 (Normative References)*

Thank you for pointing this out.
We will update the reference to the latest revision, *OIF-CMIS-05.3
(September 2024)*.
------------------------------

Best regards,
Shunsuke

On Fri, Oct 24, 2025 at 6:36 PM Roberto Manzotti <manzoro.ietf@gmail.com>
wrote:

> Hi Shunsuke, co-authors and WG,
>
>
>
> I have read and reviewed the draft and providing my comments here for your
> consideration, but before moving to the detailed comments on the text I
> would like to share some general consideration about the DCO management
> approach proposed.
>
>
>
> The problem that this draft is trying resolve, exposed in the
> introduction, is to provide a management model to support proprietary
> customization (custom pages) allowed by CMIS implementation agreement.
> Since CMIS define and allow the usage of such custom pages, this is clearly
> a valid use case from an operator/user perspective, but I wonder if it is
> correct for an SDO like IETF to define a standard model which main purpose
> is to enable and potentially proliferate proprietary customization; I’m
> worried that this short term solution may cause even worse interoperability
> problem in the long term. This is the main doubt that I want to share with
> you and the workgroup and would like to hear some other opinion on it.
>
>
>
> In the same way the document introduction mentions the different vendor
> implementation of CMIS agreement, and the fact that current standard models
> do not fully address the needs for DCO management, as an additional problem
> that may require direct access to CMIS memory page. I think that the right
> solution for this is pushing vendor for proper interoperable implementation
> and filling the network management gap by proper standardization and
> abstraction of the DCO functions (like in the ongoing work on the cited
> [I-D.rokui-ccamp-actn-wdm-pluggable-modelling], where you and co-authors
> may for sure participate with your expertise). By-passing any kind of
> modelling by allowing each vendor to configure DCO trough binary
> programming of their pluggable does not seems to me a standardization path,
> but actually provide a facility that allow proliferation of proprietary
> implementations.
>
> Moreover, the direct configuration (and even only the read operation in
> the case of “Clear On Read” pages) of CMIS register may result in host NOS
> misaligned with the current configuration and state of the pluggable, with
> the risk to disrupt the normal monitoring ,management and datapath
> consistence of the same.
>
>
>
> I want to iterate again that I fully recognize the needs and use cases
> highlighted by this document, but I also think that this may not be right
> path. From my side I think that the direct access to pages that are fully
> defined and described by CMIS should never be allowed (neither RO), should
> be only accessible by the host NOS and abstracted by proper modelling as
> stated above. On the other side (while I still think is not a great
> approach for an SDO) It could be reasonable to move on with the proposal of
> this document only for custom pages, that are in fact defined for
> proprietary customization.
>
>
>
> The rest of my comments on the various section of the document are
> provided below with this hardcoded limitation in mind. i.e. only custom
> pages manipulation is allowed.
>
>
>
> Thanks
>
> Best Regards
>
> Roberto
>
>
>
> ----
>
> #Section 2.2:
>
> While Pattern1 clearly require the model defined in this draft to achieve
> the goal, I think Pattern2 do not really need it. If a “Generic/Abstracted
> Data Model over NETCONF/RESTCONF or REST API” (as indicated in Figure 3) is
> available, or under definition, I do not see any reason for pushing the NOS
> for the implementation of this draft and use an intermediate Third Party
> Application, instead of implementing directly the “Generic/abstracted DATA
> MODEL…” in the NOS, that in fact is what I think should be the right path
> for standardization.
>
>
>
> #Section 3.1. ietf-cmis-control:
>
> ##page 11:
>
> Leaf page-num for me SHALL allow only custom pages, range should be “176
> .. 255” (BO – FF are the custom page as per CMIS 5.3 Table 8-1). I think
> that is not enough to limit access to the CMIS defined pages using the
> access control feature as described in the security consideration. The
> model itself should restrict the access to custom pages.
>
>
>
> ##page  13:
>
> since both “page-num” and “bank” are required to address the memory, I
> think they should be both keys of the “cmis-page” list, otherwise only one
> entry will be allowed for every page-num, resulting in access support of
> only one bank for that page.
>
>
>
> ## Section 3.1 in general:
>
> it is not clear how an implementation that support this module should
> provide cmis-control data when the full tree is requested  (e.g.
> /interfaces/interface[‘if-name’]/cmis-control , or even larger scope
> /interfaces/interface ), is it expected to return the binary dump of all
> custom pages/banks? Since I think this is the default behavior in Netconf
> it should be better to interact with CMIS pages only trough action/rpc
> making one of the other two module mandatory and leave only the control
> information (eg list of available/supported pages but w/o data) in this
> control module.
>
>
>
> #Section 3.2. ietf-cmis-control-primitive
>
> I have the impression that the Model definition does not match with the
> tree at the beginning of section. The model has just a simplified version
> of the cmis-read and cmis-write action also defined in the next section,
> while the tree does not have actions at all.
>
>
>
> #Section 3.3. and 3.4.
>
> Same comment of section 3.1 for limiting the model to custom page, adding
> a range “176 .. 255” to the page selection leaf.
>
> I also think as, written above, that the page manipulation should only
> happens trough action or rpc, so one of this two modules (I would prefer
> action) should become mandatory
>
>
>
> #Section 3.5. ietf-cmis-monitor
>
> Same comment on the page range (176 .. 255)
>
>
>
> Considering that a host can be equipped with a large number of DCO and
> that on each one multiple monitoring instances with different granularity
> can be enabled with this model, I think that could be beneficial for this
> section a scalability assessment on the expected number of monitor
> instances that an implementation should support.
>
> I think it could also be helpful to have a pair of RO leaves in the model
> where the server implementation can advertise its capabilities in terms of
> maximum monitor instances and maximum granularity (minimum interval-ms)
>
>
>
> # Section 4. Security Consideration
>
> As mentioned before I think that the model itself shall limit the access
> to page range 176 .. 255  (custom pages).
>
> If there would be consensus in the WG to leave the page range free in the
> model (could make sense if we think that the page definition is not strict
> and CMIS can change it in a future revision), I would suggest to change the
> security management ownership for protected pages in this section and move
> it from the client controller configuration trough ACM under the server
> responsibility that should block access to any page that may impact the NOS
> manageability and datapath consistency.
>
>
>
> #Section 6. Normative References
>
> There is a new rev. of OIF-CMIS , you may consider to update the reference
> to latest revision 5.3 of September 2024.
>
> ----
>
>
>
>
>
> *From:* Shunsuke Homma <shunsuke.homma.ietf@gmail.com>
> *Sent:* Friday, October 17, 2025 3:23 PM
> *To:* ccamp@ietf.org
> *Cc:* draft-hi-ccamp-cmis-control-yang@ietf.org
> *Subject:* [CCAMP]Fwd: New Version Notification for
> draft-hi-ccamp-cmis-control-yang-01.txt
>
>
>
>
> Hi CCAMP,
>
>
>
> We updated "draft-hi-ccamp-cmis-control-yang". The main updates are as
> follows:
>
>
>
> - a new coauthor joined
>
> - added supplemental information into introduction and usecases
>
> - added new YANG modules (action, rpc, monitor)
>
> - modified editorial issues
>
>
>
> Your feedback would be appreciated.
>
>
>
> Best regards,
>
>
>
> Shunsuke
>
>
>
> ---------- Forwarded message ---------
> From: <internet-drafts@ietf.org>
> Date: Fri, Oct 17, 2025 at 9:52 PM
> Subject: New Version Notification for
> draft-hi-ccamp-cmis-control-yang-01.txt
> To: Hitoshi Irino <hitoshi.irino.ge@west.ntt.co.jp>, Kazuya Anazawa <
> kazuya.anazawa@ntt.com>, Shunsuke Homma <shunsuke.homma.ietf@gmail.com>,
> Toru Mano <toru.mano@ntt.com>, Yuji Tochio <tochio@fujitsu.com>
>
>
>
> A new version of Internet-Draft draft-hi-ccamp-cmis-control-yang-01.txt has
> been successfully submitted by Shunsuke Homma and posted to the
> IETF repository.
>
> Name:     draft-hi-ccamp-cmis-control-yang
> Revision: 01
> Title:    A YANG Data Model for CMIS Access and Control
> Date:     2025-10-17
> Group:    Individual Submission
> Pages:    32
> URL:
> https://www.ietf.org/archive/id/draft-hi-ccamp-cmis-control-yang-01.txt
> Status:
> https://datatracker.ietf.org/doc/draft-hi-ccamp-cmis-control-yang/
> HTMLized:
> https://datatracker.ietf.org/doc/html/draft-hi-ccamp-cmis-control-yang
> Diff:
> https://author-tools.ietf.org/iddiff?url2=draft-hi-ccamp-cmis-control-yang-01
>
> Abstract:
>
>    This document provides a YANG data model to access to and control
>    CMIS for managing pluggable Digital Coherent Optics transceivers
>    equipped in a router or a switch from outside.  CMIS has custom pages
>    which enables to be defined by the module vendor for its own usage,
>    and allows to extend the uses of the optics devices.
>
>
>
> The IETF Secretariat
>
>