Reading the Object Definitions
Most of the rest of this memo is devoted to ennumerating the objects managed by the query processor. Many of these objects are dictionaries, objects which reference other objects. Defining dictionaries requires that we specify the class of objects they reference.
Most significant objects, such as packet counts, reside at the leaves of the object data tree. They need to be carefully defined to ensure that their meaning is consistent across all HEMS implementations. These values are defined using the following format:
OBJECT: This is the name of the object.
Type: This is the ASN.1 type of the object.
Definition: The meaning of the data the object contains. Implementations should ensure that their instance of the object fulfills this definition since an important feature of HEMS is that objects have consistent meaning across all machines. It is better not to implement an object than to abuse its definition.
Notes: An optional section of the definition which is used to discuss issues not covered in other sections of this specification.
Object Status: An optional section of the definition which is used to indicate whether the object is required of all HEMS implementations, encouraged of HEMS implementations or simply considered useful. Currently, there are four levels of status:
Required: The object is felt to provide critical information and must be included in a fully conforming HEMS implementation.
Required On Condition: The object is felt to provide critical information about an optional feature of an IP entity (for example, support of the Transmission Control Protocol). The object is required if the feature is implemented in the entity.
Encouraged: The object is felt to provide very useful management information and implementors are encouraged to implement it.
Defined: The object may be useful and has been defined so that all implementations of the object are consistent.
If the object status is not specified, the object should be considered required. If the parent dictionary is optional, then the object should be considered required if the parent dictionary is supported.
Operations on Object: The definition of how each monitoring and control operation acts on the object. Many operations have the same effect on almost all values, so some default definitions are presented here. In the absence of an operation specification, implementors should use the default operations defined here.
BEGIN: The default is for BEGIN to be defined for dictionaries, and an error if performed on leaf objects in the tree.
CREATE: The default is that CREATE is undefined.
DELETE: The default is that DELETE is undefined.
END: END is a stack operation and is defined for all objects. Note that END may fail if there is no object on the stack.
GET-ATTRIBUTES: The default is that GET-ATTRIBUTES is defined on the contents of all dictionaries specified in this memo. The text description attributes are optional for values defined in this memo, but are required for implementation-specific objects. Any descriptions of object listed in this memo should cite this memo. GET-ATTRIBUTES must be supported on all entity-specific values. GET-ATTRIBUTES returns a Attributes object, which is defined in the well-known types section below.
GET-ATTRIBUTES-MATCH: The default is that GET-ATTRIBUTES-MATCH is optionally defined on any object which supports GET-MATCH, and is an error otherwise. The rules for attributes returned by GET-ATTRIBUTES-MATCH are the same as those for GET-ATTRIBUTES.
GET: The default definition of GET is to emit the operand specified is a leaf object, and if the operand is a dictionary, to recursively GET the entire dictionary and its subdictionaries.
GET-MATCH: Unless otherwise specified, GET-MATCH is not supported on an object.
GET-RANGE: Unless otherwise specified, GET-RANGE is not supported on an object.
SET: Unless otherwise specified, SET is not supported on an object.
SET-MATCH: Unless otherwise specified, SET-MATCH is not supported on an object.