JMP> Proposal for addition of an OPTIONAL mirror attribute table

JMP> Proposal for addition of an OPTIONAL mirror attribute table

Ron Bergman rbergma at dpc.com
Mon Nov 2 12:05:19 EST 1998


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 }

------------------------------------------------------------------------







More information about the Jmp mailing list