solar/resources/cinder_api_puppet/test.py
2015-08-03 16:19:58 +02:00

11 lines
227 B
Python

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