solar/resources/keystone_service/test.py
2015-07-09 13:02:39 +02:00

11 lines
218 B
Python

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