def check_full_range(om_name, range_start, range_end):
    condition = False
    if om_name == "mac_src" or om_name == "mac_dst":
        condition = (range_start == "00:00:00:00:00:00" and range_end.upper() == "FF:FF:FF:FF:FF:FF")
    elif om_name == "ip_src" or om_name == "ip_dst":
        condition = (range_start == "0.0.0.0" and range_end == "255.255.255.255")
    elif om_name == "eth_type":
        condition = (range_start == "0" and range_end == "65535")
    elif om_name == "ip_proto":
        condition = (range_start == "0" and range_end == "255")
    elif om_name == "tp_src" or om_name == "tp_dst":
        condition = (range_start == "0" and range_end == "65535")
    return condition
Detects if some field from rangeFS has the
dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/optin_manager/flowspace/helper.py/check_full_range