JMP Mail Archive: Re: JMP> Proposal for addition of an OPTIONAL mirror attribu

Re: JMP> Proposal for addition of an OPTIONAL mirror attribu

Ron Bergman (rbergma@dpc.com)
Mon, 2 Nov 1998 13:44:41 -0800 (Pacific Standard Time)

Harry,

I agree! Good change!

Ron

On Mon, 2 Nov 1998, Harry Lewis wrote:

>
I agree with the addition of an OPTIONAL mirror attribute table and accept
> Ron's modifications. I'd like to propose one MINOR change, myself...
>
> Rather than
> -- The jmMirrorAttrTable provides efficient access to all of the
> -- attributes that an implementation supports, sorted by attribute
> -- type (traditional SNMP MIB access), rather than being sorted by
> -- job set and job index (modern object-oriented access) as in the
> -- analogous jmAttributeTable.
>
> I request deletion of the word "efficient" in the above. I think,
> when we developed the tables we have, we did so because we felt it
> was efficient. I think both methods are efficient based on
> different perspectives and, therefor, there is no need to
> embellish the paragraph.
>
>
> Harry Lewis - IBM Printing Systems
> harryl@us.ibm.com
>
>
>
> jmp-owner@pwg.org on 11/01/98 10:26:53 PM
> Please respond to jmp-owner@pwg.org
> To: hastings@cp10.es.xerox.com
> cc: jmp@pwg.org
> Subject: Re: JMP> Proposal for addition of an OPTIONAL mirror attribu
>
>
> Tom,
>
> I support your proposal to add the optional mirror attribute table to the
> Job MIB. However, I would like to suggest the following text in place of
> your proposed text. My changes eliminate much of the very repetitive text
> that was included in your original draft.
>
> Also, you state that section 3.3 contains a description of
> jmMirrorAttrTable, but you did not provide any changes to this section
> with this description. (My revised text still contains this reference.)
>
>
> Ron Bergman
> Dataproducts Corp.
>
>
>
> ------------------------------------------------------------------------
> -- The Mirror Attribute Group (OPTIONAL)
>
> -- The jmMirrorAttrGroup consists entirely of the jmMirrorAttrTable.
> --
> -- Implementation of the objects in this group is OPTIONAL.
> -- See Section 3.1 entitled 'Conformance Considerations'.
> -- The jmMirrorAttrTable complements the MANDATORY jmAttributeTable.
> --
> -- The jmMirrorAttrTable provides efficient access to all of the
> -- attributes that an implementation supports, sorted by attribute
> -- type (traditional SNMP MIB access), rather than being sorted by
> -- job set and job index (modern object-oriented access) as in the
> -- analogous jmAttributeTable.
>
> jmMirrorAttr OBJECT IDENTIFIER ::= { jobmonMIBObjects 5 }
>
> jmMirrorAttrTable OBJECT-TYPE
> SYNTAX SEQUENCE OF JmAttributeEntry
> MAX-ACCESS not-accessible
> STATUS current
> DESCRIPTION
> "The jmMirrorAttrTable is an OPTIONAL table which provides
> identical attributes to the jmAttributeTable but with a
> different index structure. See jmAttributeTable for further
> details.
>
> See Section 3.3 entitled 'The Attribute Mechanism' for a
> description of the jmMirrorAttrTable."
> ::= { jmMirror 1 }
>
> jmMirrorAttrEntry OBJECT-TYPE
> SYNTAX JmMirrorAttrEntry
> MAX-ACCESS not-accessible
> STATUS current
> DESCRIPTION
> "The attributes that represent information about each job
> and documents or resources required and/or consumed.
>
> Each entry in jmMirrorAttrTable is a per-attribute entry with a
> primary index for each type of attribute (jmMirrorAttrTypeIndex)
> that a job can have and secondary indices which specify job
> set (jmJobSetIndex), job instance (jmJobIndex), and attribute
> instance (jmMirrorAttrInstanceIndex).
>
> An agent which implements the jmMirrorAttrTable SHALL create and
> maintain a row in the jmMirrorAttrTable for each corresponding
> row in the jmAttributeTable."
> INDEX { jmMirrorAttrTypeIndex, jmGeneralJobSetIndex, jmJobIndex,
> jmMirrorAttrInstanceIndex }
> ::= { jmMirrorAttrTable 1 }
>
> JmMirrorAttrEntry ::= SEQUENCE {
> jmMirrorAttrTypeIndex JmAttributeTypeTC,
> jmMirrorAttrInstanceIndex Integer32 (1..32767),
> jmMirrorAttrValueAsInteger Integer32 (-2..2147483647),
> jmMirrorAttrValueAsOctets OCTET STRING(SIZE(0..63))
> }
>
> jmMirrorAttrTypeIndex OBJECT-TYPE
> SYNTAX JmAttributeTypeTC
> MAX-ACCESS not-accessible
> STATUS current
> DESCRIPTION
> "The type of attribute that this row entry represents.
>
> See jmAttributeTypeIndex in jmAttributeTable for complete
> description."
> ::= { jmMirrorAttrEntry 1 }
>
> jmMirrorAttrInstanceIndex OBJECT-TYPE
> SYNTAX Integer32 (1..32767)
> MAX-ACCESS not-accessible
> STATUS current
> DESCRIPTION
> "The instance of attribute that this row entry represents.
>
> See jmAttributeInstanceIndex in jmAttributeTable for complete
> description."
> ::= { jmMirrorAttrEntry 2 }
>
> jmMirrorAttrValueAsInteger OBJECT-TYPE
> SYNTAX Integer32 (-2..2147483647)
> MAX-ACCESS read-only
> STATUS current
> DESCRIPTION
> "The integer value of the attribute.
>
> See jmAttributeValueAsInteger in jmAttributeTable for complete
> description."
> DEFVAL { -2 } -- default value is unknown(-2)
> ::= { jmMirrorAttrEntry 3 }
>
> jmMirrorAttrValueAsOctets OBJECT-TYPE
> SYNTAX OCTET STRING(SIZE(0..63))
> MAX-ACCESS read-only
> STATUS current
> DESCRIPTION
> "The octet string value of the attribute.
>
> See jmAttributeValueAsOctets in jmAttributeTable for complete
> description."
> DEFVAL { ''H } -- empty string
> ::= { jmMirrorAttrEntry 4 }
>
> ------------------------------------------------------------------------
> [for placement in 'jmMIBCompliance' before the first OBJECT clause]
>
> GROUP jmMirrorAttrGroup
> DESCRIPTION
> "The mirror attribute group (sorted by attribute type).
> Implementation of this group is OPTIONAL.
>
> An agent which implements the jmMirrorAttrTable SHALL create and
> maintain a row in the jmMirrorAttrTable for each corresponding
> row in the jmAttributeTable."
>
> ------------------------------------------------------------------------
> [for placement after the 'jmMIBCompliance' MODULE-COMPLIANCE macro]
>
> jmMirrorAttrGroup OBJECT-GROUP
> OBJECTS {
> jmMirrorAttrValueAsInteger, jmMirrorAttrValueAsOctets }
> STATUS current
> DESCRIPTION
> "The mirror attribute group (sorted by attribute type).
> Implementation of this group is OPTIONAL.
>
> An agent which implements the jmMirrorAttrTable SHALL create and
> maintain a row in the jmMirrorAttrTable for each corresponding
> row in the jmAttributeTable."
> ::= { jmMIBGroups 5 }
>
> ------------------------------------------------------------------------
>
>
>
>
>
>