Hi,

I'm sorry I mistook.

The statistics of OFPP_CONTROLLER does not seems to be maintained by the switch.
I mistook the statistics of OFPP_LOCAL for that of OFPP_CONTROLLER.

The OFPP_CONTROLLER ports seem to communicate on the NON ofport,
the controller to switch connections are established through the normal
IP interfaces.
So, for monitoring the control packet loss, we can only monitor the
statistics of the interface to the controller (e.g. eth0, eth1) at the
switch, I guess...

Thanks,
Iwase

On 2016年09月01日 23:39, Osman Titu wrote:
> Hi
>
> I am really stuck on it.
>
> Could you please help me out to monitor control packets?
>
> Thanks in advance
>
> On Mon, Aug 29, 2016 at 1:26 PM, Osman Titu <[email protected]> wrote:
>
>> Hi
>>
>> I have tried with OFPP_CONTROLLER but its not giving me statistic of that
>> port.
>>
>> I don't know whats wrong with my code. its only giving me a blank list
>> instead of port statistic.
>>
>> I have attached my code.
>>
>> Thanks for helping.
>>
>> On Fri, Aug 26, 2016 at 3:31 AM, Iwase Yusuke <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> How about monitoring the switch's port which port number is
>>> OFPP_CONTROLLER?
>>> You can get this port statistics with OFPPortStatsRequest messages:
>>> e.g.)
>>>   req = ofp_parser.OFPPortStatsRequest(datapath, 0, ofp.OFPP_CONTROLLER)
>>>
>>> Thanks,
>>> Iwase
>>>
>>>
>>> On 2016年08月25日 23:22, Osman Titu wrote:
>>>
>>>> Hi
>>>>
>>>> I am using RYU. For my project I need to monitor control packets,
>>>> specifically control packet loss between switches and controller. Is
>>>> there
>>>> any way to monitor control packet losses?
>>>>
>>>> Any suggestion would highly be appreciated.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Ryu-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>>
>>>>
>>
>

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to