[netmod] some comments on netmod-base-notification-nmda (validation after commit response, etc)

"Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com> Tue, 06 November 2018 03:55 UTC

Return-Path: <jason.sterne@nokia.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 CAAAF130DCC for <netmod@ietfa.amsl.com>; Mon, 5 Nov 2018 19:55:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.37
X-Spam-Level:
X-Spam-Status: No, score=-2.37 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.47, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.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 tZM1NuWToW2d for <netmod@ietfa.amsl.com>; Mon, 5 Nov 2018 19:55:56 -0800 (PST)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on0723.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::723]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA754127333 for <netmod@ietf.org>; Mon, 5 Nov 2018 19:55:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/J4xTyh7EgNQldV7JCRGOXyqmCTJfiU4w4WuKvSKZRQ=; b=UadseSCpxt3qX23H2BvwPuWZ4leiD5Qt3lG0HRfcmj0E81QfyJP45E873fsF4yUnSTp/qfYP9Svd8UZsYthgPxa9XJzi7gqM7R6xES/NjLSoqueBTrwC2WBUWcvkUx4cciRp0Q9PcAclqSkj4U+/a84UlqpxoqyCZA1qEUx09nc=
Received: from VI1PR07MB3981.eurprd07.prod.outlook.com (52.134.28.141) by VI1PR07MB4863.eurprd07.prod.outlook.com (20.177.63.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.31; Tue, 6 Nov 2018 03:55:53 +0000
Received: from VI1PR07MB3981.eurprd07.prod.outlook.com ([fe80::a8a1:3ccb:986d:dad3]) by VI1PR07MB3981.eurprd07.prod.outlook.com ([fe80::a8a1:3ccb:986d:dad3%5]) with mapi id 15.20.1294.032; Tue, 6 Nov 2018 03:55:53 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: some comments on netmod-base-notification-nmda (validation after commit response, etc)
Thread-Index: AdR1hJbSr1CKgd7cQqKcqrrZWsXXDA==
Date: Tue, 06 Nov 2018 03:55:53 +0000
Message-ID: <VI1PR07MB3981B3CF71B4216217DF41689BCB0@VI1PR07MB3981.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [2001:67c:1232:144:613e:dfc0:18ea:ee8f]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB4863; 6:IxC8XwxemcrFJzjSiE2RLXsRsDhaOPt1ND1oLb9octqX8AnkP7I9uJZe0RAuR90/sLseElxGr3MQU65vzeiomJ5SNZDot72IKdjkXJHun85tO7aBXJsIQT3GJ3cC/IYmeQWnCFhjBO2JM/B4Hw/cQGc2Ok875ODo1Y3hiQ5PA0m3B/vWd9++UHJ4KRW1VrDJ0JpDlTjRe96ikKtnhALqWn0DqhTnuyTL+SDbjPBcFNNU7Q/ovMZ9swM22N/CyZiv65/qA/ZjK+taWBUdqJvcLe+I1ZklvMmLfkwqkQ9LUXAlBJcFhAJ3mcGXXaT5utGmeDcHkd7aQudPRyB5oDA+wXczWep5HjpNdK7Xp0wxeNUtnHsAPEO2VkPPrnBiJQ6CDm7+akCk1K5kTGaG9vWd/CMIkGEHJgt/fN0+lbCygetSVDNAdVArRyemeAmHuGKVJVTfWeMaLyy6a8QI0jc+yQ==; 5:Dt0Kf6ce4CCRZZvv35TeGF+2h9uSSeA9ZElY3UO6rUKISol5OFFqI1EivQsXei7anL8U8Ds9+R1uW8OeImZoKIfwFBUqDPCiyAeyB/UeEzMA5vv+bMIXbXRS+wFKTYEkxY0rQnP8hPErdgDFTHwFafdjMwPSCfv3FAmTG8JMklU=; 7:AKbTv6/ZIwd+fkjsKsWYOHH13yXon/yj8NMhScWSBVEFCAjE4xcI36DQklX8a4vJvk4q0JS5ijle9nE0ouhqUBa4mT74SlaFyK8+0/nT+SRAnfDukZAjocqNW56fl8y3pz9Q3+rRozjGIwvjibRqlQ==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: bcc2d3bb-6d71-4028-6d65-08d6439bbf86
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR07MB4863;
x-ms-traffictypediagnostic: VI1PR07MB4863:
x-microsoft-antispam-prvs: <VI1PR07MB4863550F8346EFC20FC13FA59BCB0@VI1PR07MB4863.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(21748063052155)(28532068793085)(190501279198761)(227612066756510);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231382)(11241501184)(806099)(944501410)(52105095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR07MB4863; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB4863;
x-forefront-prvs: 0848C1A6AA
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(396003)(39860400002)(136003)(376002)(346002)(199004)(189003)(186003)(97736004)(5660300001)(33656002)(25786009)(7110500001)(2906002)(316002)(478600001)(2501003)(7736002)(74316002)(790700001)(15650500001)(2420400007)(6116002)(46003)(10710500007)(476003)(86362001)(7696005)(6346003)(102836004)(6506007)(68736007)(14454004)(486006)(5640700003)(99286004)(105586002)(6436002)(9326002)(55016002)(9686003)(54896002)(6306002)(81156014)(81166006)(1730700003)(8676002)(53936002)(6916009)(256004)(2900100001)(2351001)(71190400001)(71200400001)(106356001)(8936002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB4863; H:VI1PR07MB3981.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=jason.sterne@nokia.com;
x-microsoft-antispam-message-info: jagnb/W8Lc6wI0MDQ+UTqaQWs4nuPhl1lwhW4I8xnrU7Y/3al7poh8sZIvt3qB6Wv8sskS4lDlZiaBig1dpd1Wi11BzwvPmAbptJTpWc6DcGnCMXMbi4aIXbxswCZrZLBtMjJZIEJGbit73LU6dH7JW8yDEmL+3E95+Jh/ECm6hJACvarC6J0580BncG7Yj/e957/4BX71LR+QZNW6RLQs9qqrxuSYGwR7vA29QhaoprzZ7hpU/HRyRBidV1ctePIky6ABncnAGQA9njEedR+JFyLfqhXUQ4W+T2GXV3ltdyYvUPjZzVWdoLusKzVxwtSKFBQPFmnHNJmb4wooHgSfTp5ALrazUh/K/FH7mKs+4=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB3981B3CF71B4216217DF41689BCB0VI1PR07MB3981eurp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bcc2d3bb-6d71-4028-6d65-08d6439bbf86
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2018 03:55:53.0322 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB4863
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/j9cMuWPS-wroSm2xMhR21nfgB90>
Subject: [netmod] some comments on netmod-base-notification-nmda (validation after commit response, etc)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 06 Nov 2018 03:55:59 -0000

Hello,

The draft mentions that "It is possible that some configuration could not be applied to <operational> due to either validation issues, or missing resource etc."

But wouldn't validation errors cause an error response to the commit RPC? I'm not clear why there would be validation later in the commit/apply process that wasn't part of the decision to reply OK/NOK to the commit.

The draft also implies that the process of moving config from running -> intended -> operational is decoupled from the application of a candidate -> running.
- Do systems reply OK/NOK to a commit before config is moved from running->intended->operational ?
- If so, then maybe it isn't correct to have a username in the notifications. A specific user/session did the commit, but then if the commit process ends after candidate->running (i.e. the reply happens at that point), then isn't it really the system moving the config from running->intended->operational?

Jason