Hi González,

To ensure that your controller receive any packets the actions should
redirect that packets to controller. In this case you can create a mirror
or just redirect the packets that you want.

Please, take a look on this ODL NIC code
<https://github.com/opendaylight/nic/blob/f79bbd5984d430afa30a212ee05b77f71ddbd152/of-renderer/src/main/java/org/opendaylight/nic/of/renderer/impl/AbstractFlowManager.java>
.

Regards,

On Thu, Apr 6, 2017 at 6:42 AM, Ricardo González <[email protected]
> wrote:

> Hi Rodrigues,
>
> These are the dump flows from the node that is directly connected to the
> controller:
> :~# ovs-ofctl dump-flows s0
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=1028.004s, table=0, n_packets=22, n_bytes=924,
> idle_age=823, priority=300,arp,arp_tpa=10.0.10.1 actions=output:2
>  cookie=0x0, duration=1027.993s, table=0, n_packets=11, n_bytes=462,
> idle_age=831, priority=40000,arp,arp_tpa=10.0.10.200 actions=LOCAL
>  cookie=0x0, duration=1027.971s, table=0, n_packets=8061, n_bytes=9632989,
> idle_age=2, priority=300,ip,nw_dst=10.0.10.1
> actions=mod_nw_tos:240,output:2
>  cookie=0x0, duration=1027.960s, table=0, n_packets=6098, n_bytes=506144,
> idle_age=2, priority=40000,ip,nw_dst=10.0.10.200 actions=LOCAL
>  cookie=0x0, duration=1027.982s, table=0, n_packets=11, n_bytes=462,
> idle_age=823, priority=300,arp,arp_spa=10.0.10.1 actions=output:1
>  cookie=0x0, duration=1027.949s, table=0, n_packets=5784, n_bytes=484162,
> idle_age=2, priority=300,ip,nw_src=10.0.10.1
> actions=mod_nw_tos:240,output:1
>  cookie=0x0, duration=1027.915s, table=0, n_packets=0, n_bytes=0,
> idle_age=1027, priority=200,ip,nw_src=10.0.10.1 actions=drop
>  cookie=0x0, duration=1027.903s, table=0, n_packets=0, n_bytes=0,
> idle_age=1027, priority=200,arp,arp_spa=10.0.10.1 actions=drop
>  cookie=0x0, duration=1027.891s, table=0, n_packets=0, n_bytes=0,
> idle_age=1027, priority=299,ip,nw_src=192.168.201.200 actions=output:1
>  cookie=0x0, duration=1027.879s, table=0, n_packets=0, n_bytes=0,
> idle_age=1027, priority=299,ip,nw_src=192.168.200.1 actions=output:2
>
> The idea is to intercept every DHCP package.
>
> Thank you very much
> Regards,
>
> ricardo
>
> On 05/04/17 17:53, Yrineu Rodrigues wrote:
>
> Hi Conzalez,
>
> Can you share the 'ovs-ofctl dump-flows', please?
> What kind of packet are you trying to listen?
>
> thanks,
>
> On Wed, Apr 5, 2017 at 12:46 PM, Ricardo González <
> [email protected]> wrote:
>
>> Hi OpenFlow gurus,
>>
>> I am trying to run the sample of learning-switch which is included into
>> openflowplugin.
>> I have is a simple mininet topology running and a Boron ODL controller
>> handling this topology. The desired scenario would be to be able to read
>> each package that is running over the network... so what I do is running a
>> pingall over mininet; but I never see the package reaching the callback
>> @onPackageReceived. It is like Learning-switch is never reading the
>> packet-in ... or probably there are no packages reaching the controller.
>> I am really lost in this test, would you be so kind as to give me some
>> bright over this doubts?
>>
>> Thank you very much!
>>
>> Regards,
>> ricardo
>>
>> _______________________________________________
>> openflowplugin-dev mailing list
>> [email protected]
>> https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
>>
>
>
>
> --
> *Yrineu Rodrigues*
> Software Engineer
>
> *SERRO*
> www.serro.com
> LinkedIn • Facebook • YouTube • Vimeo • Twitter  *@TeamSerro*
>
> *Disclaimer: This e-mail message contains information intended solely for
> the intended recipient and is confidential or private in nature. If you are
> not the intended recipient, you must not read, disseminate, distribute,
> copy or otherwise use this message or any file attached to this message.
> Any such unauthorized use is prohibited and may be unlawful. If you have
> received this message in error, please notify the sender immediately by
> email, facsimile or telephone and then delete the original message from
> your machine.*
>
>
> *San Francisco  |  Santa Clara  |  New York  |  Toronto  |  Mumbai  |
> Pune *
>
>
>


-- 
*Yrineu Rodrigues*
Software Engineer

*SERRO*
www.serro.com
LinkedIn • Facebook • YouTube • Vimeo • Twitter  *@TeamSerro*

*Disclaimer: This e-mail message contains information intended solely for
the intended recipient and is confidential or private in nature. If you are
not the intended recipient, you must not read, disseminate, distribute,
copy or otherwise use this message or any file attached to this message.
Any such unauthorized use is prohibited and may be unlawful. If you have
received this message in error, please notify the sender immediately by
email, facsimile or telephone and then delete the original message from
your machine.*


*San Francisco  |  Santa Clara  |  New York  |  Toronto  |  Mumbai  |  Pune*
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to