SystemAccessDeviceGetListRequest14
Bases: OCIRequest
Requests the list of access devices defined at the System-level. Prior to release 14, this command requested a list of all devices in the entire system. That functionality is now moved to the SystemAccessDeviceGetAllRequest. The response is either SystemAccessDeviceGetListResponse14 or ErrorResponse.
Attributes:
response_size_limit (Optional[int]):
search_criteria_device_name (Optional[List[SearchCriteriaDeviceName]]):
search_criteria_device_mac_address (Optional[List[SearchCriteriaDeviceMACAddress]]):
search_criteria_device_net_address (Optional[List[SearchCriteriaDeviceNetAddress]]):
search_criteria_exact_device_type (Optional[SearchCriteriaExactDeviceType]):
search_criteria_access_device_version (Optional[List[SearchCriteriaAccessDeviceVersion]]):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to SystemAccessDeviceGetListRequest14. Contains a table of devices defined at the System-level. The column headings are: "Device Name", "Device Type", "Available Ports", "Net Address" and "MAC Address", "Status", "Version", and "Access Device External Id".
The following columns are only returned in AS data mode:
"Access Device External Id"
Attributes:
access_device_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemAccessDeviceGetListRequest14
client = Client()
command = SystemAccessDeviceGetListRequest14(
response_size_limit=...,
search_criteria_device_name=...,
search_criteria_device_mac_address=...,
search_criteria_device_net_address=...,
search_criteria_exact_device_type=...,
search_criteria_access_device_version=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemAccessDeviceGetListRequest14",
response_size_limit=...,
search_criteria_device_name=...,
search_criteria_device_mac_address=...,
search_criteria_device_net_address=...,
search_criteria_exact_device_type=...,
search_criteria_access_device_version=...,
)
print(response)