PRID question
"Pedro Neves" <[email protected]> Wed, 14 Jul 2004 12:29:00 +0100
| Newsgroups | gmane.ietf.rap |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
------=_NextPart_000_0024_01C4699E.24693380
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Dear All:
I am working with COPS-PR and I have a doubt with the Instance Identifier
field in the PRID object.
NOTE: When encoding an xxxTable's xxxEntry Object-Type as defined by
the SMI [V2SMI] and SPPI [SPPI], the OID will contain all the sub-
identifiers up to and including the xxxEntry OID but not the columnar
identifiers for the attributes within the xxxEntry's SEQUENCE. The
last (suffix) identifier is the INDEX of an instance of an entire
xxxEntry
including its SEQUENCE of attributes encoded in the EPD
(defined below). This constitutes an instance (PRI) of a class (PRC)
in terms of the SMI.
A PRID for a scalar (non-columnar) value's OID is encoded directly as
the PRC where the instance identifier suffix is always zero as there
will be only one instance of a scalar value. The EPD will then be
used to convey the scalar value.
Suppose we have an exampleTable (1.3.6.2.1) with exampleEntry (1.3.6.2.1.1).
The table is the following:
----------------------------------------------------
| FlowID | Priority | Source Address|
---------------------------------------------------
| 64 | 4 | 192.110.10.8 |
---------------------------------------------------
| 43 | 2 | 193.168.92.2 |
---------------------------------------------------
INDEX = FlowID
Now, suppose we want to change the first line of the table. How will we fill
the Instance Identifier field from the PRID object???
PRID Instance Identifier: 1.3.6.2.1.1.64 ?????
In this case, since we are changing an existing line in the table we must
specify the INDEX in order to change the line?????
Now, suppose we want to add a new line (new instance) to the table. How will
we fill the Instance Identifier field from the PRID object???
PRID Instance Identifier: 1.3.6.2.1.1 ??????
In this case, since we are adding a new line in the table, we must not
specify the INDEX of the table???? Will the INDEX of the table be specified
in the EPD object?
Thanks
Best Regards,
Pedro Neves
------=_NextPart_000_0024_01C4699E.24693380
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@SimSun";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Dear All:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am working with COPS-PR and I have a doubt with the =
<u>Instance
Identifier field in the PRID object</u>.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'>NOTE: When =
encoding an
xxxTable's xxxEntry Object-Type as defined =
by<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> the =
SMI
[V2SMI] and SPPI [SPPI], the OID will contain all the =
sub-<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> =
identifiers
up to and including the xxxEntry OID but not the =
columnar<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> =
identifiers
for the attributes within the xxxEntry's SEQUENCE. =
The<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> last
(suffix) identifier is the INDEX of an instance of an entire xxxEntry =
<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> =
including
its SEQUENCE of attributes encoded in the =
EPD<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> =
(defined
below). This constitutes an instance (PRI) of a class =
(PRC)<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> in =
terms of
the SMI.<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'><o:p> </o:p></=
span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> A =
PRID for a
scalar (non-columnar) value's OID is encoded directly =
as<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> the =
PRC
where the instance identifier suffix is always zero as =
there<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> will =
be only
one instance of a scalar value. The EPD will then =
be<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><b><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold;font-style:italic'> used =
to
convey the scalar value.<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Suppose we have an <b><i><span =
style=3D'font-weight:bold;
font-style:italic'>exampleTable</span></i></b> (1.3.6.2.1) with =
<b><i><span
style=3D'font-weight:bold;font-style:italic'>exampleEntry =
</span></i></b>(1.3.6.2.1.1).
The table is the following:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>----------------------------------------------------<o=
:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>| FlowID | Priority | Source =
Address|<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>---------------------------------------------------<o:=
p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>| 64
| 4 | =
192.110.10.8
|<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>---------------------------------------------------<o:=
p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>| 43
| 2 | =
193.168.92.2
|<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>---------------------------------------------------<o:=
p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>INDEX =3D FlowID<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Now, suppose we want to <b><span =
style=3D'font-weight:bold'>change</span></b>
the first line of the table. How will we fill the Instance Identifier =
field
from the PRID object???<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
PRID Instance Identifier: 1.3.6.2.1.1.<b><span =
style=3D'font-weight:bold'>64
</span></b>?????<b><span =
style=3D'font-weight:bold'><o:p></o:p></span></b></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>In this case, since we are changing an existing line =
in the
table we must specify the INDEX in order to change the =
line?????<o:p></o:p></span></font></p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'><o:p> </o:p></span></font></b></=
p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Now, suppose we want to <b><span =
style=3D'font-weight:bold'>add</span></b>
a new line (new instance) to the table. How will we fill the Instance
Identifier field from the PRID object???<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
PRID Instance Identifier: 1.3.6.2.1.1 =
??????<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>In this case, since we are adding a new line in the =
table,
we must not specify the INDEX of the table???? Will the INDEX of the =
table be
specified in the EPD object?<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Best Regards,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Pedro Neves<o:p></o:p></span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0024_01C4699E.24693380--