Hi,
I added a new field to the rules like the field "priority" and when i want
to delete a flow with "ovs-ofctl del-flows br0 new_field=80" or with
--strict the ovs doesn't do anything, and even i wanted to delete a flow
with priority using -strict nothing happens to the rules.
so can anyone help me in this ?
Thank you.
Best regards.


*static char * WARN_UNUSED_RESULT*
*parse_ofp_str__(struct ofputil_flow_mod *fm, int command, char *string,*
*                enum ofputil_protocol *usable_protocols)*
*{*
*    enum {*
*        F_OUT_PORT = 1 << 0,*
*        F_ACTIONS = 1 << 1,*
*        F_TIMEOUT = 1 << 3,*
*        F_PRIORITY = 1 << 4,*
*        F_FLAGS = 1 << 5,*
* F_NEW_FIELD = 1 << 6,*
*    } fields;*
*    char *save_ptr = NULL;*
*    char *act_str = NULL;*
*    char *name;*

*    *usable_protocols = OFPUTIL_P_ANY;*

*    switch (command) {*
*    case -1:*
*        fields = F_OUT_PORT;*
*        break;*

*    case OFPFC_ADD:*
*        fields = F_ACTIONS | F_TIMEOUT | F_PRIORITY | F_FLAGS
| F_NEW_FIELD;*
*        break;*

*    case OFPFC_DELETE:*
*        fields = F_OUT_PORT | F_NEW_FIELD;*
*        break;*

*    case OFPFC_DELETE_STRICT:*
*        fields = F_OUT_PORT | F_PRIORITY | F_NEW_FIELD;*
*        break;*

*    case OFPFC_MODIFY:*
*        fields = F_ACTIONS | F_TIMEOUT | F_PRIORITY | F_FLAGS
| F_NEW_FIELD;*
*        break;*

*    case OFPFC_MODIFY_STRICT:*
*        fields = F_ACTIONS | F_TIMEOUT | F_PRIORITY | F_FLAGS
| F_NEW_FIELD;*
*        break;*

*    default:*
*        OVS_NOT_REACHED();*
*    }*

-- 

Amrane Ait Zeouay

Engineer Student in The Development of Software and Systems

University of Western Brittany

Tel:  +33 7 62 25 56 03 <+33+7+62+25+56+03>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to