> -----Original Message----- > From: ovs-dev-boun...@openvswitch.org > [mailto:ovs-dev-boun...@openvswitch.org] On Behalf Of SatyaValli > Sent: Monday, 01 January, 2018 11:59 > To: d...@openvswitch.org > Cc: Manasa Cherukupally <manasa.cherukupa...@tcs.com>; Surya Muttamsetty > <muttamsetty.su...@tcs.com>; Pavani Panthagada > <p.pava...@tcs.com>; SatyaValli <satyavalli.r...@tcs.com>; Lavanya Harivelam > <harivelam.lava...@tcs.com> > Subject: [ovs-dev] [PATCH V2] OF1.5/EXT-334 OXS/Extensible Flow Entry > Statistics Support > > From: SatyaValli <satyavalli.r...@tcs.com> > > This Patch provides implementation Existing flow entry statistics are > redefined as standard OXS(OpenFlow Extensible Statistics) fields for > displaying the arbitrary flow stats.The existing Flow Stats were renamed > as Flow Description. > > To support this implementation below messages are newly added > > OFPRAW_OFPT15_FLOW_REMOVED, > OFPRAW_OFPST15_FLOW_REQUEST, > OFPRAW_OFPST15_FLOW_DESC_REQUEST, > OFPRAW_OFPST15_AGGREGATE_REQUEST, > OFPRAW_OFPST15_FLOW_REPLY, > OFPRAW_OFPST15_FLOW_DESC_REPLY, > OFPRAW_OFPST15_AGGREGATE_REPLY, > > The current commit adds support for the new feature in flow statistics > multipart messages,aggregate multipart messages and OXS support for flow > removal message, individual flow description messages. > > "ovs-ofctl dump-flows" needs to be provided with the arbitrary OXS fields > for displaying the desired flow stats. > > Below are Commands to display OXS stats field wise > > Flow Statistics Multipart > ovs-ofctl dump-flows -O OpenFlow15 <bridge> idle_time > ovs-ofctl dump-flows -O OpenFlow15 <bridge> packet_count > ovs-ofctl dump-flows -O OpenFlow15 <bridge> byte_count
This would break backward compatibility for one of the most frequently used OVS CLI commands. Why don't you introduce a new command such as "ovs-ofctl dump-flow-stats" for the new OXS stats? > > Aggregate Flow Statistics Multipart > ovs-ofctl dump-aggregate -O OpenFlow15 <bridge> packet_count > ovs-ofctl dump-aggregate -O OpenFlow15 <bridge> byte_count > > Flow Descritption > ovs-ofctl dump-flow-desc -O OpenFlow15 <bridge> idle_time > ovs-ofctl dump-flow-desc -O OpenFlow15 <bridge> packet_count > ovs-ofctl dump-flow-desc -O OpenFlow15 <bridge> byte_count > _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev