File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 import types
1717 from math import log10
1818 from .sff8024 import type_of_transceiver # Dot module supports both Python 2 and Python 3 using explicit relative import methods
19+ from .sff8024 import type_abbrv_name # Dot module supports both Python 2 and Python 3 using explicit relative import methods
1920 from .sffbase import sffbase # Dot module supports both Python 2 and Python 3 using explicit relative import methods
2021except ImportError as e :
2122 raise ImportError (str (e ) + "- required module not found" )
@@ -352,6 +353,11 @@ class sff8436InterfaceId(sffbase):
352353 'size' :1 ,
353354 'type' : 'enum' ,
354355 'decode' : type_of_transceiver },
356+ 'type_abbrv_name' :
357+ {'offset' :0 ,
358+ 'size' :1 ,
359+ 'type' : 'enum' ,
360+ 'decode' : type_abbrv_name },
355361 'Extended Identifier' :
356362 {'offset' :1 ,
357363 'size' :1 ,
You can’t perform that action at this time.
0 commit comments