Re: [OPSAWG] Last Call: <draft-ietf-opsawg-service-assurance-yang-09.txt> (YANG Modules for Service Assurance) to Proposed Standard

tom petch <daedulus@btconnect.com> Wed, 09 November 2022 12:04 UTC

Return-Path: <daedulus@btconnect.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 75150C1522A2; Wed, 9 Nov 2022 04:04:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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 (1024-bit key) header.d=btconnect.onmicrosoft.com
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 5UQl-vFW9W5S; Wed, 9 Nov 2022 04:04:23 -0800 (PST)
Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2121.outbound.protection.outlook.com [40.107.105.121]) (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 9EE29C14CE2C; Wed, 9 Nov 2022 04:04:17 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XdJZ5ugi/YpHfjfvFzx5q6Iqz8MefjLFdf1yRW1sSVGlOj4OaiJPrBs0hhF/Ba5uZtJmkr0C72UI9HZG/yGANvwsSyUD6ue9hEg/KDLk7sE7epqklQxHGZcEML1gQptJOqFaD9UBr0LiX+HY2a24R2cE0vuBaD0G7YZ9nPcdXDUQCHGpuiiM94TNfD1WQa7TiEVZOvF1FefbqnThFS9+X87l7YuKTp1gAXRS7mWZADyzl9rWIpqh5AdeDUW1HqJ7ZvmPYKt6T6aiGEOYTN2jTl5IbPZMNOP3bIgnrC9/NrqO+E206qEwJf9+XeH/PFk7FNIYxuSAAX2OuIQYDGG1dQ==
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=Nsd/8tXM5J3uqKN1g67bQT3GNJ5XEJV2KCnAByqNehE=; b=VxpXrCOIObI32H/yORqT0jSd9homY0BAg8DZJV26cUxPs8Sxt/xgvQcrjb9XSGkinDu/bqZhkllEqYGTDigUTsCz15Rqi1k6K0zxmDthfjR1HHwvRsHZ3JdiwQ3eN06aAGr0gN5/ltVmqNB5Qp6V05CeZW5Be7rrU2/S+u7+lhuzU4G8S93SwsiOxA0d+Ku/FjBaH2RjXcgyc541akVXmca/pCOG6zE3fRqv3vkpBs9WG+vVjSe42hTkH+H8R0/0mO6RpWwDN2MNOnRUo2uzFhRuPETud5YNDfY3GzI+U//Cpn3GKHTjXwcGpvsJMYcSgRLo0oFXO/hmnuI/qx6OzQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Nsd/8tXM5J3uqKN1g67bQT3GNJ5XEJV2KCnAByqNehE=; b=ihSotu52iOpBBpk80jGAyYd91Y3NA0z2l4zaZc0nN190lSCpZPMwKT6kGO0cB8R6bzgVztO5lOxQTKvmZhFMZ/j4SQTNOINoxaM6yKHgZ7+2CS/Lflf2R0B4Uxj2OGHR6KZGqvh0pOczRqy3+zeHinXoyXn6PxfMVy7+WEBhSI8=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8) by GV2PR07MB9129.eurprd07.prod.outlook.com (2603:10a6:150:c3::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.25; Wed, 9 Nov 2022 12:04:14 +0000
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::41a9:56fe:479e:f792]) by VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::41a9:56fe:479e:f792%5]) with mapi id 15.20.5791.027; Wed, 9 Nov 2022 12:04:13 +0000
To: last-call@ietf.org
References: <166790240143.63276.14419409073399632970@ietfa.amsl.com>
Cc: draft-ietf-opsawg-service-assurance-yang@ietf.org, opsawg@ietf.org, opsawg-chairs@ietf.org, mcr@sandelman.ca
From: tom petch <daedulus@btconnect.com>
Message-ID: <636B972B.4040406@btconnect.com>
Date: Wed, 09 Nov 2022 12:03:55 +0000
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <166790240143.63276.14419409073399632970@ietfa.amsl.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: LO4P123CA0072.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:153::23) To VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: VI1PR07MB6704:EE_|GV2PR07MB9129:EE_
X-MS-Office365-Filtering-Correlation-Id: 71439df0-3aa8-4fe2-1280-08dac24a848e
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: sD9QM5fuiA1cUjC+xxPVULqnvCRL4N2BDj8lYa4hAdLdrp05qR6umyLvRd/gFhUdAYTcGBvv2nXbRjqS3VfJRz60NnLRjW3EqcH9sXtcf6LiIYxbFYE8RjI2uCRqO3oVRYQVnot/+8Kuxj+dqE5HwmIYA4yTbcb4Y6cCkkj6zr+vKphJ1VxE+dOxe/lt0aB8Hb5G2lgDDuHlcLYKqM5JrVppuTf83rvt3AH7JxJ00zPCq4gGpuwxQlRyqFprnIczEMSyNkGHgOj892RawCOdWpWwzOHoPqeEQEXyd0gl3vae0oMKtT2wB4xDN1en6OS3iZfodVUSA6XHmUpq36l1LM098WlIfUQA42A6JA6W9LvaRaAgheRk1om3xTGGX0z+7ar8/z19XN4KtZeqG0qCM7vvin6ZhO6gEwurjNfNTUE/iwEWj2NKBHL9rj0Y/cQCzIgEG3WKcv7ptC59w68Jah6zFxHP0OCYdAl19DHwgRPa4ZRcNFdfr4rzRyJ77xKiLayQbJ5h2GeDPDHEq+6utuElqn4uAqzMqxN5wpeBJDeWn8eb3eMbtw5PzeIKNXoUTHSgaSlYcqQbmH/UMqFs+ZilsekNPPE2g1BJk6aOFUf4SgvcQuUqv6wnN/NMXPx56lIPH75Wr+Tjpf46KROK+IHWRbJS/x3SNDHjJ6IqxhIVlfwN0QuW3Tmg5pGzY3jbIgwf4y3pXgtcg+bWQfwIYjMtB5UcqHK0eYXr+Zq61MSxja1gFV8nPHws9NN6tPFnwjapP+9GnI08s+LR6kzTtWeE+X8DljmCYdOpiUPozZW9ShOZoU1xfqB3AQOY97J1RyTXc6HQD9qkA70UJPsxOg==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR07MB6704.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(376002)(136003)(366004)(39860400002)(346002)(451199015)(87266011)(52116002)(38100700002)(38350700002)(53546011)(82960400001)(86362001)(6506007)(6666004)(6916009)(36756003)(33656002)(186003)(316002)(2906002)(6512007)(4001150100001)(478600001)(41300700001)(5660300002)(2616005)(26005)(8936002)(66946007)(66476007)(66556008)(6486002)(8676002)(4326008)(966005)(83380400001)(3076002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: Wz/C+IoAz5VfilixE6vrJ+14DuP81ALlJCPIyHKMcFN78NHrDIJ1yQUgwwWb38ZrqWx6OELSspkGzQHMWNSQerx1eNnO3xBErvwjG1VbS23ScRxuHKHKgomRtSFfz84G7SAsH+mt/i68QUTxcrcBhBz3zVeJsVCob6+xhsZn2oXouLe58tUmYVlZcGc1oJwhcbubEBKjZn+EFFn/7jhg2UDUJfsRwlfzvzoJZy88fvxJhdynJXelwI/2NYcPojzRWm61j8/kpyuCl6JOGOOYZlwV/uyEnEij7ONwFXmralskHp6CQ+r6s5aNidpNQcAk0t2/imJv6P4qsOg017KSo7+EWxvtK8RY88aAOvC20hFEU+1X/wgORqbxhe13aonUNQa+94t0k5r3yylFCzkYVbFyTKR5WjU9ziwXrowhyBElUGZ4dffKaaVuEXJnC42qpNmJ9TscZZNUvbm8FQ7qSfOSL7UULMV1FWUZR8pZ9vxa11iL43eHV0kkS3onOd3jpr/kXAxXsyBjDQdqMy3xY40kXxeGyYYu0JXvrLhsOjjMvSwtwfShwcd8y0TqAGzixjuedcU+knUJZE/WqqZHwm2tC5VMSUjz95zudIGqEiRoKMiP87EkdY8hheEnblTGV4FdpAObQYXd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uthSource: VI1PR07MB6704.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2022 12:04:13.8322 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 8CrXGd41wTg3nLFopGZ1JX9KwKPRC0uMEFxeinER2m3WB2I5Zvr104wYGPeRkQ0LroVujt9wz1+s9jHFsSSRQA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR07MB9129
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/8FqR3XnX3V7G1yYW8QDrTHKXj88>
Subject: Re: [OPSAWG] Last Call: <draft-ietf-opsawg-service-assurance-yang-09.txt> (YANG Modules for Service Assurance) to Proposed Standard
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Nov 2022 12:04:27 -0000

On 08/11/2022 10:13, The IESG wrote:
>
> The IESG has received a request from the Operations and Management Area
> Working Group WG (opsawg) to consider the following document: - 'YANG Modules
> for Service Assurance'
>    <draft-ietf-opsawg-service-assurance-yang-09.txt> as Proposed Standard
>
> The IESG plans to make a decision in the next few weeks, and solicits final
> comments on this action. Please send substantive comments to the
> last-call@ietf.org mailing lists by 2022-11-22. Exceptionally, comments may
> be sent to iesg@ietf.org instead. In either case, please retain the beginning
> of the Subject line to allow automated sorting.

I have never seen a YANG module with so few references and the one and 
only one there is is missing from the I-D Normative References.

I think at least there should be a reference to the companion 
Architecture document and wonder if there is a non-IETF literature 
around for this topic which could be referenced.

I was going to comment on the lack of explanation of what a type is but 
see that as a weakness of the architecture and so have commented thereon 
on that I-D, which could then be a further reference for this I-D.

My impression from Appendix B is that this could spawn a large number of 
related YANG modules for different functions  such as 'device'.  A 
registry of such functions giving a canonical set of names seems a 
likely need.  This I-D could REQUIRE all such I-D to use a YANG prefix 
of sain-....

   identity service-instance-type {
       "Identity representing a service instance.";
service instance or service instance type?

XPath within a grouping without a prefix leaves me wondering if that 
prefix will be needed e.g. by additional type modules.

stop-date-time
What if the symptom is ongoing?
'must (be) after' could be a YANG constraint.

       leaf id {
         type string;
         description
           "Identifier of the subservice instance. Must be unique...
YANG string can be very, very long and can contain all sorts of 
characters.  This is a recurrent problem with YANG (which did not adopt 
the SMI approach) and came up -again - on the Netmod list in October but 
without a clear resolution IMHO, just that the current situation is .... 
well, unsatisfactory.

       leaf label {
         type string;
         config false;
         description
           "Label of the subservice, i.e., text describing what the
            subservice is to be displayed on a human interface.
Again, without constraint this could be a nonsense.  At least one AD is 
keen on the I18N implications of display strings (which was an issue 
with I2NSF I-D).

         leaf contact {
           type string;
Here there is some guidance but only as to the semantics - I suspect 
guidance on the length and character set e.g. would be useful.


           leaf service {
             type string;
...
           }
           leaf instance-name {
             type string;
Again unqualified string

       leaf service {
         type leafref {
           path "/subservices/subservice/service-instance-parameter/"
              + "service";
         }
         description
           "Name of the service type.";
The more I read the more confused I become.  'service' has just been 
defined as the name of the service; how can it be 'service type' here? 
As I have said, the use of 'type' in general needs more attention.

       list instances {
         key "name";
         description
           "Instances of the parent service type. The list must contain
            an entry for every instance of the parent service.";
         leaf name {
           type leafref {
             path
               "/subservices/subservice/service-instance-parameter/"
             + "instance-name";
Another string as a key; vide supra.

            identifier (device id, hostname, management IP) depends
Is that an e.g. or an i.e.?

s.5.3
          leaf interface {
            type string;
            mandatory true;
            description
              "Name of the interface.";
As above, unconstricted string.  This could be a leafref in order to 
reference the YANG interface module; most RFC do just that.

Tom Petch

> Abstract
>
>
>     This document specifies YANG modules for representing assurance
>     graphs.  These graphs represent the assurance of a given service by
>     decomposing it into atomic assurance elements called subservices.  A
>     companion document, Service Assurance for Intent-based Networking
>     Architecture, presents an architecture for implementing the assurance
>     of such services.
>
>     The YANG data models in this document conforms to the Network
>     Management Datastore Architecture (NMDA) defined in RFC 8342.
>
>
>
>
> The file can be obtained via
> https://datatracker.ietf.org/doc/draft-ietf-opsawg-service-assurance-yang/
>
>
> The following IPR Declarations may be related to this I-D:
>
>     https://datatracker.ietf.org/ipr/3859/
>
>
>
>
>
>
> _______________________________________________
> IETF-Announce mailing list
> IETF-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/ietf-announce
> .
>