On Wed, 4 Jan 2017 10:43:58 +1100 Dzuy Pham <pham.d...@gmail.com> wrote:
> I am currently gathering the statistics live and want the switch to push > them to the controller when a threshold has been met. Interesting, well perhaps you could change connmgr_run() which manages all connections to issue the stats reply when it is convenient? connmgr_run(struct connmgr *mgr, void (*handle_openflow)(struct ofconn *, const struct ofpbuf *ofp_msg)) [...] LIST_FOR_EACH_SAFE (ofconn, next_ofconn, node, &mgr->all_conns) { ofconn_run(ofconn, handle_openflow); } [...] you might need to change connmgr_wait() as well to wake up properly. That's where I would start looking at :) Flavio > > On Tue, Jan 3, 2017 at 1:45 PM, Gmail <pham.d...@gmail.com> wrote: > > > I am currently gathering the statistics live and want to push them only > > when a threshold has been met. > > > > > > On 3/01/2017 2:46 AM, Flavio Leitner wrote: > > > >> May I ask why you don't want the controller to issue a Request? > >> > > > > -- Flavio _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss