Commit 931706e2 authored by lengyelb's avatar lengyelb
Browse files

Add new file _3gpp-5gc-nrm-stmfunction.yang

parent 82601f94
Loading
Loading
Loading
Loading
Loading
+105 −0
Original line number Diff line number Diff line
module _3gpp-5gc-nrm-stmfunction {
  yang-version 1.1;
  
  namespace urn:3gpp:sa5:_3gpp-5gc-nrm-stmfunction;
  prefix stm3gpp;
  
  import _3gpp-common-top { prefix top3gpp; }
  import ietf-inet-types { prefix inet; }
  import _3gpp-common-yang-types { prefix types3gpp; }
  
  organization "3gpp SA5";
  contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464";
  description "This IOC represents the STM function defined in 3GPP TS 28.abc.
    Copyright 2024, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, 
    TTA, TTC). All rights reserved.";
  reference "3GPP TS 28.abc
    Signalling traffic monitoring management";
  
  revision 2024-11-07 { reference "S5-247077"; } 
  
  grouping STMFunctionGrp {
    leaf stmTargetUri {
      type inet:uri;
      description "It specifies the Uniform Resource Identifier (URI) of the STM
        consumer that shall receive the monitored signalling message copies ";
      reference "Clause 4.4 of 3GPP TS 32.158";
    }
    
    leaf-list networkInterfaceType {
      type enumeration {
        enum ALL;
        enum N4;
        enum N5;
        enum N7;
        enum N8;
        enum N10;
        enum N11;
        enum N12;
        enum N13;
        enum N14;
        enum N15;
        enum N22;
        enum N58;
        enum N59;
        enum N80;
        enum N81;
      }
      description "List of network interface type. it specifies the network 
        function whose signalling traffic is to be monitored. If this 
        parameter is not present or it is empty, then all Network Functions 
        within the SubNetwork or ManagedElement shall be monitored. This 
        parameter shall be omitted if the STM control object is specified 
        under a ManagedFunction. ";
      reference "Clause 4.2.3 of 3GPP TS 23.501 for details on the
        allowed values.";
    }

    leaf-list reportingNF {
      type types3gpp:DistinguishedName;
      description "List of Network Function Distinguished Name, which 
        specifies the target network interface type to be monitored. If 
        this parameter is not present or it is empty, then all applicable 
        interface types from the target NF shall be monitored";   
    }

    leaf administrativeState {
      default UNLOCKED;
      type types3gpp:BasicAdministrativeState ;
      description "It is used by the STM consumer to lock or unlock the 
        StmCtrl instance in order to stop or start the signalling traffic 
        monitoring";
    }

    leaf operationalState {
      config false;
      mandatory true;
      type types3gpp:OperationalState ;
      description "It is used by STM consumer to report its working state";
    }
  }

  grouping STMFunctionSubTreee {
    description "Contains classes that manage Tracing.
      Should be used in all  classes (or classes inheriting from)
      - SubNnetwork
      - ManagedElement
      - ManagedFunction

      If a YANG module wants to augment these classes/list/groupings they must
      augment all user classes!";

    list StmCtrl  {
      description "This IOC represents the STM Control and Configuration 
        parameters of a particular STM controlling. It can be 
        name-contained by SubNetwork, ManagedElement, or ManagedFunction.";

      key id;
      uses top3gpp:Top_Grp ;
      container attributes {
        uses STMFunctionGrp ;
      }
      
    }
  }
}
 No newline at end of file