can you paste the code where you build and send your stats request?

On Tue, Nov 30, 2010 at 5:48 PM, Derek Cormier
<derek.corm...@lab.ntt.co.jp>wrote:

>  Interesting. I used Open vSwitch's ovs-ofctl dump-flows and I can see the
> flow. I am waiting three seconds after installing the flow before requesting
> the flow stats, so that should be enough time...
>
> -Derek
>
>
> On 12/01/2010 10:40 AM, Kyriakos Zarifis wrote:
>
> Can you look at the flowtable using dpctl to verify that it is empty?
> ( could it be the timing? are you sending the request right after you send
> the flowmod?)
>
> On Tue, Nov 30, 2010 at 5:33 PM, Derek Cormier <
> derek.corm...@lab.ntt.co.jp> wrote:
>
>> Oh, and I forgot to mention that I am sending a flow stats request.
>>
>>
>> On 12/01/2010 10:30 AM, Derek Cormier wrote:
>>
>>> Hello,
>>>
>>> I am trying to add a flow to a switch in my Nox component. After the
>>> switch joins the datapath, I create a simple flow to test that it works:
>>>
>>> flow = dict()
>>> flow[NW_PROTO] = UDP_PROTOCOL
>>> self.install_datapath_flow(dpid, flow, OFP_FLOW_PERMANENT,
>>> OFP_FLOW_PERMANENT, [[OFPAT_OUTPUT, [0, OFPP_CONTROLLER]]])
>>>
>>> I then receive a flow stats reply event in my handler, but event.flows =
>>> [] and event.flowcount = 0. Do you know what I am doing wrong?
>>>
>>> Thank you,
>>> Derek
>>>
>>>
>>>
>>> _______________________________________________
>>> nox-dev mailing list
>>> nox-dev@noxrepo.org
>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
>
>
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to