[L2SWITCH-40] Ipv4Decoder unable to listen to Ethernet packets Created: 16/Apr/15  Updated: 21/Dec/18

Status: Confirmed
Project: l2switch
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Sanjivini Naikar Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 3000
Priority: Normal

 Description   

Since the ArpDecoder, Ipv4Decoder and Ipv6Decoder subscribe for Ethernet packets, on receiving an Ethernet packet, all 3 must receive the Ethernet packet. On adding logs, only the onEthernetPacketReceived(EthernetPacketReceived notification) in the ArpDecoder gets invoked. I added logs to obtain the notificationListeners in onNotificationSubscribtion(Class<? extends Notification> aClass) in class AbstractPacketDecoder, only the EthernetDecoder and ArpDecoder get listed. On commenting .add(new ArpDecoder(notificationProviderService)) in initiateDecoders(NotificationProviderService notificationProviderService) in PacketHandlerModule, the EthernetDecoder,Ipv4Decoder and Ipv6Decoder get listed as notificationListeners.

I am using the stable/helium version of l2switch.



 Comments   
Comment by Sai MarapaReddy [ 19/Apr/16 ]

exists in stable/beryllium

Comment by Sai MarapaReddy [ 11/May/16 ]

Colin will skim through and pass on comments

Comment by Suvitha Balu [ 03/Jun/16 ]

As per the developer guide - Developer's Guide for Packet Dispatcher module.

Any one of the decoder handle the packet based on the packet.
" Decodes Ethernet packets into the either an ARP or IPv4 or IPv6 packet respectively "

https://wiki.opendaylight.org/view/L2_Switch:Helium:Developer_Guide#Developer.27s_Guide_for_Host_Tracker

Generated at Wed Feb 07 20:05:46 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.