def generate_glance_url():
 return ('%s://%s:%d' % (CONF.glance_protocol, CONF.glance_host, CONF.glance_port))

def generate_glance_url ( ) : return ( '%s://%s:%d' % ( CONF . glance_protocol , CONF . glance_host , CONF . glance_port ) )
generate the url to glance .