Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OF1.4: Cannot set importance for a flow #338

Open
alexandravlad opened this issue Jul 14, 2014 · 0 comments
Open

OF1.4: Cannot set importance for a flow #338

alexandravlad opened this issue Jul 14, 2014 · 0 comments

Comments

@alexandravlad
Copy link

Tested with Luxoft's Twister framework, OF1.4
Create and insert a flow that has the importance = 6
Output from LINC console:

16:44:21.332 [debug] Received message from the controller: {ofp_message,5,flow_mod,2819554221,{ofp_flow_mod,<<0,0,0,0,0,0,0,2>>,<<0,0,0,0,0,0,0,0>>,0,add,0,0,32768,no_buffer,2,any,[],{ofp_match,[{ofp_field,openflow_basic,in_port,false,<<0,0,0,4>>,undefined}]},[{ofp_instruction_apply_actions,2,[{ofp_action_output,16,2,0}]}]}}
16:44:21.333 [debug] batch started
16:44:21.333 [debug] queue empty
16:44:21.333 [debug] [FLOWMOD] Added new flow entry with id {32768,#Ref<0.0.0.1173>}: {flow_entry,{32768,#Ref<0.0.0.1173>},32768,{ofp_match,[{ofp_field,openflow_basic,in_port,false,<<0,0,0,4>>,undefined}]},<<0,0,0,0,0,0,0,2>>,[],{1405,345461,333564},{infinity,0,0},{infinity,0,0},[{ofp_instruction_apply_actions,2,[{ofp_action_output,16,2,0}]}]}
16:44:21.334 [debug] monitors: []
16:44:21.334 [debug] matches: []
16:44:21.334 [debug] batch ended
16:44:21.334 [debug] queue empty
16:44:25.342 [debug] Received message from the controller: {ofp_message,5,multipart_request,1397097184,{ofp_flow_stats_request,[],all,2,any,<<0,0,0,0,0,0,0,0>>,<<0,0,0,0,0,0,0,0>>,{ofp_match,[]}}}
16:44:25.344 [debug] Sent message to controller: {ofp_message,5,multipart_request,1397097184,{ofp_flow_stats_reply,[],[{ofp_flow_stats,0,4,8868000,32768,0,0,[],<<0,0,0,0,0,0,0,2>>,0,0,{ofp_match,[{ofp_field,openflow_basic,in_port,false,<<0,0,0,4>>,undefined}]},[{ofp_instruction_apply_actions,2,[{ofp_action_output,16,2,0}]}]}]}}

Test result: Switch seems to accept the specific flow, but when get flow stats from switch, the importance is equal to 0 instead of 6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant