onos-app-samples
onos-app-samples copied to clipboard
app activate org.onosproject.ifwd returned 'null'
Hi
I am using onos 1.2.2. I have cloned onos-app-samples and using ifwd. I understand that this repo is for onos 1.3 but I need the ifwd app for onos 1.2.2. I have changed the PacketProcess method in IntentReactiveForwarding.java at line 82 from
packetService.addProcessor(processor, PacketProcessor.director(2));
to
packetService.addProcessor(processor, PacketProcessor.ADVISOR_MAX + 2);
It got compiled and I have ported the .jar and .oar files at appropriate locations. I can see the ifwd app in repo which doing repo-list.
But while activating, the error in the log is app activate org.onosproject.ifwd returned 'null' Could this be because of the incorrect java file or some onos issue?