Re: [netmod] Action and RPC statements

Robert Wilton <rwilton@cisco.com> Mon, 06 November 2017 17:20 UTC

Return-Path: <rwilton@cisco.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 6E0A413FB1D for <netmod@ietfa.amsl.com>; Mon, 6 Nov 2017 09:20:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 Yck00t9uC3zS for <netmod@ietfa.amsl.com>; Mon, 6 Nov 2017 09:20:25 -0800 (PST)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D179D13FAF7 for <netmod@ietf.org>; Mon, 6 Nov 2017 09:20:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1112; q=dns/txt; s=iport; t=1509988825; x=1511198425; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=k1hCuIEJS+NU8otuk6PurEfNpWmVOv/1wE3Xeegx2QM=; b=UWwAB3wSNtITVQyes6L6VUbeJkMKtlO4IbRFS+091OHlb+SAcJjpKM1m nnfIsSVrhOtwkWBN0hSGUjTCd31ot574vTmLXwj1gXdUkLkWys3VK5mIP HNvdSxcPLRxA73IH6DzSZjHBQN5oKjjwlX7EWVf4X6watH1TNYDjehEIS c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CMAgB3mQBa/xbLJq1cGQEBAQEBAQEBAQEBBwEBAQEBhQaEJIsTj38mllaCAQqFOwKFKhUBAQEBAQEBAQFrKIUfAQUjDwEFUQsOCgICJgICVwYBDAgBAReKCKsTgieLDAEBAQEBAQEDAQEBAQEBIoEPgh+DWoISC4J2hHqDLIJiBaIOlHyLeIc8jimHbYE5NSKBbDQhCB0Vgy6EXkGMLAEBAQ
X-IronPort-AV: E=Sophos;i="5.44,353,1505779200"; d="scan'208";a="50015"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2017 17:20:22 +0000
Received: from [10.63.23.76] (dhcp-ensft1-uk-vla370-10-63-23-76.cisco.com [10.63.23.76]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id vA6HKM20027042; Mon, 6 Nov 2017 17:20:22 GMT
To: Lou Berger <lberger@labn.net>, netmod@ietf.org
References: <CABCOCHS+g45H7P8nZ7tUQeW5Q=xXQRm7kQJWwsfG8PrR-DERSQ@mail.gmail.com> <20171106.141924.996087392255055625.mbj@tail-f.com> <15f9188b728.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <20171106.154913.1683303692062360930.mbj@tail-f.com> <15f91db9dd0.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <5c1d29df-4cdf-4972-5a11-0a111177bf93@cisco.com> <15f92077478.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <f4cf2723-af37-c0ba-be28-ccb635ee9b4a@cisco.com> <a6eac745-0784-daa2-103a-1c4b28990f51@labn.net> <20171106170247.l4tmjglageyakqgx@elstar.local>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <1331a06a-4feb-6278-aad3-f43932f649d6@cisco.com>
Date: Mon, 06 Nov 2017 17:20:22 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <20171106170247.l4tmjglageyakqgx@elstar.local>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/f-wnOd0ULwCfNkqP-zbbxyhsa6k>
Subject: Re: [netmod] Action and RPC statements
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: Mon, 06 Nov 2017 17:20:27 -0000


On 06/11/2017 17:02, Juergen Schoenwaelder wrote:
> On Mon, Nov 06, 2017 at 11:48:23AM -0500, Lou Berger wrote:
>> The tags draft has an RPC to 'reset to default state'.  I could see
>> wanting the reset to be persistent or not depending on actual usage...
>>
> In general, I think we love the usage of standard operations like
> edit-config to manipulate configuration datastores and I think we
> dislike custom operations that manipulate configuration datastores.
Yes.

I also dislike the idea of client managed persistent data that is not 
configuration.

E.g. I think that the subscriptions draft has this right:  It has 
configurable subscriptions, that are persistent; and rpc based dynamic 
subscriptions, that are not persistent.

If the tags draft defined RPCs to modify the module tags in a non 
persistent way then that would be OK with me (if this is actually 
useful), it is just that those actions/rpcs would end up only acting 
against the data in <operational>, and hence I think solution A would 
actually be sufficient for this case.

Thanks,
Rob


>
> /js
>