Re: [netmod] Action and RPC statements
Kent Watsen <kwatsen@juniper.net> Tue, 31 October 2017 15:41 UTC
Return-Path: <kwatsen@juniper.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 E735313F8F1 for <netmod@ietfa.amsl.com>; Tue, 31 Oct 2017 08:41:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level:
X-Spam-Status: No, score=-2.021 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=juniper.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 Ch3RVLExg3B9 for <netmod@ietfa.amsl.com>; Tue, 31 Oct 2017 08:41:06 -0700 (PDT)
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0112.outbound.protection.outlook.com [104.47.38.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C536E13F88C for <netmod@ietf.org>; Tue, 31 Oct 2017 08:35:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=hvJ8Ck2e+RJcVz1HfJ16CoAdPp77WoEzrUESLi++640=; b=OJeKC8hhIw98ioIdBBMW3fPjioIXnn4jNxzE+ATLD7SvxJj9Fo1YAi/3SS3TjtCw62MCaHmn3YvsC1s/s5cMjb/yVZ6wUcATVuY2nJfUWsHbEPCvgLs9b1PsODoGRq2OjfTEZPUCkn+LIBsXRbWp2sM68OLLasmcfzDNbigXJTY=
Received: from BLUPR05MB275.namprd05.prod.outlook.com (10.141.22.149) by BLUPR05MB275.namprd05.prod.outlook.com (10.141.22.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.4; Tue, 31 Oct 2017 15:35:38 +0000
Received: from BLUPR05MB275.namprd05.prod.outlook.com ([10.141.22.149]) by BLUPR05MB275.namprd05.prod.outlook.com ([10.141.22.149]) with mapi id 15.20.0197.011; Tue, 31 Oct 2017 15:35:38 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, "andy@yumaworks.com" <andy@yumaworks.com>, "netmod@ietf.org" <netmod@ietf.org>, Randy Presuhn <randy_presuhn@alumni.stanford.edu>
Thread-Topic: [netmod] Action and RPC statements
Thread-Index: AQHTTv5T3zX4hwBy8UGdfgw5IpFaUKL+BxkA///TqQA=
Date: Tue, 31 Oct 2017 15:35:38 +0000
Message-ID: <BA876AD7-A506-4D11-8F41-72D362BDB033@juniper.net>
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> <9645422a-05a2-9d24-e50e-799d964f021f@cisco.com>
In-Reply-To: <9645422a-05a2-9d24-e50e-799d964f021f@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kwatsen@juniper.net;
x-originating-ip: [66.129.241.10]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BLUPR05MB275; 6:zH0xWR7AHyu65Mi+G9mdi5mA06enod9SADjsmuxFrDDCFhXtQrdDqd5w4AOhwVb/9u8g1Cd1yTnXNBD+ofiWV1pM6AG5y0hPi4pn5jFtGb7pla8qqoVyChcoNsm6+0tocr3mnU9LNKQU8DvkzJ76J9p0ix8FaQglGTRkluAfL3TCW6KVBzjy6xUFnwiK3BLOX2ayRcx0lLlN/J0fTS93PcPZw3d4m4RWy7Tp9/CbAk+ulcMy77N+9Uto3M2lxLyMBMkLMfYmFSvwr3aoqH0rvez/mxiq16jFag7LaIIyqodifAilPdh9kTYrKmJhFrEg+dr1YpaBSONzYQ8jg/btO+7RUILIEPDVrALx/bg4tJE=; 5:ejbtXHTyiC5+vZU8rQXB06ktgxQy9m2mtbg40NoOAy9JaQzQPGOIKJymR6RhX4bCyo61qfElhOmjaJwtBOv24tHCBaKl2+JcNUf39L8PagcL3NI9xFhSszT9ETsdWGB9NU5zjULK90xNd7fyylNFFIFLLZD98A2Y/9RNOGs9l6Y=; 24:ERNDXlYoUH9BwOKorbVxJ8nKl/xxEgtouXNLT91zOS2DVlmEA7VnOyGPOsl80tWk7u1dS9KSyCPmlTRDIqLBFA+MtEvVS8CC+xPhbs2lZX8=; 7:hdpBvAdd/sSZdgxD2YexlJnWF+B2UEf1ojoBXgSM0dylAo6qi+c2R7mXIo66VcP2zPApHTAEEA0M+vXh3bjpZEOlZIwRsi9mUT0VOLpq3C6WmSlAwA30Erdk6ikV4FnhRf/f+LcsM04VFqhxmoeWT7QJH/K0E40v63R42k3tOoEcEdmhOD3MbUXwboJZ6WGJ9mOAnQWyqyAHxonG8TkfHoYS12PdriTzPSZqs3Tp3C5I4Iph27nA0ZHSeTdMm4up
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: c5ddfb0e-74aa-4fb3-c468-08d52075098e
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(48565401081)(2017052603199); SRVR:BLUPR05MB275;
x-ms-traffictypediagnostic: BLUPR05MB275:
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-microsoft-antispam-prvs: <BLUPR05MB27524397D7DA24FB1744928A55E0@BLUPR05MB275.namprd05.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(3231020)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123558100)(20161123560025)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR05MB275; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR05MB275;
x-forefront-prvs: 04772EA191
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(346002)(376002)(39860400002)(199003)(76104003)(189002)(7736002)(106356001)(110136005)(105586002)(50986999)(2906002)(83506002)(82746002)(66066001)(14454004)(93886005)(8676002)(86362001)(58126008)(316002)(77096006)(53936002)(3280700002)(54356999)(3660700001)(76176999)(25786009)(99286003)(81166006)(2171002)(478600001)(81156014)(6116002)(3846002)(102836003)(5660300001)(8936002)(2950100002)(229853002)(6512007)(6246003)(101416001)(189998001)(6506006)(97736004)(6486002)(2900100001)(83716003)(6436002)(68736007)(2501003)(36756003)(305945005)(33656002)(2201001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR05MB275; H:BLUPR05MB275.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <A535C86BFAD5674F8FF85F3626CD49D5@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: c5ddfb0e-74aa-4fb3-c468-08d52075098e
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2017 15:35:38.5000 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR05MB275
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/tQRBd2S-EKk-XWxdCzwKfjb3rGg>
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 15:41:13 -0000
Hi Robert, > 6.2 Invocation of RPC Operations > > This section updates section 7.14 of RFC 7950. > > RPCs MAY be defined as affecting the contents of a specific datastore, > any configuration datastore (e.g., <edit-config>), or any datastore > (e.g., <get-data>). The RPC definition specifies how the RPC input > data is interpreted by the server. s/MAY/may/? - is this draft providing for this, or should it come from e.g., RFC 7950? > RPCs definitions that do not explicitly state an affected > datastore(s) modify the general operational state of the server. > Hence, if any RPC input data relates to data node instances then > those would generally resolve to data node instances in the > <operational> data tree. I reordered first sentence, and added a comma to the second: RPCs modify the general operational state of the server, unless explicitly defined to affect other datastores. Hence, if any RPC input data relates to data node instances, then those would generally resolve to data node instances in the <operational> data tree. > 6.3 Invocation of Actions > > This section updates section 7.15 of RFC 7950. > > In YANG data models, the "action" statement may appear under "config > true" and "config false" schema nodes. While instances of both > schema nodes may appear in <operational>, instances of "config true" > schema nodes may also appear in other datastores. okay > Actions are always invoked on a data node instance that exist in the > <operational> data tree. The behavior defined by an action statement > is generally expected to affect the operational state of the server > rather than directly modifying the contents of any configuration > datastore. fixed plurality issue in first sentence, and removed wishy-washy language from the rest: Actions are always invoked on a data node instance that exists in the <operational> data tree. Action statements affect the operational state of the server. What do you think? Kent // contributor
- [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Martin Bjorklund
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Robert Wilton
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Robert Wilton
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Martin Bjorklund
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Martin Bjorklund
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Martin Bjorklund
- [netmod] Action and RPC statements [was Re: augme… Robert Wilton
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Robert Wilton
- Re: [netmod] Action and RPC statements [was Re: a… Randy Presuhn
- Re: [netmod] Action and RPC statements [was Re: a… Andy Bierman
- Re: [netmod] Action and RPC statements [was Re: a… Randy Presuhn
- Re: [netmod] Action and RPC statements Martin Bjorklund
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Kent Watsen
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Randy Presuhn
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Alexander Clemm
- Re: [netmod] Action and RPC statements Phil Shafer
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Alexander Clemm
- Re: [netmod] Action and RPC statements Alexander Clemm
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Phil Shafer
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Martin Bjorklund
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Martin Bjorklund
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- [netmod] Reset tags RPC [was Re: Action and RPC s… Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements t.petch