lagopus icon indicating copy to clipboard operation
lagopus copied to clipboard

table features request(OFPMP_TABLE_FEATURES) issue

Open nehemiahchang opened this issue 10 years ago • 0 comments

In ofp spec 1.3.4, "If the request body contains an array of one or more ofp_table_features structs, the switch will attempt to change its flow tables to match the requested flow table configuration". It means that one or more ofp_table_features struct could be sent by by multipart. (1)A controller wants to send more than one table features request. For example, 3 table features. The message will be | ofp_table_features+table_property | ofp_table_features+table_property | ofp_table+table_property |

(2)Then this message are encapsulated in multipart mechanism. For example, into 2 ofp messages.

(3)the message is reassembled by switch. The switch processes this message and find that 3 table features struct are in this message.

I trace the code in function ofp_table_features_request_handler(...) in file ofp_table_features_handler.c. It seems that only one ofp_table_features is handled. If more thane one ofp_table_features, this code can not handle that.

nehemiahchang avatar Jan 29 '15 03:01 nehemiahchang