Add get_random_period to host_usage