Skip to content

LINC crashes processing ofp_action_push_pbb #213

@marcsugiyama

Description

@marcsugiyama

Missing validation code?

08:56:31.587 [debug] Received message from the controller: {ofp_message,4,flow_mod,2861273967,{ofp_flow_mod,<<0,0,0,0,0,0,0,0>>,<<0,0,0,0,0,0,0,0>>,0,add,0,0,255,no_buffer,any,any,[send_flow_rem],{ofp_match,[{ofp_field,openflow_basic,in_port,false,<<0,0,0,2>>,undefined}]},[{ofp_instruction_apply_actions,2,[{ofp_action_push_pbb,6,35047},{ofp_action_set_field,13,{ofp_field,openflow_basic,pbb_isid,false,<<0,3,233>>,undefined}},{ofp_action_push_vlan,7,34984}]},{ofp_instruction_write_metadata,5,<<0,0,0,0,0,0,0,11>>,<<"ÿÿÿÿÿÿÿÿ">>},{ofp_instruction_goto_table,6,1}]}}
08:56:31.806 [error] gen_server <0.148.0> terminated with reason: no function clause matching linc_us4_flow:validate_action(0, {ofp_action_push_pbb,6,35047}, [{ofp_field,openflow_basic,in_port,false,<<0,0,0,2>>,undefined}]) line 817

Found in testing with ryu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions