def METHOD_NAME(br, brPort):
    if not networkConfig.isBridgeEnslavedWithDevices(br):
        return None
    for dev in os.listdir("/sys/class/net/%s/brif"%br):
        br_port = int(open("/sys/class/net/%s/brif/%s/port_no"%(br,dev)).readline().strip("\n"), 16)
        if br_port == brPort:
            return dev
    return None