Arthur Foster

Hillman House,  4, Madeira Road,

Parkstone,  Poole,  Dorset   BH14 9ET

UK

Description of GDMO
Parameter Example

e-mail:

arthur@arthurfoster.com

tel: 

+44 (01202) 469468

fax:

+44 (01202) 469861

  

Home Site Map Search

Home Up Action Example Attribute Example Attribute Group Example Behaviour Example Managed Object Example Name Binding Example Notification Example Package Example Parameter Example

 

Parameter Template

 

The PARAMETER Template example is taken from ITU-T Recommendation X.721.

This example is used to provide a general error reporting feature that can be used in conjunction with processing errors. This particular specific error is used generally, but in other cases parameters can be specified in the managed object specification to qualify the characteristics of the managed object.

 

Parameter Example

miscellaneousError   PARAMETER
	CONTEXT SPECIFIC-ERROR;
	WITH SYNTAX Parameter-ASN1Module.MiscellaneousError;
	BEHAVIOUR
	miscellaneousErrorBehaviour  BEHAVIOUR
	DEFINED AS " When a processing error failure has occurred and the 
		error condition encountered does not match any of the object's 
		defined specific error types, this value is used.";;
 
REGISTERED AS   {smi2Parameter 1};

 

The CONTEXT clause identifies the context in which the parameter is to be used. This context is related to the type of the extension syntax that will carry this parameter.  In this case it is a specific error, that is the error reply syntax of an operation. Other contexts can be ACTION or NOTIFICATION information or reply syntax or even some specifically defined syntax using the ASN.1 reference.

The WITH SYNTAX field specifies an ASN.1 data structure that defines the information carried in the parameter.  In this example the source of the ASN.1 data structure specification is identified as:

Parameter-ASN1Module.MiscellaneousError

This is known as a type reference. The type reference has two parts: 

  1. an ASN.1 module name, which identifies the ASN.1 containing the data structure to be employed; and,

  2. an ASN.1 type identifier which must be defined in that module (although it could be imported).

The ASN.1 module is named "Parameter-ASN1Module" and the type identifier is "MiscellaneousError" in this case.

The ASN.1 is a simple type in this example, but it may be as complex as is required.

 

Author: Arthur Foster
28 May 2002

Arthur Foster is a

founder member of

 
 

Hosted by