attachment
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<title>CIM> Call for volunteers to assist with prototype CIM proxy provider</title>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I suggest that we all see what we can do with Rick’s requests in
place of next Monday’s conference call.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Bill Wagner<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> owner-wims@pwg.org
[mailto:owner-wims@pwg.org] <b>On Behalf Of </b>Richard_Landau@Dell.com<br>
<b>Sent:</b> Thursday, September 18, 2008 6:25 PM<br>
<b>To:</b> wims@pwg.org<br>
<b>Subject:</b> WIMS> CIM> Call for volunteers to assist with prototype
CIM proxy provider<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Several people
volunteered to help in the construction of the prototype CIM proxy
provider. I can certainly use the help in a few areas. All of these
are initialization files, just structured ASCII. No code, just tables to
supply the data translations from one format to the other. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Here are a
few things I can use help with, please, if someone has time.</span> <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>1. MIB
dumps: What is actually in the SNMP agents of printers? I could use MIB
dumps from a variety of printers. (The provider can run from these MIB
dumps instead of a live printer, for convenience.) Getting a dump in a
reasonable format is simple to do. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>(In all file
formats, blank lines and comment lines beginning with # or ; will be ignored,
no problem. Use comments to describe the contents, provenance, version,
etc., of the file.)</span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Format: one
OID and value per line.</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>ABNF:
numeric-oid "\t" contents</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>If there is
additional information in the line such as datatype, length, etc., that's
okay. I can process almost anything down to the format needed. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Easy way to
do this: Get Net-SNMP v5.4.1.2 at</span> <br>
<a
href="http://sourceforge.net/project/showfiles.php?group_id=12694&package_id=162885&release_id=611628"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://sourceforge.net/project/showfiles.php?group_id=12694&package_id=162885&release_id=611628</span></a>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>The kit is less
than 4MB. Installs in a few seconds. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>The CLI
command to get a numeric dump, which is all I need, is </span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>
snmpwalk -v 1 -c public -O n 11.22.33.44 1</span>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Substitute the
right IP address, SNMP version number, community name. (SNMPv2 is called
"v2c" in the command options.) If you have timeout problems,
check the command help for the options to lengthen timeouts and retries. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I'll strip
off the leading dot (they use the convention .1.3.6.1.2.1 et ff) and the syntax
spec, which takes all of two lines of sed, and poof, done. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>All
contributions appreciated. An example is attached. </span><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>2.
Enum value translations: How to map the enum values of SNMP variables to the
enum values of the related CIM properties? I need the correlation between
the enums that come from the printer and the ones that are emitted in the CIM
property. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>These
correlations cannot, unfortunately, be constructed automatically. They do
require a human to read the definitions and decide what old values are
equivalent to what new values. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Format: one
mapping pair per line. </span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>ABNF:
cim-classname "." cim-property-name "\t" </span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>
cim-enum-numeric-value "\t" cim-enum-string-value</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>
snmp-variable-name "\t" snmp-enum-numeric-value "\t"
snmp-enum-string-value</span> <o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>A starter
set file is attached. It contains everything except the SNMP numeric and
string values. It seems very large, but take heart: one needs to fill in
only a few percent of it. The init code is smart enough to store only the
values with proper translations, and if the runtime never encounters one of the
unknown values, no problema. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Shortcut #1:
Let's not bother with all the properties. Let's include only the
properties that are likely to show up non-null in response to a request.
For instance, almost anything that does not have "Print" in its
classname is not likely to be rendered by the prototype provider. There
might be a few properties that are inherited from non-print parent classes, for
instance the status variables. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Shortcut #2:
Let's not bother with all the values. Let's include only the values that
one is likely to see. Almost all the enum lists contain 99% chaff, at
least w.r.t. a prototype like this. For instance, the only values of
CIM_PrintInterpreter.LangType that I am likely to encounter are PostScript and
PCL and maybe Unknown; we don't need all sixty-five values. </span><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>3.
Property mappings: What CIM properties are mapped directly from their SNMP
counterparts? This is particularly important because it keeps me from
having to write several hundred tiny functions, one for each property.
Directly mapped properties can all be done through a single function. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Take this
list of properties and tell me which ones are mapped directly from some SNMP
variable. If there is such a direct mapping, add the name of the SNMP
variable to the line. If not, do nothing; just leave the CIM property
name alone on the line. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Format: one
mapping per line.</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>ABNF:
cim-classname "." cim-property-name "\t" snmp-variable-name</span>
<o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>A starter
set file is attached. </span><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thank you
all for any assistance you can give. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>rick</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>----------------------</span>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Richard_Landau(at)dell(dot)com,
Stds & System Mgt Architecture, CTO Office</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>+1-512-728-9023,
One Dell Way, RR5-3, MS RR5-32, Round Rock, TX 78682</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><<WhatINeedSamples.zip>>
</span><o:p></o:p></p>
</div>
</body>
</html>