[babel] problems with draft-babel-yang-model
t petch <ietfa@btconnect.com> Mon, 13 September 2021 09:54 UTC
Return-Path: <ietfa@btconnect.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CB8373A0FCA for <babel@ietfa.amsl.com>; Mon, 13 Sep 2021 02:54:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pYqH-nEn-u66 for <babel@ietfa.amsl.com>; Mon, 13 Sep 2021 02:54:48 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30130.outbound.protection.outlook.com [40.107.3.130]) (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 A62D03A0FC9 for <babel@ietf.org>; Mon, 13 Sep 2021 02:54:48 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FRNSOQlPdgY+qe02GRV+ZDE/U7CmfjGYLtCNsaTBnXVxCxfTTppvQkuvK/loyMheOreN3sdzeDoSOrIm3M3G8zLokf7QaHgsHqfZk+bfyI8DvNCRVb8IoAUKnAIBlQMpydAgQmJNMmePBxJPYQQsP22vWlbxyQNbGgHVtxlUw7sVXsYb3nt1ejR2Y8fEd0ZRXjV6WUhE2RvC5cY/Xbh5fHlKrCMogqdnRmSGESqirng26vhwCTh2qwgbhEyjJk+XF2DBfbBj/kfTFFbjeWC0K5nq3dw1QnzEv7+EKL0cmTZ8fop/1g2vi0A+VqVRhLjqpqUahp4En6s+QyoxQStV+A==
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; bh=j35MlYbqdR2EuWqAC//oFfqybW4MRGq4ogYGkF960cA=; b=dj43HZu8U+cSW029qXLf/fO6X8v58rfcUNcDiSyqIQOvO01ebEHySmtYDwuXS+UpUUhP8MfHbLQtN8JCXxaOgrjZuq0xRs2JDE6NA/sYQHQOlhzCLtlykqrPDHkW30oc/MtzyJtoUnxqFtbj3wISdSwTgmEMQ3EeTeS9puS5Nqup588gIxmS1knMMG9CHhij8/lTzAw5I27dtokr3S1YP5jQmHAmNuQsvwJC7iAF0TeOgs9lMfnetuusvCHnaV256HSAeaNNlgD0RFnkOtc5DvRDnJ/EHpcTWQNTTed3Gjx19qiryWiaJRt76mTeYe2QoW4PnBHTy2ATT7i7vaXndw==
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=j35MlYbqdR2EuWqAC//oFfqybW4MRGq4ogYGkF960cA=; b=NPhEX+gqQLjEiSjr8MYEJob2GrUFFpUN7l6HFVgiJzsnXudFdJjsIM1EETuFisSchigBNjCpDU4eraC0eEcax160dzaydOQs5tX6vBwdK5NdeJxQ0SWQsUaFZQg0gHr2xjp5hxDWl3NQTj6WAPEnk8lAR0LhUynm6yE16Ol62Qs=
Authentication-Results: att.com; dkim=none (message not signed) header.d=none;att.com; dmarc=none action=none header.from=btconnect.com;
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23) by DBAPR07MB6917.eurprd07.prod.outlook.com (2603:10a6:10:19d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.13; Mon, 13 Sep 2021 09:54:45 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::1df3:bc53:dcc9:1187]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::1df3:bc53:dcc9:1187%4]) with mapi id 15.20.4523.014; Mon, 13 Sep 2021 09:54:45 +0000
To: babel@ietf.org, d3e3e3@gmail.com, bs7652@att.com
From: t petch <ietfa@btconnect.com>
Message-ID: <613F1FDF.8070908@btconnect.com>
Date: Mon, 13 Sep 2021 10:54:39 +0100
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: LNXP265CA0003.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::15) To DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23)
MIME-Version: 1.0
Received: from [192.168.1.65] (86.131.180.104) by LNXP265CA0003.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 09:54:44 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 3b9d4d25-706e-4843-b3c9-08d9769c83c4
X-MS-TrafficTypeDiagnostic: DBAPR07MB6917:
X-Microsoft-Antispam-PRVS: <DBAPR07MB6917EBA68FB10C1534001EF0A2D99@DBAPR07MB6917.eurprd07.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 9TjIXEpnCJca9Df/325VyxRwRhyJhdQmraAPHY4QjxPUshyAZrEVu9rLBY48dCHt6YZBak1LsfhWi+c97D6rJP63kJTF6Tn1QnoZWwo6pX6DFm8Akj5h70rxlBrrGUXNPlk81LGKatRGrDdeEGeqjOmyZlRDlChcNjzIXaHyzmJohTQYB5ESdb8c8RCkrJdWRMXx50EbZA76C2DnyWzEeiUKkJKHJ/YWa2BG2ON+jaCFf9h8BnwZqcovIjd3yZWD/V2RQZwxEOK4iKa3LfiHhVDTjJ5r09YFPVBVsCnYTQqY6KlzK54Q8/gyBvsN5yTJZLQsV+qmZcjeWZjTCQzOnhPlWUNPDohBmIBuZ3aqn9V9YvtQBD9Ppe4En16kSc3N2YWRWb2roVKoMjRS9sAsTf0Pgmv34IUTu4Us5LCxgpmZW9304HWznfBJQco7GXtHY0kPW7+A7QD8DnkOZPq8RHWl8u4DCAej9uwGIM3YAjAXQfUBfdYq2/WaB/5TC6wwI0w9jNRZMdpYgTVYbPAYe8OIyaeTRxc1w6WiyMZMKtjamtoK5hRuZlWPej2Unv7E070Z7OosiT2DDHIdmAMJrbLytI6Q5Vb2qd0qLNSNwpfInKO6DgvtjI+KCPJ0YGs6QfPg+jYnVs89sCqas9rR1qzXoNHMUOILSvVvVi0dp8jU7e/Jq9z0FBO9GD2qq6WMlflpqGoTs4pdvPzRmkqMtw==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5546.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(376002)(39860400002)(136003)(396003)(366004)(83380400001)(66946007)(66476007)(66556008)(52116002)(26005)(186003)(5660300002)(316002)(16576012)(36756003)(87266011)(6486002)(6666004)(478600001)(2906002)(8676002)(8936002)(33656002)(956004)(2616005)(86362001)(38350700002)(38100700002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: uBLTQ664lhQUKCmshGyUOFKsrOhaXhjOouWi09EqaPk8RPnMJDxr7DqcE/LEZKni7w4oWf9zOUd0BSohPAYHC5g3KRj/cZc9d5oeXKn1ovNp5okhJCYkdZKN+v7jlPxN+7QRWApyHGuz73PTwuKQs08bUlliC49iFieVeaxoIx2bhs6RY8Q930qGGV1T1h7lCbxDawLLXn5xayVRCosqekfzWFz02wvZ4dJ7uV4aacSmAhED6DVqOfi5CZWPIUx6viySaFHAEGp//PAN181dJ2cwyxPqFJLnALyNcXgSfCPYh72t463T2zY7PdpCYzAWiT/jdRu7xVIADkBxF+9EaxmVQh5ePNxGiRRV1JnL3GfXP5UDmM90hoVcT2/HDBw98mr/sjCg0hhWKy00F6+FQGFi72haNBDmx+bwbByVWrOmnOWmze226+YTn0u68Fa6Vl151757ml3yq8Pt8aWHDR8YRKV1fABBYbgULxONKwzwJqriie0q05G4p+QMPhdhKGiPth64gY+LnlN6g9rvyssX/49kkK6+tHTUk45f0tkxtB/pWM+xc4ZABeSacV8v4DmyquzLQNjIrduSG0ZFBYmbzm+BkAQUCI87FAqwchug+vh77DSxAmhmWYPItxCBVhB5qq3oaSsxoRTLAl8iQEABR54jwOEhJAObsYr/vfM3Mvwm0hR6e1GYbeXjF+jJuJvW3p/6LxgpDrOF2Ie5QOnHTO48k/70a+iHLQnUZmWrE6eDbiZ0GzhAQ7WUjF4rQzZHt0J6HHubHhKVtPZlRPFZt0y5V56bO5HItnrSvgRaC9Ym/wFJBFeerOroBYbQ9gwxw1rrkgedPwJ3ebNqoAYlN1LnZ53GyRWGfqjJRmrD9zTVa+nm5OX5J0CTsE28AscqFSKvvUi6qfC+PVo2B7l55Wp5NGzAnkYCHyMOuJ0GCmPR3wmGyWDVQcoe/OZA4BkIn7f60XTtIiMXjZQD7cZcsvcPwY/W/pctZKhE1G1B9QLhvD68r3xam0VVyUamqbtR+DDJmNoJSDAgD0XxiF2roMHOVzA+gV7Q0YsUJe1EnUaJyG/960++s7ZEpmYcMNUJVCcuN2QnM/2hFZFPva/DuGl2O0x3wNO4LSZeKTkBEeCA0er2kap1klMhoFJvNYe2P+nHPl46rYmva2iO38aah1GE99875cwmDpCaT+iK/nqfgt+SGJ3CjAFzbzQ+J2LTMAigreNebSbum2KjS6TJGoVTJ/dLdShFLZrqDq1JehTJJ4kyB5SLMK8Q8PNIR9d8v75Bv0O/8SXWpwgfIfMxKYPw7Q+fYngrcOJhDFTAMUCaIHIrhix1lx0bVp+Z
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3b9d4d25-706e-4843-b3c9-08d9769c83c4
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 09:54:44.9436 (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: 5O0LoS67bBCUu0nPQrEOYQiQ3IHtqSiWFsqPF4X9qmcCDO/con7NHuLfY+GvXvAiHTi6GUuPv4/JGOe2ZJ4hkg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR07MB6917
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/HTCxkRc7fuDYcLkx3nmtzzDlM1s>
Subject: [babel] problems with draft-babel-yang-model
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2021 09:54:52 -0000
Apologies for my scruffy post last Friday afternoon - I was gettting overwhelmed by a PC with webmail that wants me to do nothing but Social Media! This I-d has several references to a metric being NULL (no value). Trouble is, YANG has no such concept. I raised this on the Netmod list and there is agreement that YANG has no such concept but they also did the homework, that I had not done, and read RFC9046 which assumes that the concept of NULL exists. It says ' if the data model uses zero to represent NULL values ..' but that is not the case here. YANG uses zero to mean zero and does not have the concept of NULL. Rather, if a value is not set, then NETCONF, RESTCONF return nothing which is not the same as setting it to NULL as can happen in other languages. As was pointed out on the Netmod list, this absence of a value cannot be distinguished from access being denied by access control, one solution to which is using a YANG union with another data type. Anyhow, for me, the wording in babel-yang-model is wrong. It talks of metrics being 'NULL (no value)' but this is not a concept that exists in YANG. I think that either this needs calling out in the data model, that there is no representation for NULL in YANG and so that aspect of the information model cannot be represented, or if the representation of NULL is required, then the YANG needs changing, e.g. by creating a union with e.g. a leaf of type 'empty' with the description explaining how NULL is modeled. I have seen this sort of approach elsewhere, may be in LSR or TEAS, although I cannot lay my hand on an example just now. Tom Petch