MIME-Version: 1.0 X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 X-Mailer: Microsoft Office Outlook 11 content-type: text/plain; charset="utf-8" X-Virus-Scanned: clamav-milter 0.96.3 at overkill.sb.litts.net Message-ID: Received: from mx.ams1.isc.org (mx.ams1.isc.org [199.6.1.65]) by bugs.isc.org (Postfix) with ESMTP id 00A1C20EE277 for ; Sat, 16 Oct 2010 14:40:34 +0000 (UTC) Received: from overkill.sb.litts.net (nano.litts.net [96.233.62.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.litts.net", Issuer "litts.net Trust Root" (not verified)) by mx.ams1.isc.org (Postfix) with ESMTPS id 0179E5F98EF for ; Sat, 16 Oct 2010 14:40:19 +0000 (UTC) (envelope-from litt@acm.org) Received: from screamxp (screamxp.sb.litts.net [192.168.148.111]) (authenticated bits=0) by overkill.sb.litts.net (8.14.1/8.14.1) with ESMTP id o9GEeIIg025850 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sat, 16 Oct 2010 10:40:18 -0400 Delivered-To: dhcp-bugs@bugs.isc.org Subject: OMAPI versioning Return-Path: X-Original-To: dhcp-bugs@bugs.isc.org Thread-Index: ActtQA1wKyVw1CdPT3yVVAUl3zp5rQ== Date: Sat, 16 Oct 2010 10:40:18 -0400 X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mx.ams1.isc.org X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.5994 To: Content-Transfer-Encoding: 7bit From: "Timothe Litt" X-RT-Original-Encoding: us-ascii Content-Length: 1052 dhcpd 4.1.1-P1 In trying to work with the OMAPI/dhcpctl libraries, it became clear that the interface is unstable. As noted in the dhcpd man page about the failover-object's state: "Note that some of the above values have changed since DHCP 3.0.x." Maybe this was required - but as far as I can tell, there is no way for an application to determine the version of DHCP on the other end of the wire. So interpreting the value in the state variable correctly is impossible in the general case. Omapi has a version in the protocol - but it is not exposed thru dhcpctl. And even if it was, that version remains 1.0. I'd like to see: o API changes increment some version number. o That version number exposed via the dhcpctl API. Ideally, the version would be an API version, but it would also be useful if something (say, the control object) also output the dhcpd server version. Thanks. --------------------------------------------------------- This communication may not represent my employer's views, if any, on the matters discussed.