Hi everyone,
1. I need to identify and process remote controller 's LLDP requests
Having looked at OVS-DISCUSS previous correspondence, I've found out that as of
now
OVS doesn't support LLDP nor do I see any traces for LLDP in the code.
(please confirm)
2. I understand that remote controller's LLDP request is encapsulated
inside packet_out message
So that I would have to parse it and find the fields related to LLDP request
(please confirm)
3. Now, I need to update my HW (How my HW should send these messages is
beyond the scope of this discussion)
I guess this place is the best hook up I have:
p->ofproto_class->packet_out(p, payload, &flow,
po.ofpacts, po.ofpacts_len);
(please confirm)
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've read the porting document , but still I'm not sure about the exact place,
so please bear with me...
(if there is more than one option, please specify all of them, please name
specific functions if possible)
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 it's not handle_upcalls=> ofproto_dpif_send_packet_in because it
relates to fail_open)
If understood correctly this is the way to send packet-ins after they've been
created
But where should I create the packet-ins themselves? (the HW doesn't send the
packets in packet-in format)
Is it after handle_upcalls? Before handle_upcalls ? I'm confused
(please point me to possible options)
Thanks
Eyal
This email message and any attachments are intended solely for the use of the
addressees hereof.
This message and any attachments may contain information that is confidential,
privileged and exempt from disclosure under applicable law.
If you are not the intended recipient of this message, you are prohibited from
reading, disclosing, reproducing, distributing, disseminating or otherwise
using this transmission.
If you have received this message in error, please promptly notify the sender
at Ceragon by reply E-mail and immediately delete this message from your system.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss