use of org.openkilda.floodlight.model.FlowSegmentMetadata in project open-kilda by telstra.
the class EgressFlowSegmentRemoveCommandTest method makeCommand.
@Override
protected EgressFlowSegmentRemoveCommand makeCommand(FlowEndpoint endpoint, FlowEndpoint ingressEndpoint, FlowTransitEncapsulation encapsulation) {
MessageContext messageContext = new MessageContext();
UUID commandId = UUID.randomUUID();
FlowSegmentMetadata metadata = new FlowSegmentMetadata("egress-flow-segment-remove-flow-id", new Cookie(101), false);
int islPort = 8;
return new EgressFlowSegmentRemoveCommand(messageContext, commandId, metadata, endpoint, ingressEndpoint, islPort, encapsulation, null);
}
Aggregations