I trying to find specific WWN address from FC switch table in order to get port ID and change admin state (I already have the WWN address). I using SNMP that return WWN table for it and I get output like this:
In [39]: netsnmp.snmpwalk('.1.3.6.1.4.1.9.9.297.1.1.16.1.2',Version = 2,DestHost = 'lab-fc',Community = 'public')
Out[39]:('P\x01C\x80\x18j\xc3\x88\x10\x08\x00\x01')
How I can convert this output to OID number?