All URIs are relative to https://YOUR_CLUSTER_HOSTNAME_OR_NODE_IP:8080
Method | HTTP request | Description |
---|---|---|
create_cluster_add_node_item | POST /platform/3/cluster/add-node | |
get_cluster_config | GET /platform/3/cluster/config | |
get_cluster_email | GET /platform/1/cluster/email | |
get_cluster_external_ips | GET /platform/2/cluster/external-ips | |
get_cluster_identity | GET /platform/3/cluster/identity | |
get_cluster_node | GET /platform/3/cluster/nodes/{ClusterNodeId} | |
get_cluster_nodes | GET /platform/3/cluster/nodes | |
get_cluster_nodes_available | GET /platform/3/cluster/nodes-available | |
get_cluster_owner | GET /platform/1/cluster/owner | |
get_cluster_statfs | GET /platform/1/cluster/statfs | |
get_cluster_time | GET /platform/3/cluster/time | |
get_cluster_timezone | GET /platform/3/cluster/timezone | |
get_cluster_version | GET /platform/3/cluster/version | |
get_timezone_region | GET /platform/3/cluster/timezone/regions/{TimezoneRegionId} | |
get_timezone_settings | GET /platform/3/cluster/timezone/settings | |
update_cluster_email | PUT /platform/1/cluster/email | |
update_cluster_identity | PUT /platform/3/cluster/identity | |
update_cluster_node | PUT /platform/3/cluster/nodes/{ClusterNodeId} | |
update_cluster_owner | PUT /platform/1/cluster/owner | |
update_cluster_time | PUT /platform/3/cluster/time | |
update_cluster_timezone | PUT /platform/3/cluster/timezone | |
update_timezone_settings | PUT /platform/3/cluster/timezone/settings |
Empty create_cluster_add_node_item(cluster_add_node_item)
Serial number and arguments of node to add.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
cluster_add_node_item = isi_sdk_8_0.ClusterAddNodeItem() # ClusterAddNodeItem |
try:
api_response = api_instance.create_cluster_add_node_item(cluster_add_node_item)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->create_cluster_add_node_item: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cluster_add_node_item | ClusterAddNodeItem |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterConfig get_cluster_config()
Retrieve the cluster 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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_config()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_config: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterEmail get_cluster_email()
Get the cluster email notification 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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_email()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_email: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[str] get_cluster_external_ips()
Retrieve the cluster IP addresses including IPV4 and IPV6.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_external_ips()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_external_ips: %s\n" % e)
This endpoint does not need any parameter.
list[str]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterIdentity get_cluster_identity()
Retrieve the login 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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_identity()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_identity: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterNodes get_cluster_node(cluster_node_id)
Retrieve node 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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
cluster_node_id = 56 # int | Retrieve node information.
try:
api_response = api_instance.get_cluster_node(cluster_node_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_node: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cluster_node_id | int | Retrieve node information. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterNodes get_cluster_nodes()
List the nodes on this cluster.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_nodes()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_nodes: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterNodesAvailable get_cluster_nodes_available()
List all nodes that are available to add to this cluster.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_nodes_available()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_nodes_available: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterOwner get_cluster_owner()
Get the cluster contact info 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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_owner()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_owner: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterStatfs get_cluster_statfs()
Retrieve the filesystem statistics.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_statfs()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_statfs: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterTime get_cluster_time()
Retrieve the current time as reported by each 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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_time()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_time: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterTimezone get_cluster_timezone()
Get the cluster timezone.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_timezone()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_timezone: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterVersion get_cluster_version()
Retrieve the OneFS version as reported by each 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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_version()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_cluster_version: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TimezoneRegions get_timezone_region(timezone_region_id, sort=sort, resume=resume, show_all=show_all, dst_reset=dst_reset, limit=limit, dir=dir)
List timezone regions.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
timezone_region_id = 'timezone_region_id_example' # str | List timezone regions.
sort = 'sort_example' # str | The field that will be used for sorting. (optional)
resume = 'resume_example' # str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). (optional)
show_all = true # bool | Show all timezones within the region specified in the URI. (optional)
dst_reset = true # bool | This query arg is not needed in normal use cases. (optional)
limit = 56 # int | Return no more than this many results at once (see resume). (optional)
dir = 'dir_example' # str | The direction of the sort. (optional)
try:
api_response = api_instance.get_timezone_region(timezone_region_id, sort=sort, resume=resume, show_all=show_all, dst_reset=dst_reset, limit=limit, dir=dir)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_timezone_region: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
timezone_region_id | str | List timezone regions. | |
sort | str | The field that will be used for sorting. | [optional] |
resume | str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). | [optional] |
show_all | bool | Show all timezones within the region specified in the URI. | [optional] |
dst_reset | bool | This query arg is not needed in normal use cases. | [optional] |
limit | int | Return no more than this many results at once (see resume). | [optional] |
dir | str | The direction of the sort. | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TimezoneSettings get_timezone_settings()
Retrieve the cluster timezone.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_timezone_settings()
pprint(api_response)
except ApiException as e:
print("Exception when calling ClusterApi->get_timezone_settings: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_cluster_email(cluster_email)
Modify the cluster email notification settings. All input fields are optional, but one or more must be supplied.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
cluster_email = isi_sdk_8_0.ClusterEmailExtended() # ClusterEmailExtended |
try:
api_instance.update_cluster_email(cluster_email)
except ApiException as e:
print("Exception when calling ClusterApi->update_cluster_email: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cluster_email | ClusterEmailExtended |
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_cluster_identity(cluster_identity)
Modify the login 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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
cluster_identity = isi_sdk_8_0.ClusterIdentityExtended() # ClusterIdentityExtended |
try:
api_instance.update_cluster_identity(cluster_identity)
except ApiException as e:
print("Exception when calling ClusterApi->update_cluster_identity: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cluster_identity | ClusterIdentityExtended |
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_cluster_node(cluster_node, cluster_node_id)
Modify one or more node 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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
cluster_node = isi_sdk_8_0.ClusterNode() # ClusterNode |
cluster_node_id = 56 # int | Modify one or more node settings.
try:
api_instance.update_cluster_node(cluster_node, cluster_node_id)
except ApiException as e:
print("Exception when calling ClusterApi->update_cluster_node: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cluster_node | ClusterNode | ||
cluster_node_id | int | Modify one or more node settings. |
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_cluster_owner(cluster_owner)
Modify the cluster contact info settings. All input fields are optional, but one or more must be supplied.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
cluster_owner = isi_sdk_8_0.ClusterOwner() # ClusterOwner |
try:
api_instance.update_cluster_owner(cluster_owner)
except ApiException as e:
print("Exception when calling ClusterApi->update_cluster_owner: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cluster_owner | ClusterOwner |
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_cluster_time(cluster_time)
Set cluster time. Time will mostly be synchronized across nodes, but there may be slight drift.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
cluster_time = isi_sdk_8_0.ClusterTimeExtended() # ClusterTimeExtended |
try:
api_instance.update_cluster_time(cluster_time)
except ApiException as e:
print("Exception when calling ClusterApi->update_cluster_time: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cluster_time | ClusterTimeExtended |
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_cluster_timezone(cluster_timezone)
Set a new timezone for the cluster.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
cluster_timezone = isi_sdk_8_0.ClusterTimezoneExtended() # ClusterTimezoneExtended |
try:
api_instance.update_cluster_timezone(cluster_timezone)
except ApiException as e:
print("Exception when calling ClusterApi->update_cluster_timezone: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cluster_timezone | ClusterTimezoneExtended |
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_timezone_settings(timezone_settings)
Modify the cluster timezone.
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.ClusterApi(isi_sdk_8_0.ApiClient(configuration))
timezone_settings = isi_sdk_8_0.TimezoneRegionTimezone() # TimezoneRegionTimezone |
try:
api_instance.update_timezone_settings(timezone_settings)
except ApiException as e:
print("Exception when calling ClusterApi->update_timezone_settings: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
timezone_settings | TimezoneRegionTimezone |
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]