cisco / cisco.dnac / 2.0.7 / module / import_image_file Manage ImportImageFile objects of SoftwareImageManagementSwim | "added in version" 1.0.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.import_image_file (2.0.7) — module
Install with ansible-galaxy collection install cisco.dnac:==2.0.7
collections: - name: cisco.dnac version: 2.0.7
Fetches a software image from local file system and uploads to DNA Center. Supported software image files extensions are bin, img, tar, smu, pie, aes, iso, ova, tar_gz and qcow2.
- name: import_local_software_image cisco.dnac.import_image_file: state: create # required filename: SomeValue # string, required filepath: SomeValue # string, required is_third_party: True # boolean third_party_application_type: SomeValue # string third_party_image_family: SomeValue # string third_party_vendor: SomeValue # string
filename: description: - The filename (with its extension, for example, test.zip). required: true type: str filepath: description: - The full path of a file. The file is opened with rb flag. required: true type: str is_third_party: description: - Third party Image check. type: bool third_party_vendor: description: - Third Party Vendor. type: str third_party_image_family: description: - Third Party image family. type: str third_party_application_type: description: - Third Party Application Type. type: str
dnac_response: description: A dictionary with the response returned by the DNA Center Python SDK returned: always sample: response: 29 version: '1.0' type: dict missing_params: description: Provided arguments do not comply with the schema of the DNA Center Python SDK function returned: when the function request schema is not satisfied sample: null type: list sdk_function: description: The DNA Center SDK function used to execute the task returned: always sample: software_image_management_swim.import_local_software_image type: str