SystemDeviceFamilyImportDryRunRequest
Bases: OCIRequest
Request to perform a dry run import of a Device Family Set Archive File (DFAF) as a new Device Family. The URL supports the HTTP and the FILE protocols. When the optional element resellerId is specified, the device type created is at reseller level. When the optional element deviceFamilyOverride is set to true, an existing device family with the same name on the destination system will be overridden. When the optional element tagSetOverride is set to true, any existing tag set on the destination system will be overridden. When the optional element deviceTypeFileUpdate is set, on import, for any existing device type associated with the device family, the files that are matched based on the file format are updated with the ones from the DTAF. The file format and the file category are the only attributes that can't be updated. The response is either a SystemDeviceFamilyImportDryRunResponse or an ErrorResponse.
The following data elements are only used in AS data mode and ignored in XS data mode:
resellerId
Attributes:
file (str):
reseller_id (Optional[str]):
device_family_override (Optional[bool]):
tag_set_override (Optional[bool]):
device_type_file_update (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to SystemDeviceFamilyImportDryRunRequest.
Attributes:
file (str):
difference_found (bool):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemDeviceFamilyImportDryRunRequest
client = Client()
command = SystemDeviceFamilyImportDryRunRequest(
file=...,
reseller_id=...,
device_family_override=...,
tag_set_override=...,
device_type_file_update=...,
)
response = client.command(command)
print(response)