1 Introduction
This document describes how to delete an upgrade package Managed Object (MO). It can be done once an upgrade package has been applied and is no longer needed on the Managed Element (ME).
- Note:
- If the upgrade file initially was retrieved from a Uniform Resource Identifier (URI), this operation deletes it together with the MO. If the upgrade package file initially was downloaded with the SSH File Transfer Protocol (SFTP), this operation does not delete it from the ME.
1.1 Prerequisites
This section describes the prerequisites, which must be fulfilled before using the procedure.
1.1.1 Conditions
The following conditions must apply:
- An UpgradePackage MO for which the corresponding software version or a later software version is present exists.
- An Ericsson Command-Line Interface (ECLI) session in Exec mode is in progress.
2 Procedure
To delete an upgrade package:
- Navigate to the SwM MO, for example:
>dn ManagedElement=NODE06ST,SystemFunctions=1,SwM=1
- Check the available upgrade packages:
(SwM=1)>show -v
The following example output shows a running software version with product name ERIC-COREMW_RUNTIME, product number CXP9020355_1, and product revision R7F01. An upgrade package MO targeting an upgrade of the software version to the revision already activated is visible. The upgrade package is no longer applicable to the current software version and can be deleted.
SwM=1 activeSwVersion "ManagedElement=NODE06ST,SystemFunctions=1,SwM=1,SwVersionMain=⇒ ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01" <read-only> [...] SwVersionMain=ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01 UpgradePackage=UpgradePackage=ERIC_UP-CXP9020355_1-R7F01 - Delete the UpgradePackage MO,
for example:
(SwM=1)>removeUpgradePackage ManagedElement=NODE06ST,SystemFunctions=1,SwM=1,UpgradePackage=ERIC_UP-CXP9020355_1-R7F01
The system returns output true or false.
- Verify the success of the deletion operation and that
the UpgradePackage MO
is deleted:
(SwM=1)>show -v
The following example output shows the final result. If state=RUNNING, the operation is not yet completed. Result result=FAILURE means that the deletion failed.
SwM=1 activeSwVersion "ManagedElement=NODE06ST,SystemFunctions=1,SwM=1,SwVersionMain=⇒ ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01" <read-only> [...] reportProgress <read-only> actionName="RemoveUpgradePackage" <read-only> [...] result=SUCCESS <read-only> [...] state=FINISHED <read-only> [...] SwVersionMain=ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01- Note:
- If the UpgradePackage MO has been created with operation createUpgradePackageLocal, then the upgrade package file that was downloaded in Prepare Upgrade Package still exists in the file system of the ME. The deletion of the upgrade package file is outside the scope of this document.

Contents