Module Import alias FunctionDef arguments args NameParam defaults body Import alias Import alias Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list Expr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr NameLoad body If CompareEq NameLoad NameLoad body Return NameLoad Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Str If CompareEq NameLoad Str body Return TupleLoad Str Str If CompareEq NameLoad Str body Assign NameStore Str orelse Assign NameStore Str For NameStore Call AttributeLoad NameLoad attr Str NameLoad body AugAssignAdd NameStore Call AttributeLoad NameLoad attr AugAssignAdd NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Return Dict Str Str BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list
N/A N/A re generate N/A N/A modname N/A N/A N/A sys N/A functools N/A mod N/A N/A sys modules N/A modname add_attr N/A N/A k v N/A N/A N/A N/A setattr mod k v N/A N/A N/A add_attr ofp_msg_type_to_str N/A N/A functools partial _msg_type_to_str mod N/A N/A add_attr ofp_error_type_to_str N/A N/A functools partial _error_type_to_str mod N/A N/A add_attr ofp_error_code_to_str N/A N/A functools partial _error_code_to_str mod N/A N/A add_attr ofp_error_to_jsondict N/A N/A functools partial _error_to_jsondict mod N/A _get_value_name N/A N/A mod value pattern N/A N/A N/A N/A k v N/A N/A N/A mod __dict__ items N/A N/A N/A N/A k startswith pattern N/A N/A N/A v value N/A N/A k N/A Unknown N/A _msg_type_to_str N/A N/A mod type_ N/A N/A N/A 
    This method is registered as ofp_msg_type_to_str(type_) method
    into ryu.ofproto.ofproto_v1_* modules.
    And this method returns the message type as a string value for given
    'type' defined in ofp_type enum.

    Example::

        >>> ofproto.ofp_msg_type_to_str(14)
        'OFPT_FLOW_MOD(14)'
     N/A N/A %s(%d) N/A N/A _get_value_name mod type_ OFPT_ type_ N/A _error_type_to_str N/A N/A mod type_ N/A N/A N/A 
    This method is registered as ofp_error_type_to_str(type_) method
    into ryu.ofproto.ofproto_v1_* modules.
    And this method returns the error type as a string value for given
    'type' defined in ofp_error_msg structure.

    Example::

        >>> ofproto.ofp_error_type_to_str(4)
        'OFPET_BAD_MATCH(4)'
     N/A N/A %s(%d) N/A N/A _get_value_name mod type_ OFPET_ type_ N/A _get_error_names N/A N/A mod type_ code N/A N/A N/A t_name N/A _get_value_name mod type_ OFPET_ N/A N/A t_name Unknown N/A N/A N/A Unknown Unknown N/A N/A t_name OFPET_FLOW_MONITOR_FAILED N/A N/A c_name_p OFPMOFC_ N/A N/A c_name_p OFP N/A m N/A N/A re findall _(.) t_name N/A N/A c_name_p N/A N/A m upper N/A c_name_p C_ N/A c_name N/A _get_value_name mod code c_name_p N/A N/A t_name c_name N/A _error_code_to_str N/A N/A mod type_ code N/A N/A N/A 
    This method is registered as ofp_error_code_to_str(type_, code) method
    into ryu.ofproto.ofproto_v1_* modules.
    And this method returns the error code as a string value for given
    'type' and 'code' defined in ofp_error_msg structure.

    Example::

        >>> ofproto.ofp_error_code_to_str(4, 9)
        'OFPBMC_BAD_PREREQ(9)'
     N/A N/A _ c_name N/A _get_error_names mod type_ code N/A N/A %s(%d) N/A c_name code N/A _error_to_jsondict N/A N/A mod type_ code N/A N/A N/A 
    This method is registered as ofp_error_to_jsondict(type_, code) method
    into ryu.ofproto.ofproto_v1_* modules.
    And this method returns ofp_error_msg as a json format for given
    'type' and 'code' defined in ofp_error_msg structure.

    Example::

        >>> ofproto.ofp_error_to_jsondict(4, 9)
        {'code': 'OFPBMC_BAD_PREREQ(9)', 'type': 'OFPET_BAD_MATCH(4)'}
     N/A N/A t_name c_name N/A _get_error_names mod type_ code N/A N/A type code N/A %s(%d) N/A t_name type_ N/A %s(%d) N/A c_name code N/A