Commit 6800b319 authored by scottma's avatar scottma Committed by lengyelb
Browse files

Add new file

parent 5d849325
Loading
Loading
Loading
Loading
+102 −0
Original line number Diff line number Diff line
module _3gpp-common-sectorequipmentfunction {
  yang-version 1.1;
  namespace "urn:3gpp:sa5:_3gpp-common-sectorequipmentfunction";
  prefix "secteqpfunc3gpp";

  import _3gpp-common-yang-types { prefix types3gpp; }
  import _3gpp-common-managed-function { prefix mf3gpp; }
  import _3gpp-common-managed-element { prefix me3gpp; }
  import _3gpp-nr-nrm-gnbdufunction { prefix gnbdu3gpp; }
  import _3gpp-common-top { prefix top3gpp; }

  organization "3GPP SA5";
  contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464";
  description "Defines the YANG mapping of the Antenna Function Information
    Object Class (IOC) that is part of the Generic Network Resource Model (NRM).
    Copyright 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, 
    TTA, TTC). All rights reserved.";
  reference "3GPP TS 28.662 Generic Network Resource Model (NRM)";

  revision 2025-05-01 {
    description "Initial revision";
  }
 grouping SectorEquipmentFunctionGrp {
    description "Represents the SectorEquipmentFunction.";
    uses mf3gpp:ManagedFunctionGrp;

    leaf confOutputPower {
      description "It defines the allowed total power to use for all 
        cells together in this sector. 
        It may be set by the operator and/or limited by HW limitation 
        or licensed power, e.g.: 20, 40, 60, 80,120 watts";
      type uint32;
    }

    leaf fqBands {
      description "The list of frequency bands supported by the hardware 
        associated with the SectorEquipmentFunction. The earfcnDl and earfcnUl 
        or earfcn of cells associated with the SectorEquipmentFunction must 
        be assigned with value within one of the specified frequencyBands values.";
      config false;
      type string;
    }

    leaf-list theAntennaList {
      description "This attribute contains the distinguished names of the 
        AntennaFunction.";
      type types3gpp:DistinguishedName;
    }

    leaf-list theCellList {
      description "This attribute contains the DNs of EUtranGenericCell 
        or UtranGenericCell if associations between them exist. 
        This attribute contains the DNs of GSMCellPart if association 
        between them exist. ";
      status deprecated;
      config false;
      type types3gpp:DistinguishedName;
    }

    leaf-list theTMAList {
      description "This attribute contains the DNs of one or more TMAFunctions.";
      status deprecated;
      config false;
      type types3gpp:DistinguishedName;
    }

    leaf-list referencedBy {
      description "This attribute contains the DNs of one or more objects 
        that refer to this object.
        
        In the case of SectorEquipmentFunction , these referring objects 
        may include Cells, NRSectorCarriers if associations between them 
        and the SectorEquipmentFunction exist.
        
        Note: referencedBy is a DN datatype and so can reference an MOI 
        under a different ME";
      config false;
      type types3gpp:DistinguishedName;
    }
  }

  augment "/me3gpp:ManagedElement" {

    list SectorEquipmentFunction {
      key id;
      uses top3gpp:Top_Grp;
      description "This IOC represents a set of cells within a geographical 
        area that has common functions relating to AntennaFunction, TMAFunction 
        and supporting equipment, such as power amplifier.";

      must 'id != ""' {
        error-message "Empty id value is not allowed.";
      }

      container attributes {
        uses SectorEquipmentFunctionGrp;
      }
      uses mf3gpp:ManagedFunctionContainedClasses;
    }
  }

}