Commit 57fa9531 authored by ramanathan's avatar ramanathan
Browse files

Merge branch 'issue#58' into 'dev-v4.3.1'

issue #58 Version Dependencies from IFA014ed431 FEAT21 MegaCR

See merge request !117
parents c84c8653 b328b645
Loading
Loading
Loading
Loading
Loading
+58 −0
Original line number Diff line number Diff line
@@ -102,6 +102,46 @@ submodule etsi-nfv-ns {
    }
  }

  grouping version-dependency {
    list version-dependency{
      key "dependent-constituent-id";

      leaf dependent-constituent-id{
        type string;
        description
          "Identifier of the NSD constituent which has version
           dependencies on other NSD constituents.";
        reference
          "GS NFV IFA014: Section 6.3.17,
           VersionDependency information element.";
      }

      container version-dependency-statement {
        leaf-list descriptor-id {
          type string;
        }
        description
          "Identifies a VNFD, NSD or PNFD upon which the entity
           using this information element depends.
           When more than one descriptor is indicated, they shall
           correspond to versions of the same VNF, NS or PNF and
           they represent. alternatives, i.e. the presence of one
           of them fulfills the dependency.";
        reference
          "GS NFV IFA014: Section 6.3.18,
           VersionDependencyStatement information element";
      }
      description
        "Identifies one or multiple versions of an NSD
         constituent upon which the dependent constituent
         identified by dependentConstituentId has a dependency.";
      reference
        "GS NFV IFA014: Section 6.3.17,
        VersionDependency information element.";

    }
  }

  grouping nsd {
    leaf id {
      type string;
@@ -983,6 +1023,8 @@ submodule etsi-nfv-ns {
            "GS NFV IFA014: Section 6.3.3.2 VnfProfile information
               element";
        }

        uses version-dependency;
      }

      list pnf-profile {
@@ -1100,6 +1142,7 @@ submodule etsi-nfv-ns {
               information element.";
          }
        }
        uses version-dependency;
      }

      list virtual-link-profile {
@@ -1855,6 +1898,7 @@ submodule etsi-nfv-ns {
               information element.";
          }
        }
        uses version-dependency;
      }

      list dependencies {
@@ -2032,5 +2076,19 @@ submodule etsi-nfv-ns {
      }
    }
    uses security-parameters;

    leaf strict-nsd-constituent-onboarding {
      type boolean;

      description
        "Indicates if all NSD constituents referenced by this NSD
         shall be onboarded before onboarding the NSD identified by
         this information element.
         Default (when the attribute is not present) is True
         (all referenced constituents shall be onboarded).";
      reference
        "GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
         information element";
    }
  }
}