Commit f696da43 authored by scottma's avatar scottma
Browse files

Add new file

parent c301fbb0
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
module _3gpp-common-filemanagement {
  yang-version 1.1;
  namespace "urn:3gpp:sa5:_3gpp-common-filemanagement";
  prefix "mnsregist3gpp";

  import _3gpp-common-subnetwork { prefix subnet3gpp; }
  import _3gpp-common-top { prefix top3gpp; }
  import _3gpp-common-yang-types { prefix yang3gpp; }
  import _3gpp-common-managed-element { prefix me3gpp; }
   
  organization "3GPP SA5";
  contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464";
  description "Defines the YANG mapping of the FileDownloadJob Information Object
    Class (IOC) that is part of the Generic Network Resource Model (NRM).";
  reference "3GPP TS 28.623 Generic Network Resource Model (NRM)";

  revision 2021-08-29 { reference "Initial revision, S5-221330"; }

  grouping FileDownloadJobGrp {
    description "Represents the FileDownloadJob IOC.";
    reference "3GPP TS 28.622";
    uses top3gpp:Top_Grp;
    
    leaf fileLocation {
      description "Provides the location of the file to be downloaded.
        Value is a URI including the protocol, address, and filename for the file transfer.";
      mandatory true;
      type string;
    }
    
    leaf jobProgress {
      description "Provides monitoring for the file download job.";
      type yang3gpp:JobProgress;
    }
  }
    augment "/subnet3gpp:SubNetwork" {
    list MNSRegistry {
      description "Represents the FileDownloadJob IOC.";
      key id;   
      uses top3gpp:Top_Grp;      
      container attributes {
        uses FileDownloadJobGrp;
      }
    }
    augment "/me3gpp:ManagedElement" {
    list MNSRegistry {
      description "Represents the FileDownloadJob IOC.";
      key id;   
      uses top3gpp:Top_Grp;      
      container attributes {
        uses FileDownloadJobGrp;
      }
    }
}