Re: [netmod] Comments on NMDA-04

Balazs Lengyel <balazs.lengyel@ericsson.com> Thu, 14 September 2017 15:44 UTC

Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60646132D17 for <netmod@ietfa.amsl.com>; Thu, 14 Sep 2017 08:44:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.111
X-Spam-Level:
X-Spam-Status: No, score=-4.111 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=ericsson.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 8BhO7aSozPEi for <netmod@ietfa.amsl.com>; Thu, 14 Sep 2017 08:44:10 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 4851F1326F3 for <netmod@ietf.org>; Thu, 14 Sep 2017 08:44:10 -0700 (PDT)
X-AuditID: c1b4fb2d-a65ff700000019be-aa-59baa3c893e5
Received: from ESESSHC007.ericsson.se (Unknown_Domain [153.88.183.39]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 68.19.06590.8C3AAB95; Thu, 14 Sep 2017 17:44:08 +0200 (CEST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.39) with Microsoft SMTP Server (TLS) id 14.3.352.0; Thu, 14 Sep 2017 17:44:07 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zrjlmH+WQ65EdIspqmln3N2haSi2H3lyL1NkKYnfmpY=; b=EYxsmCvq8uPF8jMftl6PIBjxDY932ocMJZ5ygqKRTQ0kKWqtkTzjqUDI6/JbnN+l8GUxyBrw5dUAt1YjW+4zx0gkoXVCX5JAe3dvkYH2yiIFt8U2vUZ/c7z/bVAGxTzdTVD4zGqrmM0MNoHf+0BgnsYhGaDQRBFTmgXcLrTjImU=
Received: from [159.107.197.117] (91.82.100.59) by AM4PR07MB3426.eurprd07.prod.outlook.com (2603:10a6:205:b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.4; Thu, 14 Sep 2017 15:44:06 +0000
To: Martin Bjorklund <mbj@tail-f.com>
References: <9ec6b2e4-36a7-87e6-59fa-828855235835@ericsson.com> <20170914.163239.143365521945928900.mbj@tail-f.com>
CC: <netmod@ietf.org>
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
Message-ID: <0605fab0-f879-e02d-4858-52a247571cb8@ericsson.com>
Date: Thu, 14 Sep 2017 17:44:00 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170914.163239.143365521945928900.mbj@tail-f.com>
Content-Type: text/plain; charset="windows-1252"; format=flowed
Content-Transfer-Encoding: 7bit
X-Originating-IP: [91.82.100.59]
X-ClientProxiedBy: HE1PR0802CA0015.eurprd08.prod.outlook.com (2603:10a6:3:bd::25) To AM4PR07MB3426.eurprd07.prod.outlook.com (2603:10a6:205:b::11)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 12188cac-d2e3-496f-ead4-08d4fb876f0b
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM4PR07MB3426;
X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB3426; 3:DzZnE6QkEQwKR9XT8yrDtxMCYd1WmHwEDkTzyMU/NQ/CNri0MM+UHBC+Uq0Cuo2pDceQS8/daZ2cJ2Fa67D+Wxomj99XJZ14NZiF6D0KQ2xe6VHLI1hpaNSNHRh7s5K32K1j0O/z7iivHUCjz4WC+U5ZIhxItbuOVqHcrieOCKYj4dtm0+rC+Q2VVYLmngpCBjIFgjLE26IDFZj3B7b3j9+0GZZdEr0q3mFF+fK0qpcALQiEAd6UwP1A82KrrKc4; 25:ljT5nSaOlu80CHm0qc5KT/GyxSIsTBwqUg5cYGDxHpSGsEwNpTGCPxxuVCVTPIOGg1TdFkx/jSO84nm6Exh07XvOn9MjQq1a+3p2zb4X4LFBCiBZ64JFCH64pkzzlK679Aisl8uouvgXaH9ltwuc47KnViIz6WXl/jiTmFrLPvUzTLKMPHKA7LNZit5x8fPS9Y8PSaNY6+yl9Inxa2BWQJWDwhnPOCoUWIozlrWwBDa29Xi7yu+mpVYy8GnQmGrX5YRMsKibWfAbQV76fdP6Tulzno36b3xzC/d0INGkisc6V6mwL3pFYhjkCqs8CkYl2OpID58I8JXdXKrgF+S36Q==; 31:gbXHwBdP1HwD3Ux825VmWNZhLzXXrm0G48hxvUCZSU++b32i0foV7vrfgq8KMtHGEVPV+j+zMSt0t42TfKhUaQWCe7iOMH1qe1gZocLDCOeEkNV99F/Jl7L0q8sFfMYWy4NWQyvUgDRo3VQj46EVwqIVhtpFvah3BNJgmf1ZA1++PGG6GnaKwbAak12gC7i+apmRiMY6b+JU9nCEx2DCCDy8GpcqWzTNmPvVIKcp+ok=
X-MS-TrafficTypeDiagnostic: AM4PR07MB3426:
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB3426; 20:5VbCkC0t9G9Rpq0RXFzWqvi93VvwC7LhzWPskCWp8bc9Iee7K6Mt+KqN6j34MGfwa0VZbNC8FRRNkH1CogyhLEF0a2PMBQ2KbhscoVPoazk9rkBY3rjsmXoDm+l8HebjpcyPN0vlyCDexPFDEO8f7UIqGgVrvfE/p3T2C8tfW4NKPP1ScDo5qTy9cnwVXjP7YKf1P8axv/nMsSk+ARhPcQ6bjFqTwOwkenChMmZXM/nG27g4rtGLLUaZ+YDPHUZvYB/4XnKhHz5tdxu8tL/1vv0Z0oK7ex6UmpxeqJum5zew+Qg1vP0mxIiSMgR4+cNtGiUV9c33gUxwITu4hwIuAtnk5C2JwKwGEgN/DrgijQzQYqxpzENYl10QXI3phVBkBIAmH64fNb7la7Vvme5pfWGJqSm7dlqLBoL8rrN+96DCaCO4U0zHCZu0rnMriYPKRnvObblkM2PLT84QydrIy7NQ0FWwuGhdCikRI4IOfBWmpDAGoDVPHKEdt6jW1TND; 4:tRofQkUnDKV3bg/YvG+9AZutJyc7dUHsbzCO3xV0aAER15LSviJmwNXkSRFx1rIdoKVm5tGJR9g3qlvGvmQ659EJ07jwXBorqS40rt8j6zXHVee0ck7HIOCrN/IRK89vfep37PQDtyh4vNr2QW6bJ89qUfwgTKoEyVJiRXa2Q0+xjbC774jPkMj5tGREL87TtG0oEfsKBsM0myl1/pfvsO9MMw/qXrrT5IaA0SSUxXMbsNvxsHwlNTIzP6JB8TIx7x87KWsK0f14doThcwQDvDn1UXmr0qY5t1o2Cyd3yXk=
X-Exchange-Antispam-Report-Test: UriScan:(37575265505322);
X-Microsoft-Antispam-PRVS: <AM4PR07MB342640A482F9BB3B3CEBF38DF06F0@AM4PR07MB3426.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6041248)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR07MB3426; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR07MB3426;
X-Forefront-PRVS: 0430FA5CB7
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(6049001)(39860400002)(376002)(346002)(199003)(189002)(24454002)(252514010)(377424004)(54356999)(50986999)(76176999)(101416001)(106356001)(105586002)(5660300001)(316002)(53546010)(65826007)(33646002)(68736007)(36756003)(3846002)(47776003)(66066001)(23746002)(6116002)(65806001)(65956001)(64126003)(16526017)(31686004)(53936002)(49976008)(478600001)(16576012)(25786009)(230700001)(110136004)(305945005)(4326008)(6246003)(7736002)(7350300001)(50466002)(86362001)(2906002)(6486002)(4001350100001)(97736004)(2950100002)(6666003)(81156014)(81166006)(31696002)(8676002)(189998001)(6916009)(83506001)(229853002)(78286006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR07MB3426; H:[159.107.197.117]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
Received-SPF: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; AM4PR07MB3426; 23:9vCDyypn7u823jNG8/ZD/7eNsQion9zcqpzfV?= =?Windows-1252?Q?Bar0U6Ljn9aqGptM8fM+Qbo+cb7suUD37gtN5y5ZxwL3httxd5O8I3FF?= =?Windows-1252?Q?nXgpijnrl8xOXN90DHlQGi1AMj/vSe304k+WMp71/jpm/G9AZNbIE1jl?= =?Windows-1252?Q?qXhepDTpebWAUSn2Jh4gv9oU7JrrWHDKxwlylEKSBgD7EjMOblbzbTjb?= =?Windows-1252?Q?xXhT0pYmChAH/jokgcyzSkwzrMYBAIrJEMlZwpZXJPNRBeZwNFpVWvem?= =?Windows-1252?Q?8Cw/OIu8ahKlKMJY5/RTvJUyIYFHkW/pHIMYWiY7hevXIa8Y1+Zd8HGS?= =?Windows-1252?Q?5uKSFsUmq/fcd/a166vONyMWu60OG4GJCNrdJEI3O6gsugzPbbqedcsE?= =?Windows-1252?Q?n/TWiSBOpaPjA1pYoV/okpHdUduF+dC2YeUFaGuiY2ZaMUxcHsODVqvR?= =?Windows-1252?Q?kcXeffXOlH1jTXiKhuvH/fUD3MgOwK5Sl/xmb/h6/S9pwHAUXnZ/dskv?= =?Windows-1252?Q?kzDNDpbV7dONf8CadtS689vzxsaqcXSbJL4GWqiApvjJWPOcWgE9FUDZ?= =?Windows-1252?Q?1Fppk4jnuXKqXmyZlUvic8tUrw6YRiuHhVh5B5kG+y3ot15HgMD5NHef?= =?Windows-1252?Q?aDZUzsSZaGS3YaCqCqZFpvoBjHBHv3XqCnYWfU1I8ZkbGawFA4y086su?= =?Windows-1252?Q?zUhRpwQzzb4IW6+iDfUabCvwfYCVV8oVpQujI0FFL52WpY5G6cvuYgZZ?= =?Windows-1252?Q?vows+TcHQOG1TbU8v82OG3KrQcBNdocEB4IkoSH+qJ5tOI3R6HR42smx?= =?Windows-1252?Q?l+JBApnJRXz+XbB58UiJKnGobET6bGDyzRcYXv+Vs3OXYkLPDbZqyPxM?= =?Windows-1252?Q?e3l7YXki121Wcc6oEurb24zwjeFQR/hByiFSv5gl9G9Qvq8Hhsw/8QE2?= =?Windows-1252?Q?m7DSPus1u9zRnk1pwUZdgG4yVDS/fPbjGwFSaZSjy88sYUnMxI/ZGdLK?= =?Windows-1252?Q?jhzsaZAo2o9nxTwiKEX1ONppFP6jOkbuFu0X2Ar/+g9mUPJ8o7sCkUoV?= =?Windows-1252?Q?WAe1mA2Rn802vR6oY2/HCwU+V5RphhILCAZrAo1BZK6MtrszSbzFHq7N?= =?Windows-1252?Q?KTpNBsECnvK3n+Mnq3LYZF46Zv4AOBJ9/kV+KX6CEwe5SSZ2SkHi4IAY?= =?Windows-1252?Q?W1jhTZh4wGFKzlZshPW8fdtbv73SNO8mpmWOnVD4yPK9SDDlm4E/KY3j?= =?Windows-1252?Q?DKekguM1C8/CDjaAOy4gZvAKOvhAVSt3ohmoYkSRe0Ed7ui3yxzjzkFE?= =?Windows-1252?Q?+0iamxNKEQu7vJV5yyxmeTXAg6660aXlP6h2ybF9Vx8bTR/63q3AVGUk?= =?Windows-1252?Q?fKihCryu4eXQQSyvF/HIVyIU2NXvyDuEaRSAozNNDKxU86uVvfg3zY3s?= =?Windows-1252?Q?EXYmJnqq5bEgRn7wP7/jPDcLyuj2PcreqVqlpThqN7gHwFV3OcazTx35?= =?Windows-1252?Q?8OwlW72GvmWuBZp+dOu7WP0pJHUOYVnKexJwR8V3hn4tTbcHz6iHDz+F?= =?Windows-1252?Q?FcCCYu/Dm1UhX/t3aPTMTi5FhlQeFn/0sSIR3GEUIWHcu5+plTTP9eSM?= =?Windows-1252?Q?Y4pQZfMPGzJr+Stmafs5eQ=3D?=
X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB3426; 6:LwzJ6DqRqGZXM6iFPl/T21RaBhrNxVZ52qDGLiS37ZhJZvRsKaPNA+RDCa1thE0lQ6dS2/0JrpIzOmLFbcEJhBLRS8hID76pppqlWpWYyAH9bEjuDuPOzBVs1O2lwXBW7/IwJVrHDueTsFP+UqYiM4otzd31cKlygXhhbMsIvu1SbkDjp/35yXYl+c2cpAcutae2GLbFiT/ViWJjMPNXD2DU587L6LogFhGXHLHZ1bXOhJsVmFptOHFHHVvN8rqETSzPG1hX3GjD+Vco/pdSE9mhIChKh5oNZfKY5DjH7zsOrdQmFai+7kn0+DSJHtcs4A9XfvMj6mXwkpX0jhL/XA==; 5:fTxWAwrNzVApy08/Q/danw1Zowloi82tsbttyLhJ6nb05tZN2MCveiWu1a+wkK5CqFHtWiqE9dVAfrJKbnkKMoUGV5JngtCx5Izv2fM0LWCC/b0yMIC+nMA9WuYTzjV8GdpOS/T4Qji7oeFCvZmDOg==; 24:XTLBSNA8Ovx3lAJfQYYFfAcMw+vTF/cRVv3dGiWuLNPT2GCTDLY9jFZaje498GfBa3CDIjrGH+oL+PBYOx+qfP02qEYgZCr0kxQKIOOXAGE=; 7:JoBZkcVBeZUluXTwcmv9k539nZq7h/LcbvkgiG5zcX9rytQMpOmkWXhgMlPRdTPgjjbVu5l6HWxwOCXmVgpgrbCV4rFmdaGvP+9R5hKN2bLS8UfgtpUZPnThIKDU7TyTMFZ2i9uGVujOG8nXm0XuQw5oY8b/YPYl87Jfl2TW4+O6Xk4tnEVs/iW19aMLBUQgETQl5gvAIhDQ4cHIKHps5HIVPFgbUNE/C3mmZrrdVYM=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2017 15:44:06.5166 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB3426
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBIsWRmVeSWpSXmKPExsUyM2K7uu6JxbsiDS6tV7To7n7GbjH/YiOr A5PHkiU/mTw2/lrMEsAUxWWTkpqTWZZapG+XwJXRfKus4IZAxZ9HS9kbGLt4uxg5OSQETCR+ Xu5i6WLk4hASOMIo8XjReSYI5wSjxKHPz1hBHBaBXmaJjp9zmSEybUwS7979Zeti5OAQFtCU 6LlrDDJKREBV4snOtSwgtpBAqcSfc9PYQGxmAVGJ9RcvMYHYbAJGElP7z4PV8ArYS/xfdY8R xGYB6t2yYicriC0qECPRsuQDI0SNoMTJmU/A6jkFHCR+P9vKDLKWGaj3wdYyiPHyEtvfzmGG +EZB4vrm62DfSAhMY5SYe/Y0G8Q9GhIPL/xlhSiSlTh6dg4LhO0rsfTwVWaIhstMEhMeH4Jy GtglZkzZA7ZNQkBL4vp7RZAGRoE4iZ1rFrJC1Dxhkzjcfo4dYpKVxOtf3xkh7GyJ1sPToAad ZpWY/fw6VJGMxMdfDxkhEqvZJM7++cU+gVFzFpJXZyG8NwvJewsYmVcxihanFhfnphsZ66UW ZSYXF+fn6eWllmxiBKaHg1t+6+5gXP3a8RCjAAejEg+v4axdkUKsiWXFlbmHGCU4mJVEeF0n AoV4UxIrq1KL8uOLSnNSiw8xSnOwKInzOuy7ECEkkJ5YkpqdmlqQWgSTZeLglGpgNFe5U2x0 tFL4yOUpdRbKJkKH7M94Z4ecN/05caGH9FeThA8i/6T+Phd4P3NRCFfC6zfvf6usVV4+736g xIlT7qW5l08/b3eLKzTN+13JotaQdaYmdMlpw73tL0sXr3idq3lKWFDw8uE4cdO/mtsVLr9r 3VB/6OJubRbzmT0X7RZvPrc/euV6TiWW4oxEQy3mouJEAAY1MDQLAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/VwpA8KhXnuHwMAgZfxOakZ7gvk4>
Subject: Re: [netmod] Comments on NMDA-04
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Sep 2017 15:44:12 -0000

See below !


On 2017-09-14 16:32, Martin Bjorklund wrote:

>> CH 4.4.)  "Validation is performed on the contents of <intended>."
>> This to me means that default data is not considered at validation
> Note that RFC 7950, section 6.4.1, says:
>
>     In the accessible tree, all leafs and leaf-lists with default values
>     in use exist (see Sections 7.6.1 and 7.7.2).
>
> So defaults are taken into account when intended is validated.
BALAZS: Yes the two seem to contradict each other. This can be 
understood in your way, however the current text is not clear enough. I 
would add:
Validation is performed on the contents of <intended> (EXTENDED WITH 
DEFAULT CONFIGURATION).
>> which would be a backwards incompatible change. Also if validation
>> does not consider system configured data that would allow cases like
>> multiple interfaces named lo0. One from <intended> one from system
>> configuration. IMHO while it is OK to violate uniqueness because of
>> remnant data, the above violation of uniqueness seems a bad idea.
> If your system adds data to <running>, or to <intended>, it will be
> validated.
>
>> Ch. 4.7) Is it allowed to violate uniqueness of key values? IMHO it
>> should not be.
> Agreed.  Note that the draft explicitly lists the constraints that can
> be violated, and uniqueness of keys is not listed.
BALAZS: If that is the intent I would propose to explicitly state it. 
For me it was non-trivial.
Can a a choice statement be violated? Having to existing branches at the 
same time? It seems a semantic constraint to me. IMHO yes.
Can an if-feature be violated? If  support has just changed and we have 
some remnant config, I can very well imagine it violated.

Also here could you change
If a node in  <operational> does not meet the syntactic constraints then 
it cannot   be returned
to
If a node in  <operational> does not meet the syntactic constraints then 
it MUST NOT be returned
> /martin

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com