def generate_possible_names(name):
    """
    Its possible for a nic to get a different hostname. This function returns
    some common patterns.
    """
    # releng management host names
    alt_names = [
        "{0}-mgmt.inband.{1}".format(
            name.split('.')[0], '.'.join(name.split('.')[2:])
        ),
        "{0}-mgmt.{1}".format(
            name.split('.')[0], '.'.join(name.split('.')[1:])
        ),
        name
    ]
    return alt_names