Skip Headers
Oracle® Communications Network Integrity Cisco Router and Switch UIM Integration Cartridge Guide
Release 7.1

E23705-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
PDF · Mobi · ePub

B About the absRelativePosition Value

This appendix explains how to generate the absRelativePosition variable value.

Generating the absRelativePosition Value

The field contains a variable called absRelativePosition. absRelativePosition is used to generate a unique value for an entity in a given tree. absRelativePosition is a programmatically generated value and is composed of a prefix and suffix. The suffix is always derived from entPhysicalParentRelPos.

The following is an example of a physical device tree: PD E1 PP1 E2 PP2

The prefix of each entity is derived from the absolute relative position from the root; for example:

PD takes the prefix 0

The child E1 takes the prefix 0:0

The child E2 takes the prefix 0:1, uniquely identifying itself from its sibling.

PP1 takes the prefix 0:0:0

PP2 takes the prefix 0:1:0

Some devices (due to a device reporting error) show that multiple equipment holders or physical ports have entPhysicalParentRelPos value that occupy the same relative position within the same parent.

At a high level, the algorithm works by resolving conflicts by increasing the relative position of the subsequent duplicates by 1. This is best described using an example.

Table B-1 shows the applicable SNMP attributes that are used in determining the correct relative position.

Table B-1 SNMP Attributes Used to Determine Correct Relative Position

Index entPhysicalDesr entPhysicalParentRelPos entPhysicalContainedIn

1

3640 chassis, Hw Serial#: 621974280, Hw Revision: 00

-1

0

2

3640 Chassis Slot

0

1

3

Ethernet/WAN

0

2

12

AmdP2

0

3

13

AmdP2

0

3

14

AmdP2

1

3

15

AmdP2

1

3


Index: a numeric value used to represent a physical entity and must be unique.

entPhysicalDesr: a string description of the physical entity.

entPhysicalParentRelPos: the relative position within the parent.

entPhysicalContainedIn: the Index of the entity's parent denoting the current entity as a child. 0 indicates the root of the physical entity tree.

From Table B-1, notice that AmdP2 at index 12 and 13, and AmdP2 at index 14 and 15 have the same entPhysicalParentRelPos values (that is, 0 and 1 respectively) within the parent, which is Ethernet/WAN.

To correct this, the algorithm briefly described above is executed as follows: