Package Overview
Note: You must have a license for the OPNET Development Kit to use the Self Description package.
The Ets_Selfdesc package provides an API for manipulating the self descriptions used to match node, link, path, and demand models to the objects defined in an imported topology. A self description specifies information such as what type of interfaces an object supports. A comprehensive self description helps reduce the number of unanswered questions that appear in the Question/Answer database after a topology import.
A self description has three basic parts:
- Characteristics used for matching—These specify the object model characteristics that Modeler matches against the characteristics of objects in an imported topology. Each characteristic has a value and a comparator. The comparator specifies what relationship must exist between the values of a characteristic for the object model and an object in the imported topology for a match to occur, as defined in the following table.
Table 38: Requirements Comparators
| Comparator | Meaning |
|---|---|
| Equals | The imported object's value must equal that of the object model. |
| One-of | The imported object's value must equal one of the values listed for the object model. |
| Range | The imported object's value must be in the range specified for the object model. |
| Contains | The imported object's value must contain that of the object model. |
- Assignments—These specify attributes that will be assigned to the object model when it is chosen to represent an imported object.
- Priority—During topology import, if more than one object model is found that matches an imported object, it uses the model with the highest priority.
A node model self description includes information about all ports supported by the node.