
HI,
Both examples have illegal values for DEFVAL.
Regards, /david t. perkins
At 04:47 PM 9/19/2001 +0200, Alberto Olalla wrote:
Hi !
I am having a problem with smidump with producing xml.
Default values in oid objects are not well produced:
Input:
svConnLocalEndPt OBJECT-TYPE SYNTAX OBJECT IDENTIFIER ACCESS read-write STATUS mandatory DESCRIPTION "The object identifier of the 1st attribute of the end point in the associated protocol specific end point table." DEFVAL { { 1 3 6 } } ::= { svConnEntry 2 }
Output:
<column name="svConnLocalEndPt" oid="1.3.6.1.4.1.351.1.101.1.3.1.2" status="current"> <syntax> <type module="" name="ObjectIdentifier"/> </syntax> <access>readwrite</access> <default>0.0</default> ??????????????????????? <description> The object identifier of the 1st attribute of the end point in the associated protocol specific end point table. </description> </column>
However, this value is well produced with "smiv2" output format:
svConnLocalEndPt OBJECT-TYPE SYNTAX OBJECT IDENTIFIER MAX-ACCESS read-write STATUS current DESCRIPTION "The object identifier of the 1st attribute of the end point in the associated protocol specific end point table." DEFVAL { ccitt } OK ::= { svConnEntry 2 }
Does anyone know how I could fix this problem?
Thanks Alberto Olalla