Re: [netmod] Action and RPC statements

Randy Presuhn <randy_presuhn@alumni.stanford.edu> Tue, 31 October 2017 17:22 UTC

Return-Path: <randy_presuhn@alumni.stanford.edu>
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 5FC9D13F9FE for <netmod@ietfa.amsl.com>; Tue, 31 Oct 2017 10:22:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.18
X-Spam-Level:
X-Spam-Status: No, score=-3.18 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MISSING_HEADERS=1.021, 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
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 93Ifxr3iuqh5 for <netmod@ietfa.amsl.com>; Tue, 31 Oct 2017 10:22:49 -0700 (PDT)
Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E5D113F9F3 for <netmod@ietf.org>; Tue, 31 Oct 2017 10:22:49 -0700 (PDT)
Received: by mail-pf0-f181.google.com with SMTP id n89so14270948pfk.11 for <netmod@ietf.org>; Tue, 31 Oct 2017 10:22:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+68nnJ8T8r9Fu2UtikMVHj7yS6DPv4og8z8J5oBovEs=; b=ZTlBN8THJLmCDLwYtdlOmEX+so8XCVyiB/c6vT4/baJnoa60zgf/gI5BlJ4HxR/NWZ Et3ieX/3IbMmtGSkVhmBH2g6Fc283D/gujYszMKTIGTkEsPMyZmVNGEluhf6Tp7rpaCl QTH6NyZfilqcWQF59hQyGy8FYEYnQoZ3H6euzRCL64K45HAcB/EnHP8OnA/6D1mGmZdJ K3IVBjthiTzP0y0ygWRaV7FHBgkRyFJVXMNN5gxVei9TbLoHEY557wWF7hhffKht9ESB BNep5MRRVnMcVNE4PlQAtAyzdtsNJsW4VAwyb1zPESs5/VnOHFSA3+0JM8Y/Xu9rCq+L 5tLA==
X-Gm-Message-State: AMCzsaVOOeIOAgEhRD1cV8U3HYb1aF+ccB2/NAKVSmZhndZsku1elh1x mIRnZvzLjQ8pNyTthbZX2nMFI1qSjdE=
X-Google-Smtp-Source: ABhQp+SdsLXtoxfMO4fRhM7XIbSigdR8LENKYQ08K29li0THx2ecGBoqjDnDG43KpnZY98Qpm9dwEQ==
X-Received: by 10.99.163.97 with SMTP id v33mr2435218pgn.206.1509470568242; Tue, 31 Oct 2017 10:22:48 -0700 (PDT)
Received: from [192.168.1.102] (c-24-130-218-233.hsd1.ca.comcast.net. [24.130.218.233]) by smtp.gmail.com with ESMTPSA id o9sm4840356pfk.162.2017.10.31.10.22.46 for <netmod@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Oct 2017 10:22:47 -0700 (PDT)
Cc: "netmod@ietf.org" <netmod@ietf.org>
References: <4d2030ca-3d75-72db-1afd-76a8597b615c@cisco.com> <c544a19e-2534-9355-002e-18affd12ea5a@alumni.stanford.edu> <CABCOCHQdmMYObMBCxP=qWuH3RdCRi9q7Y6G0VsSnDeyg2qLc4w@mail.gmail.com> <20171027.103341.1048835221774842137.mbj@tail-f.com> <CABCOCHTxw4Mx3qp84tfE5pW6Hsyyjxq4wXSi8DRTazmxDVgBaA@mail.gmail.com>
From: Randy Presuhn <randy_presuhn@alumni.stanford.edu>
Message-ID: <21b5f7ec-936d-c729-1ada-fdb757e1ccd4@alumni.stanford.edu>
Date: Tue, 31 Oct 2017 10:22:49 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <CABCOCHTxw4Mx3qp84tfE5pW6Hsyyjxq4wXSi8DRTazmxDVgBaA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/IGMg6k5kId-O7Qd4SNJRNbgf18E>
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: Tue, 31 Oct 2017 17:22:50 -0000

Hi -

On 10/31/2017 10:14 AM, Andy Bierman wrote:
...
> The system side effects are irrelevant, but both the same for rpc and 
> action.

Knowing what the system side effects are is *ESSENTIAL* if these
things are to be of any use operationally.

> The only issues relevant to YANG are:
>     - datastore used to evaluate action ancestor nodes
>     - datastore used to evaluate input parameter leafref, must, when
>     - datastore used to evaluate output parameter leafref, must, when
> 
> 
> These properties cannot be modified by description-stmt.
> Not now, not ever. Not for rpc. Not for action.
> 
> It is irrelevant to NMDA whether the rpc or action modifies a datastore,
> starts a playlist on a jukebox, or makes some toast.

But from the an operational or interoperabilty perspective,
that information is crucial.

Randy