1b28b8f3c4
Change-Id: Ie8d8c092e64890af2f0886303ef3f16752ba5b76
11 lines
215 B
Python
11 lines
215 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'], resource.args['service_port'])
|
|
)
|