Users Guide

Return Values
msg:
description: Overall status of the firmware catalog creation
returned: always
type: str
sample: "Successfully triggered the job to create a catalog with Task Id : 10094"
catalog_status:
description: Details of the catalog creation.
returned: on success
type: dict
sample: {
"AssociatedBaselines": [],
"BaseLocation": null,
"BundlesCount": 0,
"Filename": "catalog.gz",
"Id": 0,
"LastUpdated": null,
"ManifestIdentifier": null,
"ManifestVersion": null,
"NextUpdate": null,
"PredecessorIdentifier": null,
"ReleaseIdentifier": null,
"Repository": {
"CheckCertificate": true,
"Description": "HTTPS Desc",
"DomainName": null,
"Id": null,
"Name": "catalog4",
"Password": null,
"RepositoryType": "HTTPS",
"Source": "company.com",
"Username": null
},
"Schedule": null,
"SourcePath": "catalog",
"Status": null,
"TaskId": 10094
}
error_info:
type: dict
description: Details of http error.
returned: on http error
sample: {
"error": {
"@Message.ExtendedInfo": [
{
"Message": "Unable to create or update the catalog because a
repository with the same name already exists.",
"Resolution": "Enter a different name and retry the operation.",
"Severity": "Critical"
}
],
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information."
}
}
Examples
- name: create catalog from a repository on a HTTPS.
ome_firmware_catalog:
hostname: "192.168.0.1"
username: "username"
catalog_name: "catalog_name"
catalog_description: "catalog_description"
repository_type: "HTTPS"
source: "downloads.dell.com"
source_path: "catalog"
file_name: "catalog.gz"
check_certificate: True
82
Modules for OpenManage Enterprise (OME)