mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 10:21:52 +02:00
This patch solves the following issue:
* When flow stats reply is received, a new FlowEntry object is created. However, although flow stats entry includes meter instruction, ONOS does not assign this value (meterId) to the FlowEntry object. Change-Id: I73ad5dd75b3b77117360844fea66adb3b132cc87
This commit is contained in:
parent
7c070c8fda
commit
2bc10aed5b
@ -82,6 +82,7 @@ import org.projectfloodlight.openflow.protocol.action.OFActionSetVlanVid;
|
||||
import org.projectfloodlight.openflow.protocol.instruction.OFInstruction;
|
||||
import org.projectfloodlight.openflow.protocol.instruction.OFInstructionApplyActions;
|
||||
import org.projectfloodlight.openflow.protocol.instruction.OFInstructionGotoTable;
|
||||
import org.projectfloodlight.openflow.protocol.instruction.OFInstructionMeter;
|
||||
import org.projectfloodlight.openflow.protocol.instruction.OFInstructionStatTrigger;
|
||||
import org.projectfloodlight.openflow.protocol.instruction.OFInstructionWriteActions;
|
||||
import org.projectfloodlight.openflow.protocol.instruction.OFInstructionWriteMetadata;
|
||||
@ -445,6 +446,7 @@ public class FlowEntryBuilder {
|
||||
case EXPERIMENTER:
|
||||
break;
|
||||
case METER:
|
||||
builder.meter(MeterId.meterId(((OFInstructionMeter) in).getMeterId()));
|
||||
break;
|
||||
default:
|
||||
log.warn("Unknown instructions type {}", in.getType());
|
||||
|
Loading…
x
Reference in New Issue
Block a user