If interface counters addresses your use case then you are right, you probably 
don’t need to extra complexity of flow analysis. Flow analytics are useful if 
you want to compute more granular quotas (distinguishing traffic by 
destination, protocol, etc) or if you want to calculate cluster wide quotas.

What time period are you looking at for the quota control? If it’s small 
enough, then you are essentially performing rate limiting and you could just 
use Open vSwitch QoS controls:

http://docs.openvswitch.org/en/latest/howto/qos/ 
<http://docs.openvswitch.org/en/latest/howto/qos/>

> On Nov 6, 2017, at 6:39 PM, Amar Padmanabhan <[email protected]> wrote:
> 
> Hi Peter
> Thanks for the mail, we have a local controller instance that is running on 
> the host so the sflow or periodic poll seem equivalent to me. Is there a way 
> to do this on path?
> - Amar
> 
> On 11/6/17, 8:03 AM, "Peter Phaal" <[email protected]> wrote:
> 
>    Amar,
> 
>    Open vSwitch includes sFlow / NetFlow instrumentation. Using flow data to 
> drive your quota controller reduces the complexity of the OpenFlow rules 
> since you no longer need granular rules to provide the traffic measurements. 
> 
>    The following article describes building a quota controller using sFlow:
> 
>    
> https://urldefense.proofpoint.com/v2/url?u=http-3A__blog.sflow.com_2017_09_real-2Dtime-2Dvisibility-2Dand-2Dcontrol-2Dof.html&d=DwIFAg&c=5VD0RTtNlTh3ycd41b3MUw&r=1N_8hJDvy8eod04dYLy1EEUb1Kv1C1D7BI6HusLWBwA&m=VAq2E_vnC2DSUjtbm3OLDDpujPc5nNbyE3Xo1XRyqag&s=yKFKF_3x27O3ktKXYqRV4aun7gHDy_1zgYxu0WWqn7M&e=
> 
>    Peter
> 
>> On Nov 6, 2017, at 7:21 AM, Amar Padmanabhan <[email protected]> wrote:
>> 
>> Hi all,
>> What is the best way to model quota through ovs? Right now the best thing we 
>> could come up with is to periodically poll a flow stat and install a drop 
>> flow when the flow stat goes past the quota.
>> Thanks
>> - Amar
>> _______________________________________________
>> discuss mailing list
>> [email protected]
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddiscuss&d=DwIFAg&c=5VD0RTtNlTh3ycd41b3MUw&r=1N_8hJDvy8eod04dYLy1EEUb1Kv1C1D7BI6HusLWBwA&m=VAq2E_vnC2DSUjtbm3OLDDpujPc5nNbyE3Xo1XRyqag&s=bqPmWPuy2G5w-_tH_DTOU-MA3BWnKG9ug5Xjx3liMzg&e=
> 
> 
> 

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to