def random_name(size=6):
 return ('CLOUD-TEST-' + ''.join((random.choice((string.ascii_uppercase + string.digits)) for x in range(size))))

def random_name ( size = 6 ) : return ( 'CLOUD-TEST-' + '' . join ( ( random . choice ( ( string . ascii_uppercase + string . digits ) ) for x in range ( size ) ) ) )
generates a random cloud instance name .