src-java/flowhs-topology/flowhs-storm-topology/src/main/java/org/openkilda/wfm/topology/flowhs/validation/FlowValidator.java
/**
     * Validates the specified flow.
     *
     * @param flow a flow to be validated.
     * @param bulkUpdateFlowIds flows to be ignored when check endpoints.
     * @throws InvalidFlowException is thrown if a violation is found.
     */
Validates the specified flow.
@param flow a flow to be validated.
@param bulkUpdateFlowIds flows to be ignored when check endpoints.
@throws InvalidFlowException is thrown if a violation is found.
Validates the specified flow . @param flow a flow to be validated . @param bulkUpdateFlowIds flows to be ignored when check endpoints . @throws InvalidFlowException is thrown if a violation is found .
public void validate(RequestedFlow flow, Set<String> bulkUpdateFlowIds)
            throws InvalidFlowException, UnavailableFlowEndpointException {
        baseFlowValidate(flow, bulkUpdateFlowIds);
        checkFlags(flow);
        checkBandwidth(flow);
        checkSwitchesSupportLldpAndArpIfNeeded(flow);
        if (StringUtils.isNotBlank(flow.getDiverseFlowId())) {
            checkDiverseFlow(flow);
        }
        validateFlowLoop(flow);
    }
public void validate ( RequestedFlow flow , Set < String > bulkUpdateFlowIds ) throws InvalidFlowException , UnavailableFlowEndpointException { baseFlowValidate ( flow , bulkUpdateFlowIds ) ; checkFlags ( flow ) ; checkBandwidth ( flow ) ; checkSwitchesSupportLldpAndArpIfNeeded ( flow ) ; if ( StringUtils . isNotBlank ( flow . getDiverseFlowId ( ) ) ) { checkDiverseFlow ( flow ) ; } validateFlowLoop ( flow ) ; }
Validates the specified flow.
Validates the specified flow .