def validate(ObjectList, CurrVal, Iteration, TagList, IgnoreEmptyTags):
    plLogger = PLLogger.GetLogger('methodology')
    plLogger.LogInfo("IteratorConfigRotateTrafficMixWeightsCommand.validate()")

    # Call base class for validation
    res = base.validate(ObjectList, TagList, IgnoreEmptyTags,
                        CurrVal, Iteration)
    if res is not "":
        return res

    return ''
コード例 #2
0
def validate(ObjectList, TagList, IgnoreEmptyTags, CurrVal, Iteration):
    plLogger = PLLogger.GetLogger('methodology')
    plLogger.LogInfo(" Validate IteratorConfigFrameSizeCommand")

    # Call base class for validation
    res = base.validate(ObjectList, TagList, IgnoreEmptyTags,
                        CurrVal, Iteration)
    if res is not "":
        return res

    return ""