Re: [netmod] YANG action not allowed at root?

Martin Björklund <mbj+ietf@4668.se> Tue, 05 May 2020 10:31 UTC

Return-Path: <mbj+ietf@4668.se>
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 2514F3A15F8 for <netmod@ietfa.amsl.com>; Tue, 5 May 2020 03:31:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.923
X-Spam-Level:
X-Spam-Status: No, score=-0.923 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_NAKED_TO_NUMERO=1.177, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=4668.se header.b=IjphX8JA; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=4Va6FVpq
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 JHkAMmeLQBEX for <netmod@ietfa.amsl.com>; Tue, 5 May 2020 03:31:03 -0700 (PDT)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3EE93A0745 for <netmod@ietf.org>; Tue, 5 May 2020 03:31:02 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 22DE95C00C2; Tue, 5 May 2020 06:31:02 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 05 May 2020 06:31:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=date :message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm1; bh= fPHBwljiNydVRqmBp+w82rc4s35O0P/sZh5hIw2I3M4=; b=IjphX8JAETVbPGb3 X38oVhNuCMoTzLHqDgR6S/vvPaaJXTYlAhQ8jAea1YW2eXi46jAlDVTJc5AuNRL6 fuGqaMYKhAjgyHl3yPc9p8S0UZyLioYS30QdOEFFubBspCc8oyqS71omQTVyR3W7 ZRB5rNl2HUyjMnji+3fnyHreWcd5I0Hp2qJK4j2p9A6cWutNU3TjJj+Ui5CbrR+N LRarJr3m9MYnK0tjd1BRzG4InTB08qtjARKFMr+ixIDLG2sWnYkA/2slS1XK3qe0 11oelSyLPFajva0SAwG/2td5k2aZqQn9Y/EIcqbriv5xIZhJPHNrjUupkjwngBzD rrKoew==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=fPHBwljiNydVRqmBp+w82rc4s35O0P/sZh5hIw2I3 M4=; b=4Va6FVpqsNbXY9zd2c+oDZDArQySsJtQJEiCwQOTJN3S0flcElzJA+Pqo D3p53xioF0791AylCKVKF/9ptAQwS+o+njq7Cke6UMdxhgcweBooj0YPydxEx42w hpuqRQJpAS3ZXkZ5WzNhJdA5wLiScObXBlmN38oQ7DtKzJHqnjsiEAS1CXQ+N8MF N1esyqy4XXjjqQHt3dclMiX/Sns3Q7tA3kn6a1jrk72OU3pZHEBJ+KcIvH+S07VY x+04bDp5y3+tmsQdVfpEAXiwe+x2TcUA7y9hcXLXDq+/YokWsR9cF6JX+u/FGE6+ 8khgU+2i6bBHBUIo2gSDYkud+mjZg==
X-ME-Sender: <xms:ZUCxXjoRVZH_y_sdHVhYMR-_pkszxHGyQyoqqAamOYazPNcxl3nx3Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeeigddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffkvffuhfgjfhfogggtgfesthhqre dtredtudenucfhrhhomhepofgrrhhtihhnuceujhpnrhhklhhunhguuceomhgsjhdoihgv thhfseegieeikedrshgvqeenucggtffrrghtthgvrhhnpeduieevjeduffdvvedugedvud ehiedvleefhfeuheffjeeuvdegiedvffejleevheenucffohhmrghinhepjhgrtghosghs qdhunhhivhgvrhhsihhthidruggvpdhivghtfhdrohhrghenucfkphepudehkedrudejge drgedrgeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepmhgsjhdoihgvthhfseegieeikedrshgv
X-ME-Proxy: <xmx:ZUCxXsrSs_wJWN6C3RI9VrmLLs6gbz1U51sP0fhWQaqptXZcbT6BUg> <xmx:ZUCxXofT0NXSCIk2UMAlFGnSjIk_DGRLxjE20KuoIq2RkQV8WQVbHA> <xmx:ZUCxXjRw29_LogPprmPX8ch7OYfEyPOr5JYR81E9cjLrKk4iR6Nt0w> <xmx:ZkCxXgVHlyZssuK2kUvultQkYCi31ZtsNNSHUO6S67vvJgABtw6u2g>
Received: from localhost (unknown [158.174.4.44]) by mail.messagingengine.com (Postfix) with ESMTPA id B2498306601B; Tue, 5 May 2020 06:31:00 -0400 (EDT)
Date: Tue, 05 May 2020 12:30:59 +0200
Message-Id: <20200505.123059.820074872477970467.id@4668.se>
To: rwilton@cisco.com
Cc: j.schoenwaelder@jacobs-university.de, mbj+ietf@4668.se, netmod@ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <MN2PR11MB4366BC7498A95E848BBE9235B5A70@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <20200505.110011.1423220937314479731.id@4668.se> <20200505091752.wekn227cctxff7os@anna.jacobs.jacobs-university.de> <MN2PR11MB4366BC7498A95E848BBE9235B5A70@MN2PR11MB4366.namprd11.prod.outlook.com>
X-Mailer: Mew version 6.8 on Emacs 25.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/DqqSno1W7nkN1Ll0xodE_WS3orc>
Subject: Re: [netmod] YANG action not allowed at root?
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, 05 May 2020 10:31:05 -0000

"Rob Wilton (rwilton)" <rwilton@cisco.com> wrote:
> [As an individual contributor]
> 
> Is this something that we should try and improve in a future revision
> of YANG?
> 
> E.g., deprecating either rpc or action, and allow the other one to be
> specified more flexibly?  Looking at the encodings it might make more
> sense to make rpc more generic and deprecate action.

No.


/martin



> 
> Regards,
> Rob
> 
> 
> > -----Original Message-----
> > From: netmod <netmod-bounces@ietf.org> On Behalf Of Juergen
> > Schoenwaelder
> > Sent: 05 May 2020 10:18
> > To: Martin Björklund <mbj+ietf@4668.se>
> > Cc: netmod@ietf.org
> > Subject: Re: [netmod] YANG action not allowed at root?
> > 
> > On Tue, May 05, 2020 at 11:00:11AM +0200, Martin Björklund wrote:
> > > Hi,
> > >
> > > If we were to redo YANG, I would prefer to have a single statement
> > > "operation", either on the top-level, or tied to a node.
> > >
> > 
> > +1
> > 
> > /js
> > 
> > --
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
> > 
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod