DeviceManagementFileAuthLocationGetRequest22V4
Bases: OCIRequest
Get the address and credentials of the File Repository hosting the requested access device file. Also get the file name and path on the File Repository. The response is either DeviceManagementFileAuthLocationGetResponse22V4 or ErrorResponse. The following elements are only used in AS data mode and will fail in XS data mode: deviceToken The following elements are only used in XS data mode and will be ignored in AS data mode: fileNameLookup fileNameOnDisk
Attributes:
device_access_protocol (str):
device_access_method (str):
device_access_uri (str):
access_device_user_name (Optional[str]):
access_device_user_password (Optional[str]):
device_token (Optional[str]):
signed_password (Optional[str]):
mac_address (Optional[str]):
realm_name (Optional[str]):
digest_ha1_complement (Optional[str]):
digest_response (Optional[str]):
file_name_lookup (Optional[bool]):
file_name_on_disk (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
25973 25974 25975 25976 25977 25978 25979 25980 25981 25982 25983 25984 25985 25986 25987 25988 25989 25990 25991 25992 25993 25994 25995 25996 25997 25998 25999 26000 26001 26002 26003 26004 26005 26006 26007 26008 26009 26010 26011 26012 26013 26014 26015 26016 26017 26018 26019 26020 26021 26022 26023 26024 26025 26026 26027 26028 26029 26030 26031 26032 26033 26034 26035 26036 26037 26038 26039 26040 26041 26042 26043 26044 26045 26046 26047 26048 26049 26050 26051 26052 | |
Responses
Bases: OCIDataResponse
This is a response to DeviceManagementFileAuthLocationGetRequest22V4. Return the address and credentials of the File Repository hosting the requested access device file. Also return the file name and path on the File Repository. Also returns the status of the file authentication.
Attributes:
status (Optional[str]):
file_repository_user_name (Optional[str]):
file_repository_password (Optional[str]):
file_repos_access_token (Optional[str]):
net_address (str):
remote_file_format (str):
port_number (Optional[int]):
root_directory (Optional[str]):
cpe_file_directory (Optional[str]):
secure (Optional[bool]):
mac_in_non_request_uri (Optional[bool]):
mac_in_cert (Optional[bool]):
mac_format_in_non_request_uri (Optional[str]):
use_http_digest_authentication (Optional[bool]):
mac_based_file_authentication (Optional[bool]):
user_name_password_file_authentication (Optional[bool]):
completion_notification (Optional[bool]):
file_category (Optional[str]):
enable_caching (Optional[bool]):
notify_file_upload (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
117334 117335 117336 117337 117338 117339 117340 117341 117342 117343 117344 117345 117346 117347 117348 117349 117350 117351 117352 117353 117354 117355 117356 117357 117358 117359 117360 117361 117362 117363 117364 117365 117366 117367 117368 117369 117370 117371 117372 117373 117374 117375 117376 117377 117378 117379 117380 117381 117382 117383 117384 117385 117386 117387 117388 117389 117390 117391 117392 117393 117394 117395 117396 117397 117398 117399 117400 117401 117402 117403 117404 117405 117406 117407 117408 117409 117410 117411 117412 117413 117414 117415 117416 117417 117418 117419 117420 117421 117422 117423 117424 117425 117426 117427 117428 117429 117430 117431 117432 117433 117434 117435 117436 117437 117438 117439 117440 117441 117442 117443 117444 117445 117446 117447 117448 117449 117450 117451 | |
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import DeviceManagementFileAuthLocationGetRequest22V4
client = Client()
command = DeviceManagementFileAuthLocationGetRequest22V4(
device_access_protocol=...,
device_access_method=...,
device_access_uri=...,
access_device_user_name=...,
access_device_user_password=...,
device_token=...,
signed_password=...,
mac_address=...,
realm_name=...,
digest_ha1_complement=...,
digest_response=...,
file_name_lookup=...,
file_name_on_disk=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("DeviceManagementFileAuthLocationGetRequest22V4",
device_access_protocol=...,
device_access_method=...,
device_access_uri=...,
access_device_user_name=...,
access_device_user_password=...,
device_token=...,
signed_password=...,
mac_address=...,
realm_name=...,
digest_ha1_complement=...,
digest_response=...,
file_name_lookup=...,
file_name_on_disk=...,
)
print(response)