Re: [netmod] Question on "bits" in YANG

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Sat, 27 February 2016 08:55 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5F321B382A for <netmod@ietfa.amsl.com>; Sat, 27 Feb 2016 00:55:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.856
X-Spam-Level:
X-Spam-Status: No, score=-3.856 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 hlYJOt5JOhfV for <netmod@ietfa.amsl.com>; Sat, 27 Feb 2016 00:55:09 -0800 (PST)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B204E1B3829 for <netmod@ietf.org>; Sat, 27 Feb 2016 00:55:09 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 627BF219F; Sat, 27 Feb 2016 09:55:07 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id kA-J1VHlbsu8; Sat, 27 Feb 2016 09:54:40 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Sat, 27 Feb 2016 09:55:05 +0100 (CET)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9814A20037; Sat, 27 Feb 2016 09:55:05 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 0KdSnqqvGqMt; Sat, 27 Feb 2016 09:55:05 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9743B20036; Sat, 27 Feb 2016 09:55:04 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 66E4239FF79C; Sat, 27 Feb 2016 09:55:04 +0100 (CET)
Date: Sat, 27 Feb 2016 09:55:04 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Sampathkumar Santhanakrishnan <sampathkumar.santhanakrishnan@ericsson.com>
Message-ID: <20160227085504.GA22788@elstar.local>
Mail-Followup-To: Sampathkumar Santhanakrishnan <sampathkumar.santhanakrishnan@ericsson.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <5ADC40FCE0FC7140AB4B8FD107A271C4219E9580@eusaamb109.ericsson.se> <20160225194334.GA20558@elstar.local> <5ADC40FCE0FC7140AB4B8FD107A271C4219E99FF@eusaamb109.ericsson.se>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <5ADC40FCE0FC7140AB4B8FD107A271C4219E99FF@eusaamb109.ericsson.se>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/M695lcDvdu5H7CtWdHi0ebExII8>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Question on "bits" in YANG
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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: Sat, 27 Feb 2016 08:55:11 -0000

On Fri, Feb 26, 2016 at 11:20:33PM +0000, Sampathkumar Santhanakrishnan wrote:

> My assumption was "position" will help the implementers on the
> server side as they can map it directly to their bitmask
> implementation.  When "position" is carried north bound in read-only
> data, the client may not be using it right ?

Either side can use or ignore the bit positions.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>