All URIs are relative to https://YOUR_CLUSTER_HOSTNAME_OR_NODE_IP:8080
Method | HTTP request | Description |
---|---|---|
create_hardware_tape_name | POST /platform/3/hardware/tape/{HardwareTapeName} | |
delete_hardware_tape_name | DELETE /platform/3/hardware/tape/{HardwareTapeName} | |
get_hardware_fcport | GET /platform/3/hardware/fcports/{HardwareFcportId} | |
get_hardware_fcports | GET /platform/3/hardware/fcports | |
get_hardware_tapes | GET /platform/3/hardware/tapes | |
update_hardware_fcport | PUT /platform/3/hardware/fcports/{HardwareFcportId} | |
update_hardware_tape_name | PUT /platform/3/hardware/tape/{HardwareTapeName} |
Empty create_hardware_tape_name(hardware_tape_name, hardware_tape_name2, lnn=lnn, port=port, reconcile=reconcile)
Tape/Changer devices rescan
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.HardwareApi(isi_sdk_8_0.ApiClient(configuration))
hardware_tape_name = isi_sdk_8_0.Empty() # Empty |
hardware_tape_name2 = 'hardware_tape_name_example' # str | Tape/Changer devices rescan
lnn = 'lnn_example' # str | Logical node number. (optional)
port = 56 # int | Scan only specified port. (optional)
reconcile = true # bool | Remove entries for devices or paths that have become inaccessible. (optional)
try:
api_response = api_instance.create_hardware_tape_name(hardware_tape_name, hardware_tape_name2, lnn=lnn, port=port, reconcile=reconcile)
pprint(api_response)
except ApiException as e:
print("Exception when calling HardwareApi->create_hardware_tape_name: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
hardware_tape_name | Empty | ||
hardware_tape_name2 | str | Tape/Changer devices rescan | |
lnn | str | Logical node number. | [optional] |
port | int | Scan only specified port. | [optional] |
reconcile | bool | Remove entries for devices or paths that have become inaccessible. | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_hardware_tape_name(hardware_tape_name)
Tape/Changer devices remove
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.HardwareApi(isi_sdk_8_0.ApiClient(configuration))
hardware_tape_name = 'hardware_tape_name_example' # str | Tape/Changer devices remove
try:
api_instance.delete_hardware_tape_name(hardware_tape_name)
except ApiException as e:
print("Exception when calling HardwareApi->delete_hardware_tape_name: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
hardware_tape_name | str | Tape/Changer devices remove |
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]
HardwareFcports get_hardware_fcport(hardware_fcport_id, lnn=lnn)
Get one fibre-channel port
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.HardwareApi(isi_sdk_8_0.ApiClient(configuration))
hardware_fcport_id = 56 # int | Get one fibre-channel port
lnn = 'lnn_example' # str | Logical node number. (optional)
try:
api_response = api_instance.get_hardware_fcport(hardware_fcport_id, lnn=lnn)
pprint(api_response)
except ApiException as e:
print("Exception when calling HardwareApi->get_hardware_fcport: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
hardware_fcport_id | int | Get one fibre-channel port | |
lnn | str | Logical node number. | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HardwareFcportsExtended get_hardware_fcports(lnn=lnn, limit=limit, resume=resume)
Get list of fibre-channel ports
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.HardwareApi(isi_sdk_8_0.ApiClient(configuration))
lnn = 'lnn_example' # str | Logical node number. (optional)
limit = 56 # int | Return no more than this many results at once (see resume). (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)
try:
api_response = api_instance.get_hardware_fcports(lnn=lnn, limit=limit, resume=resume)
pprint(api_response)
except ApiException as e:
print("Exception when calling HardwareApi->get_hardware_fcports: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lnn | str | Logical node number. | [optional] |
limit | int | Return no more than this many results at once (see resume). | [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] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HardwareTapes get_hardware_tapes(node=node, resume=resume, devname=devname, limit=limit, activepath=activepath, type=type)
Get list Tape and Changer devices
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.HardwareApi(isi_sdk_8_0.ApiClient(configuration))
node = 'node_example' # str | List only devices on the specified node. (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)
devname = 'devname_example' # str | List only the named device. (optional)
limit = 56 # int | Return no more than this many results at once (see resume). (optional)
activepath = 'activepath_example' # str | List devices with only active paths. (optional)
type = 'type_example' # str | Restrict to list on tape or mc device. (optional)
try:
api_response = api_instance.get_hardware_tapes(node=node, resume=resume, devname=devname, limit=limit, activepath=activepath, type=type)
pprint(api_response)
except ApiException as e:
print("Exception when calling HardwareApi->get_hardware_tapes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
node | str | List only devices on the specified node. | [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] |
devname | str | List only the named device. | [optional] |
limit | int | Return no more than this many results at once (see resume). | [optional] |
activepath | str | List devices with only active paths. | [optional] |
type | str | Restrict to list on tape or mc device. | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_hardware_fcport(hardware_fcport, hardware_fcport_id, lnn=lnn)
Change wwnn, wwpn, state, topology, or rate of a FC port
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.HardwareApi(isi_sdk_8_0.ApiClient(configuration))
hardware_fcport = isi_sdk_8_0.HardwareFcport() # HardwareFcport |
hardware_fcport_id = 56 # int | Change wwnn, wwpn, state, topology, or rate of a FC port
lnn = 'lnn_example' # str | Logical node number. (optional)
try:
api_instance.update_hardware_fcport(hardware_fcport, hardware_fcport_id, lnn=lnn)
except ApiException as e:
print("Exception when calling HardwareApi->update_hardware_fcport: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
hardware_fcport | HardwareFcport | ||
hardware_fcport_id | int | Change wwnn, wwpn, state, topology, or rate of a FC port | |
lnn | str | Logical node number. | [optional] |
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_hardware_tape_name(hardware_tape_name_params, hardware_tape_name)
Tape/Changer device modify
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.HardwareApi(isi_sdk_8_0.ApiClient(configuration))
hardware_tape_name_params = isi_sdk_8_0.HardwareTapeNameParams() # HardwareTapeNameParams |
hardware_tape_name = 'hardware_tape_name_example' # str | Tape/Changer device modify
try:
api_instance.update_hardware_tape_name(hardware_tape_name_params, hardware_tape_name)
except ApiException as e:
print("Exception when calling HardwareApi->update_hardware_tape_name: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
hardware_tape_name_params | HardwareTapeNameParams | ||
hardware_tape_name | str | Tape/Changer device modify |
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]