Re: [netmod] Action and RPC statements

Lou Berger <lberger@labn.net> Mon, 06 November 2017 18:46 UTC

Return-Path: <lberger@labn.net>
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 9BDD613FC17 for <netmod@ietfa.amsl.com>; Mon, 6 Nov 2017 10:46:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (768-bit key) header.d=labn.net
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 5UlWwJtrDNiy for <netmod@ietfa.amsl.com>; Mon, 6 Nov 2017 10:46:03 -0800 (PST)
Received: from gproxy5-pub.mail.unifiedlayer.com (gproxy5-pub.mail.unifiedlayer.com [67.222.38.55]) (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 E248413FBB4 for <netmod@ietf.org>; Mon, 6 Nov 2017 10:46:02 -0800 (PST)
Received: from cmgw3 (unknown [10.0.90.84]) by gproxy5.mail.unifiedlayer.com (Postfix) with ESMTP id 6E64C140722 for <netmod@ietf.org>; Mon, 6 Nov 2017 11:46:00 -0700 (MST)
Received: from box313.bluehost.com ([69.89.31.113]) by cmgw3 with id Wilw1w00V2SSUrH01ilzCZ; Mon, 06 Nov 2017 11:46:00 -0700
X-Authority-Analysis: v=2.2 cv=H76r+6Qi c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=h1BC+oY+fLhyFmnTBx92Jg==:17 a=IkcTkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=sC3jslCIGhcA:10 a=AUd_NHdVAAAA:8 a=48vgC7mUAAAA:8 a=DKfOpxZBoGsPWl3n6O0A:9 a=QEXdDO2ut3YA:10 a=w1C3t2QeGrPiZgrLijVG:22
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=labn.net; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:Date:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AXmoWS2zJ1mELhGo1GXhAnUw3QbgVvV3us65ZW8sBJ4=; b=SvK8MhbShU9nZPrdvpP5rRhRjD 3tGDUwysQdn01KbKl1+ewsangfArsyaGs81pa+qB7j9kDqkuMHqQJsemBRR0EBwqx5iEGqJmvKzks zS/pvHeluNiLo45MoqKof7UK9;
Received: from [172.58.185.143] (port=45762 helo=[IPV6:2607:fb90:651f:7cb3:0:45:9f72:9f01]) by box313.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from <lberger@labn.net>) id 1eBmPB-0018ft-6f; Mon, 06 Nov 2017 11:45:56 -0700
From: Lou Berger <lberger@labn.net>
To: Robert Wilton <rwilton@cisco.com>, netmod@ietf.org
Date: Mon, 06 Nov 2017 13:45:49 -0500
Message-ID: <15f92a517f0.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
In-Reply-To: <c3a41310-8389-bb1c-3db9-f701200b7069@cisco.com>
References: <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> <4dbcf0d6-a11a-e410-a958-32058914da53@labn.net> <20171106171707.hd535oyhpysnxtec@elstar.local> <dfb9c835-7f11-4d97-e5b8-0d81c926a366@labn.net> <c3a41310-8389-bb1c-3db9-f701200b7069@cisco.com>
User-Agent: AquaMail/1.11.0-568 (build: 101100004)
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - box313.bluehost.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - labn.net
X-BWhitelist: no
X-Source-IP: 172.58.185.143
X-Exim-ID: 1eBmPB-0018ft-6f
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: ([IPV6:2607:fb90:651f:7cb3:0:45:9f72:9f01]) [172.58.185.143]:45762
X-Source-Auth: lberger@labn.net
X-Email-Count: 1
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/5wFZKvww_hNb4N4v9vNVvTpWyv8>
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 18:46:04 -0000

Humm. I don't think this is how Chris is envisioning it. We can talk more 
next week when he presents.

Lou


On November 6, 2017 12:31:18 PM Robert Wilton <rwilton@cisco.com> wrote:

>
>
> On 06/11/2017 17:24, Lou Berger wrote:
>>
>> On 11/6/2017 12:17 PM, Juergen Schoenwaelder wrote:
>>> What is default content of a list? Where is this coming from?
>> Whatever the vendor chooses in their code, and perhaps what gets defined
>> in future model definitions...
> This is mixing up config and state:
>
> The device's default module tags wouldn't be in <running>, only in
> <operational>, [ and perhaps <intended>.]
>
> Only the clients configured modification to the module tags ends up in
> <running>.  This is merged with the system module tags, and then the
> resultant set end up in <operational>.
>
> Resetting the list to default is achieved by just deleting the list
> entry in <running>.  No special RPC is needed.
>
> Thanks,
> Rob
>
>> Lou
>>
>>> /js
>>>
>>> On Mon, Nov 06, 2017 at 12:12:30PM -0500, Lou Berger wrote:
>>>> What's the standard way to reset a list to a default (based on
>>>> implementation)?
>>>>
>>>> On 11/6/2017 12:02 PM, 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.
>>>>>
>>>>> /js
>>>>>
>>>> _______________________________________________
>>>> netmod mailing list
>>>> netmod@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/netmod
>> .
>>
>
>