def get_auth_url():
 try:
  return __opts__['keystone.auth_url']
 except KeyError:
  return 'http://localhost:35357/v2.0'

def get_auth_url ( ) : try : return __opts__ [ 'keystone.auth_url' ] except KeyError : return 'http://localhost:35357/v2.0'
try and get the url from the config .