import requests from solar.core.log import log def test(resource): log.debug('Testing keystone_service') requests.get( 'http://%s:%s' % (resource.args['ip'], resource.args['port']) )