public static Flow toFlow(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow source, Node node) {
final Flow target = new Flow();
genericFlowToAdFlow(source, target);
-
+
target.setMatch(toMatch(source.getMatch()));
List<Action> actions = getAction(source);
return target;
}
-
+
/**
* @param source notification, missing instructions
* @param node corresponding node where the flow change occured
}
target.setId(source.getCookie().getValue().longValue());
}
-
+
public static List<Action> getAction(
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow source) {
if (source.getInstructions() != null) {