Re: Dependent table row updation

chandan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Actually the two dependent tables are related to each other by indicies 
i.e there exists an expansion relationship between the two tables T1 and 
T2.
The following description is taken from the book "Understanding SNMP 
MIBs - Perkins & McGinnis".

-- row definition in base table
baseEntry OBJECT-TYPE
... -- other clauses here
INDEX  {baseIndex1, baseIndex2 }
::= { baseTable 1}

-- row definition in expansion table
expEntry OBJECT-TYPE
... -- other  clauses here
INDEX { baseIndex1, baseIndex2, expIndex1 }
::= { expTable 1}

So in this case is it possible to insert a new row into the expansion 
table which has values for baseIndex1 and baseIndex2 which do not exist 
in the base table?

Dave Shield wrote:
> 2009/4/17 chandan <[email protected]>:
>   
>> Table T2 depends on Table T1 for its primary index.
>>     
>
> Do you mean that table T2 AUGMENTs T1?
> Or what is the exact relationship between the two tables?
> It's easier to coment if you give exact MIB definitions,
> as these are typically more precise than general descriptions.
>
>
>   
>>                                            In this scenario
>> should it be possible to insert a row into  Table T2 with a value for
>> primary index which does not exist in Table T1.
>>     
>
> It depends on the table.
> But normally, no.
>
> Dave
>
>   


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.