All URIs are relative to https://YOUR_CLUSTER_HOSTNAME_OR_NODE_IP:8080
Method | HTTP request | Description |
---|---|---|
create_drives_drive_add_item | POST /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/add | |
create_drives_drive_firmware_update_item | POST /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/firmware/update | |
create_drives_drive_format_item | POST /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/format | |
create_drives_drive_purpose_item | POST /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/purpose | |
create_drives_drive_smartfail_item | POST /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/smartfail | |
create_drives_drive_stopfail_item | POST /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/stopfail | |
create_drives_drive_suspend_item | POST /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/suspend | |
create_node_reboot_item | POST /platform/3/cluster/nodes/{Lnn}/reboot | |
create_node_shutdown_item | POST /platform/3/cluster/nodes/{Lnn}/shutdown | |
get_drives_drive_firmware | GET /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/firmware | |
get_node_drive | GET /platform/3/cluster/nodes/{Lnn}/drives/{NodeDriveId} | |
get_node_drives | GET /platform/3/cluster/nodes/{Lnn}/drives | |
get_node_drives_purposelist | GET /platform/3/cluster/nodes/{Lnn}/drives-purposelist | |
get_node_hardware | GET /platform/3/cluster/nodes/{Lnn}/hardware | |
get_node_hardware_fast | GET /platform/3/cluster/nodes/{Lnn}/hardware-fast | |
get_node_partitions | GET /platform/3/cluster/nodes/{Lnn}/partitions | |
get_node_sensors | GET /platform/3/cluster/nodes/{Lnn}/sensors | |
get_node_state | GET /platform/3/cluster/nodes/{Lnn}/state | |
get_node_state_readonly | GET /platform/3/cluster/nodes/{Lnn}/state/readonly | |
get_node_state_servicelight | GET /platform/3/cluster/nodes/{Lnn}/state/servicelight | |
get_node_state_smartfail | GET /platform/3/cluster/nodes/{Lnn}/state/smartfail | |
get_node_status | GET /platform/3/cluster/nodes/{Lnn}/status | |
get_node_status_batterystatus | GET /platform/3/cluster/nodes/{Lnn}/status/batterystatus | |
list_drives_drive_firmware_update | GET /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/firmware/update | |
update_node_state_readonly | PUT /platform/3/cluster/nodes/{Lnn}/state/readonly | |
update_node_state_servicelight | PUT /platform/3/cluster/nodes/{Lnn}/state/servicelight | |
update_node_state_smartfail | PUT /platform/3/cluster/nodes/{Lnn}/state/smartfail |
Empty create_drives_drive_add_item(drives_drive_add_item, lnn, driveid)
Add a drive to a node.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
drives_drive_add_item = isi_sdk_8_0.Empty() # Empty |
lnn = 56 # int |
driveid = 'driveid_example' # str |
try:
api_response = api_instance.create_drives_drive_add_item(drives_drive_add_item, lnn, driveid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->create_drives_drive_add_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
drives_drive_add_item | Empty | ||
lnn | int | ||
driveid | str |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Empty create_drives_drive_firmware_update_item(drives_drive_firmware_update_item, lnn, driveid)
Start a drive firmware update.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
drives_drive_firmware_update_item = isi_sdk_8_0.DrivesDriveFirmwareUpdateItem() # DrivesDriveFirmwareUpdateItem |
lnn = 56 # int |
driveid = 'driveid_example' # str |
try:
api_response = api_instance.create_drives_drive_firmware_update_item(drives_drive_firmware_update_item, lnn, driveid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->create_drives_drive_firmware_update_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
drives_drive_firmware_update_item | DrivesDriveFirmwareUpdateItem | ||
lnn | int | ||
driveid | str |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Empty create_drives_drive_format_item(drives_drive_format_item, lnn, driveid)
Format a drive for use by OneFS.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
drives_drive_format_item = isi_sdk_8_0.DrivesDriveFormatItem() # DrivesDriveFormatItem |
lnn = 56 # int |
driveid = 'driveid_example' # str |
try:
api_response = api_instance.create_drives_drive_format_item(drives_drive_format_item, lnn, driveid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->create_drives_drive_format_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
drives_drive_format_item | DrivesDriveFormatItem | ||
lnn | int | ||
driveid | str |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Empty create_drives_drive_purpose_item(drives_drive_purpose_item, lnn, driveid)
Assign a drive to a specific use case.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
drives_drive_purpose_item = isi_sdk_8_0.DrivesDrivePurposeItem() # DrivesDrivePurposeItem |
lnn = 56 # int |
driveid = 'driveid_example' # str |
try:
api_response = api_instance.create_drives_drive_purpose_item(drives_drive_purpose_item, lnn, driveid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->create_drives_drive_purpose_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
drives_drive_purpose_item | DrivesDrivePurposeItem | ||
lnn | int | ||
driveid | str |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Empty create_drives_drive_smartfail_item(drives_drive_smartfail_item, lnn, driveid)
Remove a drive from use by OneFS.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
drives_drive_smartfail_item = isi_sdk_8_0.Empty() # Empty |
lnn = 56 # int |
driveid = 'driveid_example' # str |
try:
api_response = api_instance.create_drives_drive_smartfail_item(drives_drive_smartfail_item, lnn, driveid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->create_drives_drive_smartfail_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
drives_drive_smartfail_item | Empty | ||
lnn | int | ||
driveid | str |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Empty create_drives_drive_stopfail_item(drives_drive_stopfail_item, lnn, driveid)
Stop restriping from a smartfailing drive.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
drives_drive_stopfail_item = isi_sdk_8_0.Empty() # Empty |
lnn = 56 # int |
driveid = 'driveid_example' # str |
try:
api_response = api_instance.create_drives_drive_stopfail_item(drives_drive_stopfail_item, lnn, driveid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->create_drives_drive_stopfail_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
drives_drive_stopfail_item | Empty | ||
lnn | int | ||
driveid | str |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Empty create_drives_drive_suspend_item(drives_drive_suspend_item, lnn, driveid)
Temporarily remove a drive from use by OneFS.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
drives_drive_suspend_item = isi_sdk_8_0.Empty() # Empty |
lnn = 56 # int |
driveid = 'driveid_example' # str |
try:
api_response = api_instance.create_drives_drive_suspend_item(drives_drive_suspend_item, lnn, driveid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->create_drives_drive_suspend_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
drives_drive_suspend_item | Empty | ||
lnn | int | ||
driveid | str |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Empty create_node_reboot_item(node_reboot_item, lnn)
Reboot the node specified by .
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
node_reboot_item = isi_sdk_8_0.Empty() # Empty |
lnn = 56 # int |
try:
api_response = api_instance.create_node_reboot_item(node_reboot_item, lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->create_node_reboot_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
node_reboot_item | Empty | ||
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Empty create_node_shutdown_item(node_shutdown_item, lnn)
Shutdown the node specified by .
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
node_shutdown_item = isi_sdk_8_0.Empty() # Empty |
lnn = 56 # int |
try:
api_response = api_instance.create_node_shutdown_item(node_shutdown_item, lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->create_node_shutdown_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
node_shutdown_item | Empty | ||
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DrivesDriveFirmware get_drives_drive_firmware(lnn, driveid)
Retrieve drive firmware information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
driveid = 'driveid_example' # str |
try:
api_response = api_instance.get_drives_drive_firmware(lnn, driveid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_drives_drive_firmware: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int | ||
driveid | str |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeDrives get_node_drive(node_drive_id, lnn)
Retrieve drive information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
node_drive_id = 'node_drive_id_example' # str | Retrieve drive information.
lnn = 56 # int |
try:
api_response = api_instance.get_node_drive(node_drive_id, lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_drive: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
node_drive_id | str | Retrieve drive information. | |
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeDrives get_node_drives(lnn)
List the drives on this node.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_drives(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_drives: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeDrivesPurposelist get_node_drives_purposelist(lnn)
Lists the available purposes for drives in this node.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_drives_purposelist(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_drives_purposelist: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeHardware get_node_hardware(lnn)
Retrieve node hardware identity information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_hardware(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_hardware: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeHardwareFast get_node_hardware_fast(lnn)
Quickly retrieve a subset of node hardware identity information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_hardware_fast(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_hardware_fast: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodePartitions get_node_partitions(lnn)
Retrieve node partition information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_partitions(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_partitions: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeSensors get_node_sensors(lnn)
Retrieve node sensor information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_sensors(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_sensors: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeState get_node_state(lnn)
Retrieve node state information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_state(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_state: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeStateReadonly get_node_state_readonly(lnn)
Retrieve node readonly state information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_state_readonly(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_state_readonly: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeStateServicelight get_node_state_servicelight(lnn)
Retrieve node service light state information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_state_servicelight(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_state_servicelight: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeStateSmartfail get_node_state_smartfail(lnn)
Retrieve node smartfail state information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_state_smartfail(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_state_smartfail: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeStatus get_node_status(lnn)
Retrieve node status information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_status(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_status: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeStatusBatterystatus get_node_status_batterystatus(lnn)
Retrieve node battery status information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
try:
api_response = api_instance.get_node_status_batterystatus(lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->get_node_status_batterystatus: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DrivesDriveFirmwareUpdate list_drives_drive_firmware_update(lnn, driveid)
Retrieve firmware update information.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 56 # int |
driveid = 'driveid_example' # str |
try:
api_response = api_instance.list_drives_drive_firmware_update(lnn, driveid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterNodesApi->list_drives_drive_firmware_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | int | ||
driveid | str |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_node_state_readonly(node_state_readonly, lnn)
Modify one or more node readonly state settings.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
node_state_readonly = isi_sdk_8_0.NodeStateReadonlyExtended() # NodeStateReadonlyExtended |
lnn = 56 # int |
try:
api_instance.update_node_state_readonly(node_state_readonly, lnn)
except ApiException as e:
print("Exception when calling ClusterNodesApi->update_node_state_readonly: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
node_state_readonly | NodeStateReadonlyExtended | ||
lnn | int |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_node_state_servicelight(node_state_servicelight, lnn)
Modify one or more node service light state settings.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
node_state_servicelight = isi_sdk_8_0.NodeStateServicelightExtended() # NodeStateServicelightExtended |
lnn = 56 # int |
try:
api_instance.update_node_state_servicelight(node_state_servicelight, lnn)
except ApiException as e:
print("Exception when calling ClusterNodesApi->update_node_state_servicelight: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
node_state_servicelight | NodeStateServicelightExtended | ||
lnn | int |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_node_state_smartfail(node_state_smartfail, lnn)
Modify smartfail state of the node. Only the 'smartfailed' body member has any effect on node smartfail state.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.ClusterNodesApi(isi_sdk_8_0.ApiClient(configuration))
node_state_smartfail = isi_sdk_8_0.NodeStateSmartfailExtended() # NodeStateSmartfailExtended |
lnn = 56 # int |
try:
api_instance.update_node_state_smartfail(node_state_smartfail, lnn)
except ApiException as e:
print("Exception when calling ClusterNodesApi->update_node_state_smartfail: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
node_state_smartfail | NodeStateSmartfailExtended | ||
lnn | int |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]