etsi-nfv-pnf.yang 3.21 KB
Newer Older
1
submodule etsi-nfv-pnf {
2
  yang-version 1.1;
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
3
  belongs-to etsi-nfv-descriptors {
4 5 6 7 8 9
    prefix nfv;
  }

  /*
   * Import
   */
10
  include etsi-nfv-common;
11 12 13 14

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

15
  revision 2019-03-18 {
16 17 18 19
    description
      "Initial revision.

       Common data structure to support VNFD according to:
20
       ETSI GS NFV-IFA 014 Ed261v252";
21 22

    reference
23
      "ETSI GS NFV-IFA 014 Ed261v252";
24 25 26 27 28 29 30 31 32 33
  }

  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 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 82 83 84 85
    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";
    }

    list ext-cpd {
86
      key "id";
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
      uses cpd;
      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";
      uses security-parameters;
      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";
    }
106

107 108 109 110 111 112 113 114 115 116 117
    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";
118
    }
119
    uses security-group-rule;
120 121
  }
}