question

gokul1809 avatar image
gokul1809 asked gokul1809 posted

SNMP SET operation - Works on the MIB-Browser-GUI but fails on the record-and-play script

SNMP "set" operation can be applied successfully from the MIB-Browser GUI but when the same set of steps were recorded and played as a script, the "set" operation fails. 

The specific details are given below: 
Please find attached the concerned MIB files. 


In the MIB file - ATN-TP-SonetClientCtp-MIB.TXT, the syntax of certain MIB objects such as InfnServiceType, InfnJ0MessageCompliance, InfnJ0TraceMode, InfnEnableDisable, InfnLoopbackType are linked to another MIB file INFINERA-TC-MIB.txt

The set operation on these objects (whose syntax is linked to another MIB file) is having an issue. (i.e) The set operation is applied successfully on the SNMP-Browser-GUI, but fails with the record-and-play sessions. 

Please find attached the test execution report and the steps that are recorded and played.

iTest
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
gokul1809 avatar image
gokul1809 answered gokul1809 posted

 

To make it clear, I have posted specific portions of the MIB files.
In the below example, the SYNTAX of the "sonetClientCtpRxJ0TraceMode" object is defined as  InfnJ0TraceMode, which is defined as  INTEGER (but in another MIB file).
iTest, supposedly is not picking this up from another MIB file that I am getting the following error message:  Cannot convert '2' to type 'InfnJ0TraceMode', Unsupported type: InfnJ0TraceMode

From ATN-TP-SonetClientCtp-MIB.TXT
sonetClientCtpRxJ0TraceMode  OBJECT-TYPE
 SYNTAX     InfnJ0TraceMode
 MAX-ACCESS read-write
 STATUS     current
 DESCRIPTION 
 "RxJ0TraceMode"
 ::= { sonetClientCtpEntry 8 }
From  INFINERA-TC-MIB.txt
InfnJ0TraceMode ::= TEXTUAL-CONVENTION
    STATUS     current
    DESCRIPTION 
        "J0 Trace Mode."
    SYNTAX   INTEGER  { 
        transparent ( 1 ) , 
        overwrite ( 2 ) 
    } 

 

4 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

HosoonK avatar image HosoonK commented ·

This looks like a bug in the code. We will follow up after investigation.

Thanks for reporting the issue.

 

-Hosoon

0 Likes 0 ·
gokul1809 avatar image gokul1809 HosoonK commented ·

Is there a possible workaround to bye-pass this issue ?

This is keeping my testing effort blocked.

 

Thanks

0 Likes 0 ·
gokul1809 avatar image gokul1809 gokul1809 commented ·

A possible workaround to crack this would be very much appreciated.

0 Likes 0 ·
MayH avatar image MayH gokul1809 commented ·

We're looking at the bug...an update coming up first week of Jan.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.