Re: [ovs-discuss] Questions about creating new controller request and switching reply

2018-04-16 Thread Ben Pfaff
Please don't drop the mailing list.

OVS is multithreaded.  It does handle multiple requests at a time.

On Tue, Apr 17, 2018 at 02:45:43AM +0800, 林志仁 wrote:
> Thanks for your feedback. Yes, i want to create  flow entry statistics
> triggers.
> 
> In "ofproto.c", " ofproto set threads()" means that ovs can handle multiple
> requests at the same time?
> 
> 
> 
> 2018-04-17 2:16 GMT+08:00 Ben Pfaff :
> 
> > On Tue, Apr 17, 2018 at 01:53:15AM +0800, 林志仁 wrote:
> > > I want to create a request. When the switch receives this request, it
> > will
> > > continuously monitor the flow table until the flow table has an
> > exception.
> > > For example, one flow has a large number of packets count in few seconds,
> > > then switch will send reply to controller.
> >
> > OpenFlow 1.5 defines flow entry statistics triggers that might allow you
> > to get what you want.  Open vSwitch does not yet support statistics
> > triggers, but I am sure that we would accept a reasonable
> > implementation.
> >
> > > In the monitoring time, switch can also handle other controller request?,
> > > like flow status request or port status request
> >
> > That sounds like a quality of implementation issue.
> >
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Questions about creating new controller request and switching reply

2018-04-16 Thread Ben Pfaff
On Tue, Apr 17, 2018 at 01:53:15AM +0800, 林志仁 wrote:
> I want to create a request. When the switch receives this request, it will
> continuously monitor the flow table until the flow table has an exception.
> For example, one flow has a large number of packets count in few seconds,
> then switch will send reply to controller.

OpenFlow 1.5 defines flow entry statistics triggers that might allow you
to get what you want.  Open vSwitch does not yet support statistics
triggers, but I am sure that we would accept a reasonable
implementation.

> In the monitoring time, switch can also handle other controller request?,
> like flow status request or port status request

That sounds like a quality of implementation issue.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Questions about creating new controller request and switching reply

2018-04-16 Thread 林志仁
I want to create a request. When the switch receives this request, it will
continuously monitor the flow table until the flow table has an exception.
For example, one flow has a large number of packets count in few seconds,
then switch will send reply to controller.

In the monitoring time, switch can also handle other controller request?,
like flow status request or port status request
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Questions about creating new controller request and switching reply

2018-04-16 Thread Ben Pfaff
On Sun, Apr 15, 2018 at 08:35:23PM +0800, 林志仁 wrote:
> I want to create a request. When the switch receives this request, it will
> continuously monitor the flow table until it has the behavior I set, 

What kind of behavior do you mean?

> and it will send a reply to the controller.
> 
> Would like to ask this monitoring time, switch can also accept other
> controller request?

I don't understand the question yet.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss