etsi-nfv-pnf.yang 3.35 KB
Newer Older
1
submodule etsi-nfv-pnf {
2
  yang-version 1.1;
3 4 5 6 7 8 9
  belongs-to etsi-nfv {
    prefix nfv;
  }

  /*
   * Import
   */
10
  include etsi-nfv-common;
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

  description
    "Models for PNFD according to GS NFV-IFA 014.";

  revision 2018-06-25 {
    description
      "Initial revision.

       Common data structure to support VNFD according to:
       ETSI GS NFV-IFA 014 Ed251v244";

    reference
      "ETSI GS NFV-IFA 014 Ed251v244";
  }

  grouping pnfd {
    description
      "The Pnfd information element is a deployment template
       enabling on-boarding PNFs and referencing them from an NSD.
       It focuses on connectivity aspects only";
    reference
      "GS NFV-IFA014: Section 6.6.2, Pnfd information element";

34 35 36
    list pnfd {
      key "id";

37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
      leaf id {
        type string;
        description
          "Identifier of this Pnfd information element. It uniquely
           identifies the PNFD.";
        reference
          "GS NFV-IFA014: Section 6.6.2, Pnfd information element";
      }
      leaf function-description {
        type string;
        description
          "Describes the PNF function.";
        reference
          "GS NFV-IFA014: Section 6.6.2, Pnfd information element";
      }
      leaf provider {
        type string;
        description
          "Identifies the provider of the PNFD.";
        reference
          "GS NFV-IFA014: Section 6.6.2, Pnfd information element";
      }
      leaf version {
        type string;
        mandatory true;
        description
          "Identifies the version of the PNFD.";
        reference
          "GS NFV-IFA014: Section 6.6.2, Pnfd information element";
      }
      leaf invariant-id {
        type string;
        description
          "Identifies a PNFD in a version independent manner. This
           attribute is invariant across versions of PNFD.";
        reference
          "GS NFV-IFA014: Section 6.6.2, Pnfd information element";
      }
      leaf name {
        type string;
        description
          "Provides the human readable name of the PNFD.";
        reference
          "GS NFV-IFA014: Section 6.6.2, Pnfd information element";
      }
82
      list ext-cpd {
83
        key "id";
84
        uses cpd;
85 86 87 88 89 90 91 92
        description
          "Specifies the characteristics of one or more connection
           points where to connect the PNF to a VL.";
        reference
          "GS NFV-IFA014: Section 6.6.2, Pnfd information element";
      }
      list security {
        key "signature";
93
        uses security-parameters;
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
        description
          "Provides a signature to prevent tampering.
           Editor's Note: While IFA014 does specify that the PNFD
           includes a security parameter. SOL001 does not have one.
           We need to harmonize SOL001 & SOL006 on this point.";
        reference
          "GS NFV-IFA014: Section 6.6.2, Pnfd information element";
      }
      leaf geographical-location-info {
        type string;
        description
          "It provides information about the geographical location
           (e.g. geographic coordinates or address of the building,
           etc.) of the PNF. The cardinality 0 is used when the
           location is unknown.
           Editor's Note: The type is TBD in SOL001. We need to make
           a common SOL001/SOL006 decision.";
        reference
          "GS NFV-IFA014: Section 6.6.2, Pnfd information element";
      }
    }
  }
}