Commit e687dd40 authored by cintiarosa's avatar cintiarosa
Browse files

correct eps to aligne qith stage 2

parent 03bd8263
Loading
Loading
Loading
Loading
Loading
+242 −22
Original line number Diff line number Diff line
@@ -20,9 +20,13 @@ module _3gpp-5gc-nrm-ep {
  import _3gpp-5gc-nrm-smsffunction { prefix smsf3gpp; }
  import _3gpp-5gc-nrm-udmfunction { prefix udm3gpp; }
  import _3gpp-5gc-nrm-upffunction { prefix upf3gpp; }
  import _3gpp-5gc-nrm-mbupffunction { prefix mbupf3gpp; }
  import _3gpp-5gc-nrm-chffunction { prefix chf3gpp; }
  import _3gpp-5gc-nrm-nsacffunction { prefix nsacf3gpp; }
  import _3gpp-5gc-nrm-neffunction { prefix nef3gpp; }
  import _3gpp-5gc-nrm-nssaaffunction { prefix nssaaf3gpp; }
  import _3gpp-5gc-nrm-ddnmffunction { prefix ddnmf3gpp; }
  import _3gpp-5gc-nrm-tsctsffunction { prefix tsctsf3gpp; }
  import _3gpp-common-yang-types { prefix types3gpp; }
  import _3gpp-common-top { prefix top3gpp; }
  import ietf-inet-types { prefix inet; }
@@ -178,21 +182,14 @@ module _3gpp-5gc-nrm-ep {
    description
      "EP_N60 contained under NSACFFunction";
  }
  feature EP_N58UnderNSSAAFFunction {
    description
      "EP_N58 contained under NSSAAFFunction";
  }
  feature EP_N58UnderAMFFunction {
    description "EP_N58 contained under AMFFunction";
  }
  feature EP_N59UnderNSSAAFFunction {
    description
      "EP_N59 contained under NSSAAFFunction";
  feature EP_N19mbUnderMBUPFFunction {
    description "EP_N19mb contained under MBUPFFunction";
  }
  feature EP_N59UnderUDMFunction {
    description "EP_N59 contained under UDMFunction";
  feature EP_N19mbUnderUPFFunction {
    description "EP_N19mb contained under UPFFunction";
  }


  // === EP Groupings ===

  grouping EP_N2Grp {
@@ -326,12 +323,54 @@ module _3gpp-5gc-nrm-ep {
  grouping EP_N60Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N3mbGrp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N19mbGrp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N4mbGrp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_Nmb9Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N58Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N59Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_Npc4Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_Npc6Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_Npc7Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_Npc8Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N84Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N85Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N86Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N87Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N89Grp {
    uses eprp3gpp:EP_Common;
  }
  grouping EP_N96Grp {
    uses eprp3gpp:EP_Common;
  }

  // === Subtree groupings for EPs under 2+ functions ===

@@ -511,6 +550,14 @@ module _3gpp-5gc-nrm-ep {
      container attributes { uses EP_N60Grp; }
    }
  }
  grouping EP_N19mbSubtree {
    list EP_N19mb {
      description "Represents the EP_N19mb IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_N19mbGrp; }
    }
  }
  grouping EP_N58Subtree {
    list EP_N58 {
      description "Represents the EP_N58 IOC.";
@@ -591,9 +638,6 @@ module _3gpp-5gc-nrm-ep {
    uses EP_N60Subtree {
      if-feature EP_N60UnderAMFFunction;
    }
    uses EP_N58Subtree {
      if-feature EP_N58UnderAMFFunction;
    }
  }

  augment "/me3gpp:ManagedElement/ausf3gpp:AUSFFunction" {
@@ -738,9 +782,6 @@ module _3gpp-5gc-nrm-ep {
    uses EP_N13Subtree {
      if-feature EP_N13UnderUDMFunction;
    }
    uses EP_N59Subtree {
      if-feature EP_N59UnderUDMFunction;
    }
  }

  augment "/me3gpp:ManagedElement/upf3gpp:UPFFunction" {
@@ -765,6 +806,33 @@ module _3gpp-5gc-nrm-ep {
    uses EP_N6Subtree {
      if-feature EP_N6UnderUPFFunction;
    }
    uses EP_N19mbSubtree {
      if-feature EP_N19mbUnderUPFFunction;
    }
  }

  augment "/me3gpp:ManagedElement/mbupf3gpp:MBUPFFunction" {
    list EP_N3mb {
      description "Represents the EP_N3mb IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_N3mbGrp; }
    }
    uses EP_N19mbSubtree {
      if-feature EP_N19mbUnderMBUPFFunction;
    }
    list EP_N4mb {
      description "Represents the EP_N4mb IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_N4mbGrp; }
    }
    list EP_Nmb9 {
      description "Represents the EP_Nmb9 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_Nmb9Grp; }
    }
  }

  augment "/me3gpp:ManagedElement/chf3gpp:CHFFunction" {
@@ -786,11 +854,163 @@ module _3gpp-5gc-nrm-ep {
  }

  augment "/me3gpp:ManagedElement/nssaaf3gpp:NSSAAFFunction" {
    uses EP_N58Subtree {
      if-feature EP_N58UnderNSSAAFFunction;
    uses EP_N58Subtree;
    uses EP_N59Subtree;
  }

  augment "/me3gpp:ManagedElement/ddnmf3gpp:DDNMFFunction" {
    list EP_Npc4 {
      description "Represents the EP_Npc4 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_Npc4Grp; }
    }

    list EP_Npc6 {
      description "Represents the EP_Npc6 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_Npc6Grp; }
    }

    list EP_Npc7 {
      description "Represents the EP_Npc7 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_Npc7Grp; }
    }
    uses EP_N59Subtree {
      if-feature EP_N59UnderNSSAAFFunction;

    list EP_Npc8 {
      description "Represents the EP_Npc8 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_Npc8Grp; }
    }
  }

  feature EP_N84UnderTSCTSFFunction {
    description "EP_N84 contained under TSCTSFFunction";
  }
  feature EP_N84UnderPCFFunction {
    description "EP_N84 contained under PCFFunction";
  }
  feature EP_N85UnderTSCTSFFunction {
    description "EP_N85 contained under TSCTSFFunction";
  }
  feature EP_N85UnderNEFFunction {
    description "EP_N85 contained under NEFFunction";
  }
  feature EP_N86UnderTSCTSFFunction {
    description "EP_N86 contained under TSCTSFFunction";
  }
  feature EP_N86UnderAFFunction {
    description "EP_N86 contained under AFFunction";
  }
  feature EP_N87UnderTSCTSFFunction {
    description "EP_N87 contained under TSCTSFFunction";
  }
  feature EP_N87UnderUDMFunction {
    description "EP_N87 contained under UDMFunction";
  }
  feature EP_N96UnderTSCTSFFunction {
    description "EP_N96 contained under TSCTSFFunction";
  }
  feature EP_N96UnderNRFFunction {
    description "EP_N96 contained under NRFFunction";
  }

  grouping EP_N84Subtree {
    list EP_N84 {
      description "Represents the EP_N84 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_N84Grp; }
    }
  }
  grouping EP_N85Subtree {
    list EP_N85 {
      description "Represents the EP_N85 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_N85Grp; }
    }
  }
  grouping EP_N86Subtree {
    list EP_N86 {
      description "Represents the EP_N86 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_N86Grp; }
    }
  }
  grouping EP_N87Subtree {
    list EP_N87 {
      description "Represents the EP_N87 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_N87Grp; }
    }
  }
  grouping EP_N96Subtree {
    list EP_N96 {
      description "Represents the EP_N96 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_N96Grp; }
    }
  }

  augment "/me3gpp:ManagedElement/tsctsf3gpp:TSCTSFFunction" {
    uses EP_N84Subtree {
      if-feature EP_N84UnderTSCTSFFunction;
    }
    uses EP_N85Subtree {
      if-feature EP_N85UnderTSCTSFFunction;
    }
    uses EP_N86Subtree {
      if-feature EP_N86UnderTSCTSFFunction;
    }
    uses EP_N87Subtree {
      if-feature EP_N87UnderTSCTSFFunction;
    }
    list EP_N89 {
      description "Represents the EP_N89 IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes { uses EP_N89Grp; }
    }
    uses EP_N96Subtree {
      if-feature EP_N96UnderTSCTSFFunction;
    }
  }

  augment "/me3gpp:ManagedElement/pcf3gpp:PCFFunction" {
    uses EP_N84Subtree {
      if-feature EP_N84UnderPCFFunction;
    }
  }

  augment "/me3gpp:ManagedElement/nef3gpp:NEFFunction" {
    uses EP_N85Subtree {
      if-feature EP_N85UnderNEFFunction;
    }
  }

  augment "/me3gpp:ManagedElement/af3gpp:AFFunction" {
    uses EP_N86Subtree {
      if-feature EP_N86UnderAFFunction;
    }
  }

  augment "/me3gpp:ManagedElement/udm3gpp:UDMFunction" {
    uses EP_N87Subtree {
      if-feature EP_N87UnderUDMFunction;
    }
  }

  augment "/me3gpp:ManagedElement/nrf3gpp:NRFFunction" {
    uses EP_N96Subtree {
      if-feature EP_N96UnderNRFFunction;
    }
  }
}