SystemAccessDeviceGetAllRequest
Bases: OCIRequest
Requests the list of all access devices in the entire system. Prior to release 14, this functionality was provided with the SystemAccessDeviceGetListRequest14. If reseller administrator sends the request, searchCriteriaResellerId is ignored. All the device profiles in the administrator's reseller meeting the search criteria are returned.
The response is either SystemAccessDeviceGetAllResponse or ErrorResponse.
The following data elements are only used in AS data mode:
searchCriteriaResellerId
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_group_id (Optional[List[SearchCriteriaGroupId]]):
search_criteria_exact_device_type (Optional[SearchCriteriaExactDeviceType]):
search_criteria_exact_device_service_provider (Optional[SearchCriteriaExactDeviceServiceProvider]):
search_criteria_service_provider_id (Optional[List[SearchCriteriaServiceProviderId]]):
search_criteria_reseller_id (Optional[List[SearchCriteriaResellerId]]):
Source code in src/mercury_ocip/commands/commands.py
72062 72063 72064 72065 72066 72067 72068 72069 72070 72071 72072 72073 72074 72075 72076 72077 72078 72079 72080 72081 72082 72083 72084 72085 72086 72087 72088 72089 72090 72091 72092 72093 72094 72095 72096 72097 72098 72099 72100 72101 72102 72103 72104 72105 72106 72107 72108 72109 72110 72111 72112 72113 72114 72115 72116 72117 72118 72119 72120 72121 72122 72123 72124 72125 72126 72127 72128 72129 72130 72131 72132 | |
Responses
Bases: OCIDataResponse
Response to SystemAccessDeviceGetAllRequest. Contains a table of devices configured in the entire system. The column headings are: "Service Provider Id", "Is Enterprise", "Group Id", "Device Name", "Device Type", "Net Address", "MAC Address", "Status", "Reseller Id", "Access Device External Id".
The following columns are only returned in AS data mode:
"Reseller Id"
"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 SystemAccessDeviceGetAllRequest
client = Client()
command = SystemAccessDeviceGetAllRequest(
response_size_limit=...,
search_criteria_device_name=...,
search_criteria_device_mac_address=...,
search_criteria_device_net_address=...,
search_criteria_group_id=...,
search_criteria_exact_device_type=...,
search_criteria_exact_device_service_provider=...,
search_criteria_service_provider_id=...,
search_criteria_reseller_id=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemAccessDeviceGetAllRequest",
response_size_limit=...,
search_criteria_device_name=...,
search_criteria_device_mac_address=...,
search_criteria_device_net_address=...,
search_criteria_group_id=...,
search_criteria_exact_device_type=...,
search_criteria_exact_device_service_provider=...,
search_criteria_service_provider_id=...,
search_criteria_reseller_id=...,
)
print(response)