Thank you for your replies.
Well imho if i can set max idle time, there should be possibility to set
hard timeout...
I am not best programmer (well... i am not programmer), but i found this
in code (in lib/learning-switch.c):
/* The output port is known, or we always flood everything, so add a*
new flow. */memset(&fm, 0, sizeof fm);match_init(&fm.match, &flow,
&sw->wc);ofputil_normalize_match_quiet(&fm.match);fm.priority =
0;fm.table_id = 0xff;fm.command = OFPFC_ADD;fm.idle_timeout =
sw->max_idle;fm.buffer_id = pi.buffer_id;fm.out_port =
OFPP_NONE;fm.ofpacts = ofpbuf_data(&ofpacts);fm.ofpacts_len =
ofpbuf_size(&ofpacts);buffer = ofputil_encode_flow_mod(&fm,
sw->protocol);queue_tx(sw, buffer);
Maybe i can add some "fm." line (something like fm.hard_timeout ?), and
just hardcode it?
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss