Bogdan Dobrelya 824c12d9f9 Add cinder puppet resource
Populate from autogenerated parameters

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-07-20 09:53:15 +02:00

11 lines
215 B
Python

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