[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on PRI codding



Hello,

I would like to clarify the encapsulation of an PRI
into PRID and EDP objects. For example, I have a PRC
as follows:

myExampleEntry OBJECT-TYPE
  SYNTAX MyExampleEntry
....
::= {1.3.6.1.2.3.4}

MyExampleEntry ::= SEQUENCE {
    myExamplePrid         InstanceId,
    myExampleParam1       Unsigned32,
    myExampleParam2       Prid
}

and I have an PRI of this PRC as follows:

{   myExamplePrid         1,
    myExampleParam1       5,
    myExampleParam2       1.3.6.1.2.3.2.1
}

Then, this PRI can be codded into an PRID and EDP
objects defined in COPS-PR as follows:

- PRID object data (contains the ODI of the PRC
followed by the Instance ID):
OID    : 06
length : 07
PRID   : 2B 06 01 02 03 04 01
- EDP obejct data (does not include the first
attribute which is myExamplePrid):
Unsigned32 : 42
length    : 01
value     : 05
OID       : 06
length    : 07
PRID      : 2B 06 01 02 03 02 01

Please tell me if this codding is correct. Otherwise,
how to convey an PRI information using PRID and EDP
objects.

Thank you. 




__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you?re looking for faster
http://search.yahoo.com