On Tue, Jul 29, 2014 at 09:34:00PM +0300, ???????? ?????????? wrote:
> How can I submit a packet_out , which includes request to send LLDP
> packets to my HW which can't read openflow format ? could you explain
> please what you have in mind?

To support OpenFlow, you need to implement packet_out in the general
case.  I don't see how it matters whether it's sending out an LLDP
packet or some other kind.

> * 4.       Now, I'd like my HW to send the responses to OVS (so that OVS
> would send packet_in messages to the remote controller)*>
> >
> * Here I'm at a loss: What are my options to send update messages from my
> HW to OVS*>

I don't know how to program your hardware.

> * 5.       As for sending the messages back to the remote controller*>
> >
> * I saw the following function calls:*>
> >
> * dpif->dpif_class->run => run => connmge_send_packet_in =>
> schedule_packet_in =>do_send_packet_ins*>
> >
> >
> >
> * which mechanism invokes this?*>
> >
> * Is it handle_upcalls=> dpif_operate=> dpif->dpif_class->operate ???*>

I guess you're looking for execute_controller_action() in
ofproto-dpif-xlate.c.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to