def METHOD_NAME(self, algo=SAI_HASH_ALGORITHM_CRC):
    """
    Set lag hash algorithm.
    Args:
        algo (int): hash algorithm id
    """
    sai_thrift_set_switch_attribute(
        self.client, lag_default_hash_algorithm=algo)