solar-resources/resources/node_network_puppet/1.0.0/test.py
Jedrzej Nowak 1b28b8f3c4 Change resources structure to match repository one
Change-Id: Ie8d8c092e64890af2f0886303ef3f16752ba5b76
2015-12-18 18:01:20 +01:00

12 lines
269 B
Python

import requests
from solar.core.log import log
def test(resource):
log.debug('Testing node_network_puppet')
# requests.get(
# 'http://%s:%s' % (resource.args['ip'].value, resource.args['port'].value)
# TODO(bogdando) figure out how to test this
# )