Sorry,that mail I fogot to CC to the list.pls mail it to Mike,thank you !:0)
YES,I want to get some models for modelling,Here is my problem.
portal bonding_mode descriptor: --------------------this is a table.
components bytes type range unit description -----------------------the
entries of the table
ge1_des 16 struct ge_descriptor see below 1byte ge1 descriptor
ge2_des 16 struct ge_descriptor see below 1byte ge2 descriptor
ge3_des 16 struct ge_descriptor see below 1byte ge3 descriptor
ge4_des 16 struct ge_descriptor see below 1byte ge4 descriptor
ge5_des 16 struct ge_descriptor see below 1byte ge5 descriptor
ge6_des 16 struct ge_descriptor see below 1byte ge6 descriptor
ge7_des 16 struct ge_descriptor see below 1byte ge7 descriptor
ge8_des 16 struct ge_descriptor see below 1byte ge8 descriptor
bond1_des 16 struct bond_descriptor see below 1byte bond1 descriptor
bond2_des 16 struct bond_descriptor see below 1byte bond2 descriptor
bond3_des 16 struct bond_descriptor see below 1byte bond3 descriptor
bond4_des 16 struct bond_descriptor see below 1byte bond4 descriptor
The struct of geN_descriptor : --------------------------the struct of the
table's entry
component bytes type range unit description
ip 4 uint8[4] 0~255.0~255.0~255.0~255 1byte ip address
gateway 4 uint8[4] 0~255.0~255.0~255.0~255 1byte gateway
netmask 4 uint8[4] 0~255.0~255.0~255.0~255 1byte netmask
The struct of bondN_descriptor :
component bytes type range unit description
ip 4 uint8[4] 0~255.0~255.0~255.0~255 1byte ip address
gateway 4 uint8[4] 0~255.0~255.0~255.0~255 1byte gateway
netmask 4 uint8[4] 0~255.0~255.0~255.0~255 1byte netmask
So,My problem is whether the net-snmp MIB table support the composite
structure,especially,we want to the table's entry is a struct or another
table,How can I deal with this requirement?This is what I call it "promote the
potential sub-table as the second table to of the up-level",this is my tough
situation,this where "main-table,parallel table processing VS
main-table,sub-table(nested table) processing " come from.
Thank you Dave,You help me a lot!
Alex
------------------ 原始邮件 ------------------
发件人: "Dave Shield"<d.t.shi...@liverpool.ac.uk>;
发送时间: 2009年12月10日(星期四) 晚上7:30
收件人: "飞飞"<chenyapu1...@qq.com>;
抄送: "net-snmp-users"<net-snmp-users@lists.sourceforge.net>;
主题: Re: 回复: Can snmp support nested tables?
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
2009/12/10 飞飞 <chenyapu1...@qq.com>:
> I decide to promote the potential sub-table as the second table to the
> up-level entry.does it has the same function as the sub-table doed(if it
> does)?
I'm sorry - I don't understand what you are talking about here.
Rather than discussing the detailed structure of the MIB tables,
why don't you describe whatever it is that you are trying to model
here.
The structure of a MIB should always be driven by the underlying
information that it represents. Without knowing about this, it's
impossible to provide sensible advice.
Dave
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users