[netmod] Inconsistent config and state ordering in ietf-hardware

William Lupton <wlupton@broadband-forum.org> Wed, 03 May 2017 17:01 UTC

Return-Path: <wlupton@broadband-forum.org>
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 D40E9127077 for <netmod@ietfa.amsl.com>; Wed, 3 May 2017 10:01:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level:
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 dAB1BV_k-3X8 for <netmod@ietfa.amsl.com>; Wed, 3 May 2017 10:01:31 -0700 (PDT)
Received: from mail.amsl.com (c8a.amsl.com [4.31.198.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FCBF12946B for <netmod@ietf.org>; Wed, 3 May 2017 09:59:32 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by c8a.amsl.com (Postfix) with ESMTP id A30B01C5A6F; Wed, 3 May 2017 09:59:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.amsl.com ([127.0.0.1]) by localhost (c8a.amsl.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id zooCb1XJQeJU; Wed, 3 May 2017 09:59:26 -0700 (PDT)
Received: from [192.168.1.127] (host81-132-49-127.range81-132.btcentralplus.com [81.132.49.127]) by c8a.amsl.com (Postfix) with ESMTPSA id 1100A1C1D0E; Wed, 3 May 2017 09:59:25 -0700 (PDT)
From: William Lupton <wlupton@broadband-forum.org>
Content-Type: multipart/alternative; boundary="Apple-Mail=_9ACE3AAC-3820-4417-99B3-38319D647CF3"
Date: Wed, 03 May 2017 17:59:29 +0100
To: netmod@ietf.org
Message-Id: <DB700B9D-41B3-4F57-B1D2-CDD085403927@broadband-forum.org>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/B6hKh9YOT5E6TKPXzW-40qwycxA>
Subject: [netmod] Inconsistent config and state ordering in ietf-hardware
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: Wed, 03 May 2017 17:01:33 -0000

All,

I just noticed something minor but inconsistent with ietf-hardware. Whereas ietf-system and ietf-interfaces declare config before state, ietf-hardware is the other way round. If there’s no particular reason for this, perhaps they might be swapped?

% egrep '^   ? ?container' ietf-system.yang ietf-interfaces.yang ietf-hardware.yang 
ietf-system.yang:    container system {
ietf-system.yang:    container system-state {
ietf-interfaces.yang:  container interfaces {
ietf-interfaces.yang:  container interfaces-state {
ietf-hardware.yang:  container hardware-state {
ietf-hardware.yang:  container hardware {

Thanks,
William

PS, Perhaps this is moot, given the new data stores plans?