> On Oct 15, 2015, at 1:47 AM, YB <[email protected]> wrote:
> 
> Hi all,
> 
> Can I set the counters of the to-be-installed rule when adding a new rule to 
> the flow table?
> 
> To be more specific, ( ovs-ofctl add-flow s1 "in_port=2 actions=output:3" ) 
> can add a new rule in switch s1.
> With dump-flows command, we can see something like:
> "... n_packets=0, n_bytes=0,..., in_port=2, actions=output:3...".
> 
> So, my question is can I set the field of "n_packets"/"n_bytes" to an 
> arbitrary number as desired?
> Is is possible?
> If yes, how?

No.

> Also, if it is not possible in OpenVswitch, do any commercial physical SDN 
> switches support this?

I don't know why they would, but I'm not aware of any.  The usual assumption 
when these sorts of requests came up in OpenFlow is that software can keep 
track of the original value and provide a diff.

--Justin


_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to