-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hello, everyone,as a beginner in this field and I would like to consult you experts about a question.I try to implement an onos meter example based on p4 meter in the dataplane. I read the repo of fabric-tna, and then according to the code of fabric-tna, I implemented a simple p4 program and a control plane program for onos to deliver meter configuration, but onos reported an exception during the operation, as shown in the figure.

I checked the code carefully again. I found that the difference between my code and fabric-tna is that my code doesn't add the UPFProgrammable.class and its related implementation in pipeconf. I don’t know if it can solve the issue in my code if i add this part.
I also read the repo of up4, the meter operation in it is very different from fabric-tna. It implements a MeterListener, and sends MeterRequest when MeterEvent is processed. I don't know when will invoke the MeterListener event ? And when the Meter event is triggered, who configures the meter configuration?