(self, version)
return True
Compare kernel version is greater or equal than ref_version
        version: list [int, int, int]
Compare kernel version is greater or equal than ref_version
        version: list [int, int, int]
Compare kernel version is greater or equal than ref_version version : list [ int int int ]
def oskernel_isgreater(self, version):
        """Compare kernel version is greater or equal than ref_version
        version: list [int, int, int]
        """
        match = re.search(r"([0-9.]+)", self.oskernel())
        if match:
            os_release = match.group(1)
        else:
            return True

        for (idx, os_version) in enumerate(os_release.split('.')):
            if idx >= len(version):
                break
            if int(os_version) > int(version[idx]):
                return True
            if int(os_version) < int(version[idx]):
                return False

        return True
def oskernel_isgreater ( self , version ) : match = re . search ( r"([0-9.]+)" , self . oskernel ( ) ) if match : os_release = match . group ( 1 ) else : return True for ( idx , os_version ) in enumerate ( os_release . split ( '.' ) ) : if idx >= len ( version ) : break if int ( os_version ) > int ( version [ idx ] ) : return True if int ( os_version ) < int ( version [ idx ] ) : return False return True