1 module pnf-sw-upgrade {
2 namespace "http://onap.org/pnf-sw-upgrade";
5 import ietf-yang-types {
9 revision "2019-12-03" {
14 container software-upgrade {
16 list upgrade-package {
25 enum DOWNLOAD_IN_PROGRESS;
26 enum DOWNLOAD_COMPLETED;
27 enum ACTIVATION_IN_PROGRESS;
28 enum ACTIVATION_COMPLETED;
31 "List of possible states of the upgrade";
33 leaf state-change-time {
36 "Date and time of the last state change.";
37 type yang:date-and-time;
49 "List of possible actions for the upgrade";
51 leaf software-version {
54 "Possible name or release version of the UP";
59 "A URI that points to the directory where the UP can be found.";
64 "Indicates the user.";
69 "Indicates the password.";
74 "Free-text description of the UP.";