import random


def smd_allocation_random(self, job, *args, **kwargs):

    """
    Allocates the job to a random SMD.
    """

    smd = random.randint(0, len(self.smds) - 1)
    return self.smds[smd]