Hi, I am trying to bind IDataPacketService into my application. Unfortunately, I am having trouble with finding corresponding yang service model. For notification service it was:
<notification-service> <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding"> binding:binding-notification-service </type> <name>binding-notification-broker</name> </notification-service>
But I have no clue what to declare for DataPacketService access.
Basically I am interested in transforming PacketRecieved (or RawPacket) into one of the classes implementing Packet interface (EthernetPacket etc..)
I have already looked into l2switch module, but there they have done in manually (by hand checking packet header fields). On the other hand, example from http://www.frank-durr.de/?p=84 is using IDataPacketServices method decodeDataPacket - which seems a lot more logical as I am sure that somebody has already written code that does such translation(parsing).
Can any body give me a hint on how to do it?