Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

Correlating PacketIn with a switch DPID

I have a listener for connecting switches that gets a notification on inbound Switch connections. I am able to record the InstanceIdentifier<flowcapablenode> when the switch connects and my DataTreeChange Listener gets called. I install a table miss flow and later a packet arrives.

If ODL is managing multiple switches, how can I differentiate one switch from another when I get PacketIn notification?

i.e. I want to correlate a given inbound packet with an InstanceIdentifier<flowcapablenode>.

How can I do this? thanks.

Correlating PacketIn with a switch DPIDInstanceId<flowcapablenode>

I have a listener for connecting switches that gets a notification on inbound Switch connections. I am able to record the InstanceIdentifier<flowcapablenode> when the switch connects and my DataTreeChange Listener gets called. I install a table miss flow and later a packet arrives.

If ODL is managing multiple switches, how can I differentiate one switch from another when I get PacketIn notification?

i.e. I want to correlate a given inbound packet with an InstanceIdentifier<flowcapablenode>.

How can I do this? thanks.