etsi-nfv-pnf.yang 3.08 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 2020-06-10 {
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
16
    description
17
      "Version 3.3.1.
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
18

19
       PNFD according to ETSI GS NFV-IFA 014 Release 3.";
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
20 21
  }

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
22 23 24 25
  revision 2019-10-01 {
    description
      "Version 2.7.1.

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
26 27
       Common data structures to support PNFD according to:
       ETSI GS NFV-IFA 014 Ed271v264";
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
28
  }
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
29

30
  revision 2019-04-25 {
31 32 33
    description
      "Initial revision.

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
34
       Common data structures to support PNFD according to:
35
       ETSI GS NFV-IFA 014 Ed261v252";
36 37

    reference
38
      "ETSI GS NFV-IFA 014 Ed261v252";
39 40 41 42 43 44 45 46 47 48
  }

  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";

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 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
    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 {
101
      key "id";
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
      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";
    }

    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";
121
    }
122
    uses security-group-rule;
123 124
  }
}