Re: [IPP] MIB objects as IPP attributes

Michael Sweet via ipp <ipp@pwg.org> Thu, 12 September 2019 14:18 UTC

Return-Path: <ipp-bounces@pwg.org>
X-Original-To: ietfarch-ipp-archive@ietfa.amsl.com
Delivered-To: ietfarch-ipp-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 057DE1200D6 for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 12 Sep 2019 07:18:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.899
X-Spam-Level:
X-Spam-Status: No, score=-2.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 63dIq68Fegsh for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 12 Sep 2019 07:18:30 -0700 (PDT)
Received: from mail.pwg.org (mail.pwg.org [50.116.7.199]) by ietfa.amsl.com (Postfix) with ESMTP id D094E120071 for <ipp-archive2@ietf.org>; Thu, 12 Sep 2019 07:18:30 -0700 (PDT)
Received: by mail.pwg.org (Postfix, from userid 1002) id 3AD0CC8BB; Thu, 12 Sep 2019 14:18:30 +0000 (UTC)
Received: from mail.pwg.org (localhost [IPv6:::1]) by mail.pwg.org (Postfix) with ESMTP id CA7394F24; Thu, 12 Sep 2019 14:18:26 +0000 (UTC)
X-Original-To: ipp@pwg.org
Delivered-To: ipp@pwg.org
Received: by mail.pwg.org (Postfix, from userid 1002) id 102715352; Thu, 12 Sep 2019 14:18:25 +0000 (UTC)
Received: from mail.msweet.org (mail.msweet.org [173.255.209.91]) by mail.pwg.org (Postfix) with ESMTP id 9412E24D3 for <ipp@pwg.org>; Thu, 12 Sep 2019 14:18:24 +0000 (UTC)
Received: from imacpro.lan (67-204-236-184.eastlink.ca [67.204.236.184]) by mail.msweet.org (Postfix) with ESMTPSA id EAA1A807A8; Thu, 12 Sep 2019 14:18:23 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
X-Priority: 3
In-Reply-To: <20190912030843.225C85352@mail.pwg.org>
Date: Thu, 12 Sep 2019 10:18:22 -0400
Message-Id: <8F4434A2-D4EB-4C3A-9F1D-F4EE3515E558@msweet.org>
References: <20190912030843.225C85352@mail.pwg.org>
To: William Wagner <wamwagner@comcast.net>
X-Mailer: Apple Mail (2.3445.104.11)
Cc: PWG IPP Workgroup <ipp@pwg.org>
Subject: Re: [IPP] MIB objects as IPP attributes
X-BeenThere: ipp@pwg.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: ISTO-PWG Internet Printing Protocol workgroup discussion forum <ipp.pwg.org>
List-Unsubscribe: <https://www.pwg.org/mailman/options/ipp>, <mailto:ipp-request@pwg.org?subject=unsubscribe>
List-Archive: <http://www.pwg.org/pipermail/ipp/>
List-Post: <mailto:ipp@pwg.org>
List-Help: <mailto:ipp-request@pwg.org?subject=help>
List-Subscribe: <https://www.pwg.org/mailman/listinfo/ipp>, <mailto:ipp-request@pwg.org?subject=subscribe>
From: Michael Sweet via ipp <ipp@pwg.org>
Reply-To: Michael Sweet <msweet@msweet.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ipp-bounces@pwg.org
Sender: ipp <ipp-bounces@pwg.org>

Bill,

I believe the "power-log-col" attribute retains the same organization as the Power Log Group in 5106.4.  The "log-id" member attribute corresponds to the LogID element, "power-state" to PowerState, and so forth.  The collection syntax groups these member attributes together so that we don't need "parallel arrays" like we do for some of the other MIB-derived attributes ("printer-alert" and "printer-alert-description", for example), so the Nth value in "power-log-col" corresponds to the Nth group in the PowerLog group in XML or SNMP - it's a 1-to-1 mapping.

(Ira: It looks like we never registered any of the values in PWG 5106.4 with IANA...)


> On Sep 11, 2019, at 11:08 PM, William Wagner via ipp <ipp@pwg.org> wrote:
> 
> This is probably just me being very rusty, but several of the new MIB originated attributes in the System spec have we wondering  how they would be used, particularly when querying attributes that are part of a MIB table. For example, a query of log id would result in an integer response, which may refer to one of the 10 power log entries  retained.  Will a query of  an element in a power log entry (e.g., power-state-message) refer to the log entry identified in the log id response ? How does one query elements in other power log entries?
>  
> Sorry if I am being thick. Bill Wagner
>  
> _______________________________________________
> ipp mailing list
> ipp@pwg.org
> https://www.pwg.org/mailman/listinfo/ipp

________________________
Michael Sweet



_______________________________________________
ipp mailing list
ipp@pwg.org
https://www.pwg.org/mailman/listinfo/ipp