Re: [yang-doctors] Encoding "time of activation" in a r/w data tree leaf

Ebben Aries <exa@juniper.net> Tue, 19 March 2024 06:44 UTC

Return-Path: <exa@juniper.net>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B9E1C14F61A for <yang-doctors@ietfa.amsl.com>; Mon, 18 Mar 2024 23:44:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b="Kc8ZOyUZ"; dkim=pass (1024-bit key) header.d=juniper.net header.b="iE8V3sWA"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qlq20PXSPgmD for <yang-doctors@ietfa.amsl.com>; Mon, 18 Mar 2024 23:44:18 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB11FC14F6AA for <yang-doctors@ietf.org>; Mon, 18 Mar 2024 23:44:17 -0700 (PDT)
Received: from pps.filterd (m0108160.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42ILcj8N026546; Mon, 18 Mar 2024 23:44:17 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h= date:from:to:cc:subject:message-id:references:content-type :content-transfer-encoding:in-reply-to:mime-version; s=PPS1017; bh=snwr1kxndnmERsz5zvZZHIci+FimOvCxtnRyFOaZ2o8=; b=Kc8ZOyUZsz+E 2rcwS/cyg9JxvLBpMBFGzFWB+ylQ9fQMm9208KEQ+1fdLj2EmypEv0kQvPGgE1Mm YtQ2pIHa2cfLAVOVBP31oeTVd4htHh71JDn+8ZgvqeMO+/ueeW2444W7uaomKArB 427/PrF4aB01TOBU6CXAJCTGmzAygTIzGG7tK3LtCHJY2hmFSVrEUYdhJWhdSQvw yFYUk7aeKIMwchX/yN/8RlVlwb8zVaN2YK9DSBfrzsfq1UMM5Xiy4z36ZeZQJn/v auPJVAOFUEBAQqetwtUrB5vFkxAIMBJ13CZqDgg98YmHZ/tKGAISFkzy7hsuzmla kzFz63ZoKg==
Received: from bl0pr05cu006.outbound.protection.outlook.com (mail-eastusazlp17013024.outbound.protection.outlook.com [40.93.11.24]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3ww9bcn46b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Mar 2024 23:44:16 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EA4+/Jty76427Ak1j4Vo0sRiGaEU6Vc6cb7cMfJjEPJqkFPakFzd7VyVYV5dmihuhvzqK6TfC3iZeVvT9dvnzXwqUjWJRfE3St9TpAbBnWNU8JL5yvPc5QJEI/LcL3OhSyBviBpozQSGthOEcbb1exUiv25wUVYosMXpP3/tyRkEfFgCdnHcSQoYXX8qLeb6iRj/Rjolzhj99dGHsFJh+azq6PssUO4c2dNZgnNxiMVIw5YxmYnVOzSIpygDwwfP+I+yDhR2m8kB16of9OdCA54ewAzCuj5yJWp3LtHrkQuT94OunWcV9766fZjpm6OaaLy+f8s4Ozn3+AnWSULDFA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=snwr1kxndnmERsz5zvZZHIci+FimOvCxtnRyFOaZ2o8=; b=bDAgoW9sUvdhm6jBoXkZognlx+at6ddLlETgdgjq4sGGhn5KApAMPIBLLxYUxomaQsLOj5PXu1TIhWxFxBWhzF6abaizmxasjOmEniR+FSp4Sap6/Vk2CbE6zMUwOw174Zc+akOXreat5OCrpPD1txNY+Bxz5lgvtt49Ydq5UMl/7myMCVdSMrNkP7auubGfNO6LgS1ekyE03cHDDSCwEMdPyemySsGkRtgQc8wM+Pjz6O8+1nXrz9EL+ADcXOvVEeZeSqIjCwU3hdvlkZVQZXQvsFi6qiZV2fz3NP5gdaZ2vb5lY1nO4aK/lITDJAfiAa7zNnWWFi5mr2b8XYpSzw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=snwr1kxndnmERsz5zvZZHIci+FimOvCxtnRyFOaZ2o8=; b=iE8V3sWAm62vGQj9mWvZCuzymmXrRvwyAn2innVT1RlhdmLOh03ZgkGY7bUMN1UqNxSD5Lp2s9FGxeGFPvE1MJsv1SiVgJjMC0vSAcF3XYhmq0vDZPH61ru7LxoDAmziycel/7GwQD0sv9K1Uys03NRpQ6S9xjprnxlz96J6Du4=
Received: from CH3PR05MB10076.namprd05.prod.outlook.com (2603:10b6:610:12d::22) by SA1PR05MB8643.namprd05.prod.outlook.com (2603:10b6:806:1c6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Tue, 19 Mar 2024 06:44:12 +0000
Received: from CH3PR05MB10076.namprd05.prod.outlook.com ([fe80::49e6:ae6a:45c:c5ac]) by CH3PR05MB10076.namprd05.prod.outlook.com ([fe80::49e6:ae6a:45c:c5ac%4]) with mapi id 15.20.7386.025; Tue, 19 Mar 2024 06:44:12 +0000
Date: Tue, 19 Mar 2024 16:44:07 +1000
From: Ebben Aries <exa@juniper.net>
To: Kent Watsen <kent+ietf@watsen.net>
Cc: YANG Doctors <yang-doctors@ietf.org>
Message-ID: <Zfk0NykDcK6547JS@localhost>
References: <ZawhnG9kGKSQ7pAx@localhost> <ZcZNjdfA6oAgMOLd@localhost> <0100018defcf6c18-7fc8c0e9-e1e2-4263-87ab-b47d7bfccbeb-000000@email.amazonses.com>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <0100018defcf6c18-7fc8c0e9-e1e2-4263-87ab-b47d7bfccbeb-000000@email.amazonses.com>
X-ClientProxiedBy: CYZPR10CA0012.namprd10.prod.outlook.com (2603:10b6:930:8a::10) To CH3PR05MB10076.namprd05.prod.outlook.com (2603:10b6:610:12d::22)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: CH3PR05MB10076:EE_|SA1PR05MB8643:EE_
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: K46Uaq6zu8z1qElwT1Iq+wAlyWNYuAx8NTVWrwZvXEGmm2fVGj0skGnrBlbwDOHp0r012LhFEEMxdGggQD4xjXKYUNoKD2xiI2snbpqmkbuFF8AGGjTuHI/CKKtOyngJzenybv6onxzwTyKQBcF8XslUW9mHpgJ/hEGvI8gk9IvmmfQizeUMXZoisyUeAsCZ+Axf62/VV6B6646xLGA7os7ilhzuasaw9kTjJ6XZc05rG+rwuQHliJ5mb4qS+8/TqDakabWx+pqPCzX85ZGepft0XbnHzpS8iS4/EaFFWugroZaWavFALyOgcHjkKmXTH1aPg2OFtyV0A+sdU+4atJwRluv/u91QJV1LdHOJx/qXY6Hj37hD8GO9X5zIMiN/0yDit+JSxZJWgEge7xr7HzfzBB9qk0wRUd8qQadJhX/u4A0rI4JlHe8vFFoh3HNNRQACj3iccHcV3b9ZdIOLD91dM3ampv1ntOAl4YsKjXcMumSzF3f/USkJYrApmnlzRpSYMXLT0HxQh1S9Hv6c57m9dwKW7x3r2iV6Q7/ha8/PHScBi2yVAWQfercm+XimPb72BEv6K8x3ObzsEbTSJsXmxzcnryLDi1Bf/+dpETo=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR05MB10076.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(366007)(376005); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: 09umzJGoaVEKYntgB+fgj+x8McG9o9fSvOYSSLkxe/1VPkIK+zyUy0AgVg/nz8+6CeIfc9Oi3j1T8VEPYKW4FG0j5yZqzXuWIee8YNkRe54uYYHyOMQG4D0QGcHyIPc0oBrO2S0m7BsJgSBgKIvJ0fdfgV0kLksi69HMoRJbiQlV1DoqKrTXFWTAi7wLAG30lxmGkvZb2JW9cauqlYL5GyMP4KVYb4KrWqS+V2ugS6udaMznbp3LfkzzOVNm8BDdr17niGZ1T/QC/6S6kKAM9eGSYc7i1+Q2gOhwzgsUgymLFiZ6ReEAuURuH+RWyedI0UiQlka/ADd2gsnfFdGFec3msMbUTVIpYw9WChBJV0A/b61EtFOCL82+qQrMtMQVZueIgrAHntxTnL/ZKqjL+WMUYJ6ixDEF1gPZ6vvvPFRDQpfQgXdxgiQWuCKprAthcXF8C08KQ2mEquXI/5J66Wr2kZU2P2IHVguwK8PVs8qo6r+Ii55EtcNwG8I3wfR2fwraYwBTIw/q0WV8t/Qm4VFe6jdDWuQx8ekHgGDQJ28L0PPynPTL5Q+fwCF7QAfdKZ1+gwa1x7VzuJCo0+Jy7qs61TOK+OTXQ2vFiK8k0KYCeVs9MTs0NhD0+Dwr6PoLKOrWreVfm24h7J46mfOyB9tZNFA+G59TDWaJMxcd3AzrO8EN8ha4SWcbYQBp3kJMBxlOZmOZst8yF/8fcOEnH+4z2SXVjBpqkECAhfUruxER7NQvo8mEk0WhCF+ZaY5Z5YgRhIcrOTSxjWh4fJugLbGojbzgx9j4JrlpFAkEyOaPAszJtk7qnvK1rCb9A5NRolnMg5zDIcoCYPPoiXI88dMkf6bmy8I2+gB7PrkZQsfKG3INiBb0ohG/7azIik0eBK96kxeVOjFRBjuLoKFu5Dd4bsKwtpk1Mabx/EG0cOWBEVtqASOOER2/7RJa1iBNg5VJX6AWWtDFayp0ahkx78WmUyPZ0kXyWH3FqWwTDBp+EG7YkO+ZgtuS5XcAxcB0fm3anzw8r0PuxRxaJmXYmkxe+fbB/FG3MB5+yduyvucH0HUnihLoR1GktVCcQbHRb7G/G0CN1fLbblhqPZihY5Snvvmv44y77qWOA6Kwqd62WSHxjVzLa2M66t/A6YniXMpkBacU4IsOa+nXQX5da57EpETNxziQEY+R+rw4E71jXuudZbfaIqs7+HLtTLDomfl1kVba3uJkOAo09YOdqre0w71YbLmJi83vxTCQTRXoUtsv5f6hhr+57RJNUCpirTQ1u3MvA9BkXHqBVLXU3UIZGa+65NDtZebfwY0vWeSy21sSq3yLt4Y949MQTIsI1ZZe5WjigFrMNxNj35YKEa5Qc6zXCXIYGCEGFk5U2QnRr/Z9HIgjaOaCCbk6LI/TG6UtbQ2AvJr6Hf54W4/huhiu1dq1x0RonF9uih5vm9KI45l5CGA2OjyoZt7S/xF1KrJ8VZ8f42bXKG+bynuBnFFdtCnM8YGFCj9AURAjSGjHJ5bMgpE+F7LTVNVSZdgdUzwsMieDKiapFvUGQHMEhF4IAiRRVq2ulVz7sBlQiUn6mYY8cqRLzZLvDT+HaDKr
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 1ddc4b2b-225d-4c3d-3707-08dc47dffcac
X-MS-Exchange-CrossTenant-AuthSource: CH3PR05MB10076.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2024 06:44:12.3460 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: H+qh0ZBhKxIAnZnZN3cQrbv8sVIHCK8u6j/nYYzSdCgBW4m+txdcXgXQ+PPxLUBR
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8643
X-Proofpoint-ORIG-GUID: -RwlP-TXlri5ewX5rneSdOdhYAZTUdPu
X-Proofpoint-GUID: -RwlP-TXlri5ewX5rneSdOdhYAZTUdPu
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-18_12,2024-03-18_03,2023-05-22_02
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 suspectscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1011 priorityscore=1501 mlxscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403140001 definitions=main-2403190050
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/Q1wM3umWv6VWEHNB2H-i4C5U_9A>
Subject: Re: [yang-doctors] Encoding "time of activation" in a r/w data tree leaf
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Mar 2024 06:44:23 -0000

Yes - my question was more surrounding that we have a grouping that is
re-used for both r/w config _and_ r/o state so writing to a node called
"last-change" is attempting to encode a behavior to dictate _when_ some
status should take effect.  Also there is some implied dependence on the
"status" leaf otherwise you could write a new "last-change" to that node
w/ no other changes.... what would that even mean?

In your examples, your "last-modified" is pure r/o state

NOTE: The latest published version
https://www.ietf.org/archive/id/draft-ietf-opsawg-teas-attachment-circuit-08.txt
has updated to the following now

          +--rw status
             +--rw admin-status
             |  +--rw status?        identityref
             |  +--ro last-change?   yang:date-and-time
             +--ro oper-status
                +--ro status?        identityref
                +--ro last-change?   yang:date-and-time

I'm not sure an admin-status r/o "last-change" is really necessary here
now as that is essentially a log of a last commit for a specific node
now...



On 2024-02-28 13:02:44, Kent Watsen wrote:
> [External Email. Be cautious of content]
> 
> 
> I’m unsure what opportunity there is for a pattern here, but generally feel that opstate should be presented in CF nodes rather than in RPC/action-replies.
> 
> FWIW, there is a “last-modified” leaf at these two locations:
> 
>         https://urldefense.com/v3/__https://github.com/netconf-wg/ssh-client-server/blob/e0b092bcbf7eb3c2d55125bb0705121526e7d121/ietf-ssh-server.yang*L313__;Iw!!NEt6yMaO-gk!Dl5Mwr6xbuaAfk8n1urrcBu_OoWsscQO4QLs7zjAdy2g6uVJ3gFryqsSNWKNkZ0Zw955R6mDpwA6R-l7$
> 
>         https://urldefense.com/v3/__https://github.com/netconf-wg/http-client-server/blob/34a1972eca80aee46e6cb3321d2a4e0c659fa675/ietf-http-server.yang*L207__;Iw!!NEt6yMaO-gk!Dl5Mwr6xbuaAfk8n1urrcBu_OoWsscQO4QLs7zjAdy2g6uVJ3gFryqsSNWKNkZ0Zw955R6mDp3jvOlw9$
> 
> Kent
> 
> 
> > On Feb 9, 2024, at 11:06 AM, Ebben Aries <exa=40juniper.net@dmarc.ietf.org> wrote:
> >
> > YANG Doctors,
> >
> > Readjusting the subject and resending for comment
> >
> > On 2024-01-20 12:40:12, Ebben Aries wrote:
> >> Hi Folks,
> >>
> >> I'm curious of opinions on the design pattern used during a recent
> >> review here.  It is one such where a prescribed "time of activiation" is
> >> being encoded in a r/w data tree leaf vs. within the protocol/messaging
> >> layer or a YANG 'action'
> >>
> >> Examples:
> >>
> >>    +--rw requested-start?    yang:date-and-time
> >>    +--rw requested-stop?     yang:date-and-time
> >>    +--ro actual-start?       yang:date-and-time
> >>    +--ro actual-stop?        yang:date-and-time
> >>
> >>
> >>   +--rw status
> >>      +--rw admin-status
> >>      |  +--rw status?        identityref
> >>      |  +--rw last-change?   yang:date-and-time
> >>      +--ro oper-status
> >>         +--ro status?        identityref
> >>         +--ro last-change?   yang:date-and-time
> >>
> >> Now, a quick search through published/draft modules as well as other
> >> published models I'm not sure I've seen an attempt at such a design
> >> pattern previously.
> >>
> >> This approach is very specific the intent of any surrounding structures
> >> and one where a design pattern is likely to diverge for similar
> >> intentions.  This was mostly unfolded by questioning an already
> >> published module (ietf-vpn-common) where `last-change` has a r/w and r/o
> >> variant.
> >>
> >> Would love to hear opinions on this approach vs. handling outside of the
> >> data tree.
> >>
> >> /ebben
> >>
> >>
> >> ----- Forwarded message from Ebben Aries <exa@juniper.net> -----
> >>
> >> From: Ebben Aries <exa@juniper.net>
> >> To: mohamed.boucadair@orange.com
> >> Subject: Re: Yangdoctors early review of draft-ietf-opsawg-teas-attachment-circuit-03
> >> Date: Sat, 20 Jan 2024 12:28:22 -0700
> >>
> >> Hi Med - inline...
> >>
> >> On 2024-01-17 11:33:35, mohamed.boucadair@orange.com wrote:
> >>> [External Email. Be cautious of content]
> >>>
> >>>
> >>> Re-,
> >>>
> >>>> [Med] Please note that we are focusing mainly on service and
> >>>> network models, for which NETCONF may be the transport protocol,
> >>>> but I hear your point.
> >>>
> >>> I actually meant
> >>>
> >>>> [Med] Please note that we are focusing mainly on service and
> >>>> network models, for which NETCONF may NOT be the transport protocol,
> >>>> but I hear your point.
> >>
> >> Understood and was only referring to an example for a specific protocol.
> >> Every protocol would need to account for similar capabilities.
> >>
> >> Another option could be to model a YANG 'action' for this purpose but
> >> again, alternate protocols need to have awareness on how to map actions
> >> intent.
> >>
> >> I'd be curious to hear others opinions here as we could end up w/
> >> various design patterns for this problem statement.  Encoding as regular
> >> leafs in a data tree can make it transport agnostic but one that needs
> >> to be clear and common in intent imo.
> >>
> >> Thx
> >>
> >> /ebben
> >>
> >>> Apologies for the inconvenience.
> >>>
> >>> Cheers,
> >>> Med
> >>>
> >>>> -----Message d'origine-----
> >>>> De : BOUCADAIR Mohamed INNOV/NET
> >>>> Envoyé : mercredi 17 janvier 2024 12:28
> >>>> À : 'Ebben Aries' <exa@juniper.net>
> >>>> Cc : yang-doctors@ietf.org; draft-ietf-opsawg-teas-attachment-
> >>>> circuit.all@ietf.org; opsawg@ietf.org
> >>>> Objet : RE: Yangdoctors early review of draft-ietf-opsawg-teas-
> >>>> attachment-circuit-03
> >>>>
> >>>> Hi Ebben,
> >>>>
> >>>> Please see inline.
> >>>>
> >>>> Cheers,
> >>>> Med
> >>>>
> >>>>> -----Message d'origine-----
> >>>>> De : Ebben Aries <exa@juniper.net>
> >>>>> Envoyé : lundi 15 janvier 2024 16:49
> >>>>> À : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com>
> >>>> Cc :
> >>>>> yang-doctors@ietf.org; draft-ietf-opsawg-teas-attachment-
> >>>>> circuit.all@ietf.org; opsawg@ietf.org
> >>>>> Objet : Re: Yangdoctors early review of draft-ietf-opsawg-teas-
> >>>>> attachment-circuit-03
> >>>>>
> >>>>> Thx Med - one comment inline...
> >>>>>
> >>>>> On 2024-01-15 06:59:58, mohamed.boucadair@orange.com wrote:
> >>>>>> [External Email. Be cautious of content]
> >>>>>>
> >>>>>>
> >>>> ...
> >>>>>>
> >>>>>>> - For `status/admin-status/last-change`, this leaf is `r/w`
> >>>>> and
> >>>>>>> while I
> >>>>>>>  realize this is reuse from `ietf-vpn-common`, it seems
> >>>> that
> >>>>> this
> >>>>>>> is
> >>>>>>>  incorrect and should be reflected as pure `r/o` state.
> >>>>>>
> >>>>>> [Med] Actually, no. Unlike the operational status, the client
> >>>>> can control that for administrative status as well. Think about
> >>>>> scheduled operations for example.
> >>>>>
> >>>>> I'm conflicted why this would reside in modeling for the use-
> >>>> case you
> >>>>> describe as this would entail a pattern that would need to be
> >>>>> considered across _all_ modeling.
> >>>>
> >>>> [Med] This is fair.
> >>>>
> >>>>  I'm not sure I've seen this
> >>>>> pattern arise before.
> >>>>>
> >>>>> RFC7758 is one such example of how scheduled operations would
> >>>> be
> >>>>> handled at the protocol messaging layer and not scattered among
> >>>> the
> >>>>> data-content.
> >>>>
> >>>> [Med] Please note that we are focusing mainly on service and
> >>>> network models, for which NETCONF may be the transport protocol,
> >>>> but I hear your point.
> >>>>
> >>>> Given that for the AC models, we do define the following for a
> >>>> client to control when a service can be activate/deactivated:
> >>>>
> >>>>  grouping op-instructions
> >>>>    +-- requested-start?   yang:date-and-time
> >>>>    +-- requested-stop?    yang:date-and-time
> >>>>    +--ro actual-start?      yang:date-and-time
> >>>>    +--ro actual-stop?       yang:date-and-time
> >>>>
> >>>> And that for advanced scheduling, the WG is working on a generic
> >>>> model (draft-ma-opsawg-schedule-yang) that can be used in a
> >>>> future ac augments if needed, I tweaked the draft so that the
> >>>> admin last-change is ro instead of rw. The diff to track the
> >>>> changes can be seen at:
> >>>>
> >>>> * Diff ac-common: https://urldefense.com/v3/__https://boucadair.github.io/attachment-circuit-__;!!NEt6yMaO-gk!EX_FXGmvRZozEz2nAGr4xVgt1ak_n_R0DEq10bp0mvbLDNKWpvOyKInUF8TA_i3-wF-poJ7yyGKzq4Nt8WbNJ4bP$
> >>>> model/#go.draft-ietf-opsawg-teas-common-ac.diff
> >>>> * diff ac-svc: https://urldefense.com/v3/__https://boucadair.github.io/attachment-circuit-__;!!NEt6yMaO-gk!EX_FXGmvRZozEz2nAGr4xVgt1ak_n_R0DEq10bp0mvbLDNKWpvOyKInUF8TA_i3-wF-poJ7yyGKzq4Nt8WbNJ4bP$
> >>>> model/#go.draft-ietf-opsawg-teas-attachment-circuit.diff
> >>>>
> >>>> Better?
> >>>>
> >>>> Thank you for you patience.
> >>>
> >>> ____________________________________________________________________________________________________________
> >>> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> >>> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> >>> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> >>> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> >>>
> >>> This message and its attachments may contain confidential or privileged information that may be protected by law;
> >>> they should not be distributed, used or copied without authorisation.
> >>> If you have received this email in error, please notify the sender and delete this message and its attachments.
> >>> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> >>> Thank you.
> >>>
> >>
> >> ----- End forwarded message -----
> >
> > _______________________________________________
> > yang-doctors mailing list
> > yang-doctors@ietf.org
> > https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/yang-doctors__;!!NEt6yMaO-gk!Dl5Mwr6xbuaAfk8n1urrcBu_OoWsscQO4QLs7zjAdy2g6uVJ3gFryqsSNWKNkZ0Zw955R6mDp_hGzR2a$
>