Loading yang-models/_3gpp-common-filemanagement.yang +67 −3 Original line number Diff line number Diff line Loading @@ -16,6 +16,71 @@ module _3gpp-common-filemanagement { revision 2021-08-29 { reference "Initial revision, S5-221371"; } grouping FileDownloadProcessMonitor { description "Provides specialisations of the ProcessMonitor datatype for use for File Download jobs."; uses yang3gpp:JobMonitor { refine leaf resultStateInfo { description "Provides specialisations for the "resultStateInfo" attribute of the "ProcessMonitor" data type for the "FileDownloadJob". In the event the file download fails, and the "status" is equal to "FAILED" it provides the reason for the failure."; type enumeration { enum NULL { value 0; } enum UNKNOWN { value 1; } enum NO_STORAGE { value 2; } enum LOW_MEMORY { value 3; } enum NO_CONNECTION_TO_REMOTE_SERVER { value 4; } enum FILE_NOT_AVAILABLE { value 5; } enum DNS_CANNOT_BE_RESOLVED { value 6; } enum TIMER_EXPIRED { value 7; } enum OTHER { value 8; } } refine leaf status { description "Pro type enumeration { enum NOT_STARTED { value 0; } enum RUNNING { value 1; } enum FINISHED { value 2; } enum FAILED { value 3; } enum CANCELLING { value 4; } enum CANCELLED { value 5; } } } } } } grouping FileDownloadJobGrp { description "Represents the FileDownloadJob IOC."; reference "3GPP TS 28.622"; Loading @@ -35,17 +100,16 @@ module _3gpp-common-filemanagement { leaf cancelJob { description "Setting this attribute to TRUE cancels the file download job. As specified in the definition of JobMonitor, cancellation is possible in As specified in the definition of ProcessMonitor, cancellation is possible in the NOT_STARTED and RUNNING state. Setting the attribute to FALSE has no observable result."; type boolean; mandatory true; } list jobMonitor { key "id"; description "Provides monitoring for the file download job."; uses yang3gpp:JobMonitor; uses FileDownloadProcessMonitor; } } Loading Loading
yang-models/_3gpp-common-filemanagement.yang +67 −3 Original line number Diff line number Diff line Loading @@ -16,6 +16,71 @@ module _3gpp-common-filemanagement { revision 2021-08-29 { reference "Initial revision, S5-221371"; } grouping FileDownloadProcessMonitor { description "Provides specialisations of the ProcessMonitor datatype for use for File Download jobs."; uses yang3gpp:JobMonitor { refine leaf resultStateInfo { description "Provides specialisations for the "resultStateInfo" attribute of the "ProcessMonitor" data type for the "FileDownloadJob". In the event the file download fails, and the "status" is equal to "FAILED" it provides the reason for the failure."; type enumeration { enum NULL { value 0; } enum UNKNOWN { value 1; } enum NO_STORAGE { value 2; } enum LOW_MEMORY { value 3; } enum NO_CONNECTION_TO_REMOTE_SERVER { value 4; } enum FILE_NOT_AVAILABLE { value 5; } enum DNS_CANNOT_BE_RESOLVED { value 6; } enum TIMER_EXPIRED { value 7; } enum OTHER { value 8; } } refine leaf status { description "Pro type enumeration { enum NOT_STARTED { value 0; } enum RUNNING { value 1; } enum FINISHED { value 2; } enum FAILED { value 3; } enum CANCELLING { value 4; } enum CANCELLED { value 5; } } } } } } grouping FileDownloadJobGrp { description "Represents the FileDownloadJob IOC."; reference "3GPP TS 28.622"; Loading @@ -35,17 +100,16 @@ module _3gpp-common-filemanagement { leaf cancelJob { description "Setting this attribute to TRUE cancels the file download job. As specified in the definition of JobMonitor, cancellation is possible in As specified in the definition of ProcessMonitor, cancellation is possible in the NOT_STARTED and RUNNING state. Setting the attribute to FALSE has no observable result."; type boolean; mandatory true; } list jobMonitor { key "id"; description "Provides monitoring for the file download job."; uses yang3gpp:JobMonitor; uses FileDownloadProcessMonitor; } } Loading