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

Robert Varga <nite@hq.sk> Tue, 05 May 2020 09:25 UTC

Return-Path: <nite@hq.sk>
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 8D2173A0400 for <netmod@ietfa.amsl.com>; Tue, 5 May 2020 02:25:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=hq.sk
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 pIjheusqcybH for <netmod@ietfa.amsl.com>; Tue, 5 May 2020 02:25:09 -0700 (PDT)
Received: from mail.hq.sk (hq.sk [81.89.59.181]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 260F13A03FE for <netmod@ietf.org>; Tue, 5 May 2020 02:25:08 -0700 (PDT)
Received: from nitebug.nitenet.local (chello085216197060.chello.sk [85.216.197.60]) by mail.hq.sk (Postfix) with ESMTPSA id B6CAE243975; Tue, 5 May 2020 11:25:06 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hq.sk; s=mail; t=1588670706; bh=lvvu1BHaFlblS+l6/926v8wF8hT4NpcQ+S+N73v9coA=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=hLyXbay5hVIUP3MDTYLMmNhrAwQ+ucoVDmMo/YST6zwlJ9IrAU5gFtJO8KvmYwLhA C2mLbooE75EaVaCwKO+KISPCZJTRsvjwJU4wfA5vALpERyF/UesqY57XxxUwnSNlW7 /wGUuud21g6ecyfeJormuaLAbCAt/pAgf/HMWcbA=
To: Martin Björklund <mbj+ietf@4668.se>, chopps@chopps.org
Cc: netmod@ietf.org
References: <AE95765B-0561-45DC-A4A8-E8B3BCE4BB12@cisco.com> <DM5PR08MB263359FB2993EC569444A4539BAA0@DM5PR08MB2633.namprd08.prod.outlook.com> <0533F71D-C017-40A5-B953-21FFF9CBD1FB@chopps.org> <20200505.110011.1423220937314479731.id@4668.se>
From: Robert Varga <nite@hq.sk>
Message-ID: <3756dc0d-1e56-d001-08d7-d0c347a6f107@hq.sk>
Date: Tue, 05 May 2020 11:25:01 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <20200505.110011.1423220937314479731.id@4668.se>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="6TMsYxfXqBugEY0iBRKSsG6P539HkgEkM"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/bg2zAABZ89Hdrr14iEprKdFDEtE>
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 09:25:12 -0000

On 05/05/2020 11:00, 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.

Yeah, and we could introduce 'operation' as a generalized concept and
have rpc/action be just syntactic aliases for it in yang-next... :)

Regards,
Robert