Mesh Firmware Migration API
This API only applies to CGRs running CG-OS software.
This chapter describes the Firmware Migration API:
■Using the Mesh Firmware Migration API
■Mesh Firmware Migration API Method Calls
Using the Mesh Firmware Migration API
In your IoT FND NB API client application, use the following IoT FND server URL to access the Mesh Firmware Migration API WSDL:
Mesh Firmware Migration API Method Calls
IoT FND allows you to update earlier versions of CGR firmware to allow Cisco mesh networking using the following APIs:
■startReprovisionByEidListAbridged
■startReprovisionByGroupAbridged
The mesh firmware migration process also requires editing of the Router Configuration and FAR Addition templates in IoT FND. See the IoT FND User Guide.
cancelReprovision
This call cancels a scheduled reprovisioning operation. Devices are queued in batches of 12 in FIFO order. As soon as the top reprovisioning operation completes, reprovisioning begins on the next device in the queue. When a reprovisioning operation is canceled, reprovisioning operations in progress complete. If the operation is scheduled for the future, then this call cancels the entire operation.
cancelReprovision Parameters describes the parameters in the interface.
|
|
|
---|---|---|
If the uid parameter references an unknown UID, the UID of an operation in progress, or a UID of a device that completed the reprovisioning process, the resultStatus is FAILED, and an appropriate errorDetails message is set. If the resultStatus is SUCCESS, the operation was canceled and will not execute.
cancelReprovision Results describes the parameters in the response.
showReprovisionStatus
This call retrieves the status of the reprovision operation correlating to the specified UID.
showReprovisionStatus Parameters describes the parameters in the interface.
|
|
|
---|---|---|
A ShowReprovisionStatusReport always returns. resultStatus is ERROR if the UID does not reference a known operation, which happens if the UID was incorrect or if the UID referenced an operation that completed and was cleaned up by the automatic pruning logic. Data retention time defaults to 7 days after an operation completes, which is configurable in IoT FND.
showReprovisionStatus Results describes the parameters in the response.
|
|
|
---|---|---|
The UID of the reprovision operation correlating to this status. |
||
The ReprovisionOperationStatus value correlating to this operation. |
||
Date specified in startReprovisionByEidList, startReprovisionByEidListAbridged, startReprovisionByGroup, or startReprovisionByGroupAbridged for operation execution. |
||
Date when this operation was submitted to startReprovisionByEidList. |
||
Total number of devices specified in the list of EIDs in startReprovisionByEidList, startReprovisionByEidListAbridged, startReprovisionByGroup, or startReprovisionByGroupAbridged. |
||
Date when the operation finished processing all devices listed in startReprovisionByEidList, startReprovisionByEidListAbridged, startReprovisionByGroup, or startReprovisionByGroupAbridged if COMPLETED or FAILED; otherwise this parameter is null. |
||
List of ReprovisionItemReport objects. Each object defines the status for a single EID specified in startReprovisionByEidList, startReprovisionByEidListAbridged, startReprovisionByGroup, or startReprovisionByGroupAbridged. |
For a ShowReprovisionStatusReport object with an operationStatus of SCHEDULED or CANCELED, ReprovisionItemReport is null because no information is available for those objects until processing begins. For all other operationStatus values, a ReprovisionItemReport object will be returned for each EID that is to be processed.
showReprovisionStatus ReprovisionItemReport Results describes the parameters in the ReprovisionItemReport for the specified device.
|
|
|
---|---|---|
startReprovisionByEidList
This call is general for all reprovisioning actions, not just for mesh migration. Some input parameters are not applicable to mesh migration operations. This call schedules an operation to execute at a future date.
For startReprovisionByEidList and startReprovisionByGroup, specify the interface name and interface type if all FARs have the same interface name and type. This is normally used for internal testing.
String interfaceType, Date executionDate)
startReprovisionByEidList Parameters describes the parameters in the interface.
This method always returns a StartReprovisionReport object. If the operation failed to execute due to invalid parameters or if the EID list was determined invalid, FAILED returns. An operation is only scheduled and the UID returns if resultStatus is SUCCESS.
startReprovisionByEidList Results describes the parameters in the response.
|
|
|
---|---|---|
The UID of the reprovision operation correlating to this status. |
startReprovisionByEidListAbridged
This call schedules an operation to execute at a future date.
String interfaceName, String interfaceType,
Date executionDate)
startReprovisionByEidListAbridged Parameters describes the parameters in the interface.
This method always returns a StartReprovisionReport object. If the operation failed to execute due to invalid parameters or if the EID list was determined invalid, FAILED returns. An operation is only scheduled and the UID returns if resultStatus is SUCCESS.
startReprovisionByEidListAbridged Results describes the parameters in the response.
|
|
|
---|---|---|
The UID of the reprovision operation correlating to this status. |
startReprovisionByGroup
This call executes the reprovisioning operation on the specified group.
String interfaceType, Date executionDate)
startReprovisionByGroup Parameters describes the parameters in the interface.
This method always returns a StartReprovisionReport object. If the operation failed to execute due to invalid parameters or if the EID list was determined invalid, FAILED returns. An operation is only scheduled and the UID returns if resultStatus is SUCCESS.
startReprovisionByGroup Results describes the parameters in the response.
|
|
|
---|---|---|
The UID of the reprovision operation correlating to this status. |
startReprovisionByGroupAbridged
This call executes the reprovisioning operation on the specified group.
startReprovisionByGroupAbridged Parameters describes the parameters in the interface.
This method always returns a StartReprovisionReport object. If the operation failed to execute due to invalid parameters or if the EID list was determined invalid, FAILED returns. An operation is only scheduled and the UID returns if resultStatus is SUCCESS.
startReprovisionByGroupAbridged Results describes the parameters in the response.
|
|
|
---|---|---|
The UID of the reprovision operation correlating to this status. |