Upgrading MEF Edge Online Through MEF Center

This section describes how to upgrade MEF Edge based on the MEF Center APIs. For details, see Figure 1.

The upgrade scenario involves the account and password of the interconnected third-party software repository. The account and password are managed by the third-party software repository in a unified manner.

Figure 1 MEF Edge upgrade process

Upgrade Process

Table 1 Upgrade process

Scenario

Procedure

Description

API Reference

Preparations

Prepare the software to be upgraded.

If you use a software repository to prepare the software to be upgraded, ensure that the network connection between the MEF Edge device and the software repository is normal and the software repository is available.

Ensure that the software to be upgraded can be obtained from the HTTPS website specified in the software download message.

For details about how to prepare and interconnect a software repository, see the following sections:

Preparing a Software Repository

Interconnecting with a Software Repository

(Optional) Query node details.

During a software upgrade, the request contains the device SN of the MEF Edge edge device. If you do not know the device SN, use the RESTful API to query the node details and view the device SN of the corresponding node.

For details, see Querying Node Details.

MEF Edge upgrade

Deliver a software download message.

Deliver a software download message through RESTful APIs to trigger the edge device to download the software to be upgraded.

For details about the upgrade API information, see Upgrade APIs.

(Optional) Query the software download progress.

When delivering the software download message, you can query the software download progress through RESTful APIs.

(Optional) Query software information.

After software download is triggered, you can use RESTful APIs to query the MEF Edge software information, including the current software version and the version to be upgraded.

Deliver a software upgrade message.

You can deliver a software upgrade message through RESTful APIs to trigger the edge device to upgrade MEF Edge.