Update 'freenas_network_unlock.py'
This commit is contained in:
@@ -49,7 +49,7 @@ def request(resource, method='GET', data=None):
|
|||||||
|
|
||||||
#if ping(config.HOSTNAME):
|
#if ping(config.HOSTNAME):
|
||||||
POOLS = request('storage/volume/', 'GET')
|
POOLS = request('storage/volume/', 'GET')
|
||||||
logging.debug('POOL Information: {}'.format(POOLS)
|
logging.debug('POOL Information: {}'.format(POOLS))
|
||||||
#VOLUMES = requests.get(
|
#VOLUMES = requests.get(
|
||||||
# 'https://{}/api/v1.0/storage/volume/'.format(config.HOSTNAME),
|
# 'https://{}/api/v1.0/storage/volume/'.format(config.HOSTNAME),
|
||||||
# auth=('root', '{}'.format(config.ROOT_PASSWORD)),
|
# auth=('root', '{}'.format(config.ROOT_PASSWORD)),
|
||||||
|
|||||||
Reference in New Issue
Block a user