Commit 4a1c1fb5 authored by moscatelli's avatar moscatelli
Browse files

NSD mgmt interface reposes updated

parent 3363ad79
Loading
Loading
Loading
Loading
Loading
+1014 −849

File changed.

Preview size limit exceeded, changes collapsed.

+9 −39
Original line number Diff line number Diff line
@@ -3,17 +3,7 @@
responses:
  206:
    description: >
      Partial Content.

      On success, if the NFVO supports range requests, a
      single consecutive byte range from the content of the
      NSD file is returned.
      The response body shall contain the requested part of
      the NSD file.
      The "Content-Range" HTTP header shall be provided
      according to IETF RFC 7233 [23].
      The "Content-Type" HTTP header shall be set as
      defined above for the "200 OK" response.
      206 PARTIAL CONTENT
    headers:
      Content-Type:
        description: >
@@ -46,11 +36,7 @@ responses:

  303:
    description: >
      A subscription with the same callbackURI and the same filter already exits and the policy
      of the NFVO is to not create redundant subscriptions.
      The HTTP response shall include a "Location" HTTP header that contains the resource URI of
      the existing subscription resource.
      The response body shall be empty.
      303 SEE OTHER
    headers:
      Content-Type:
        description: The MIME type of the body of the response.
@@ -74,18 +60,7 @@ responses:

  409:
    description: >
      Conflict

      Error: The operation cannot be executed currently,
      due to a conflict with the state of the resource.
      Typically, this is due to the fact the NS descriptor
      resource is in the enabled operational state (i.e.
      operationalState = ENABLED) or there are running
      NS instances using the concerned individual NS
      descriptor resource (i.e. usageState = IN_USE).
      The response body shall contain a ProblemDetails
      structure, in which the "detail" attribute shall convey
      more information about the error.
      409 CONFLICT
    headers:
      Content-Type:
        description: The MIME type of the body of the response.
@@ -111,15 +86,12 @@ responses:

  412:
    description: >
      Precondition Failed.
      A precondition given in an HTTP request header is not fulfilled.
      412 PRECONDITION FAILED

      Typically, this is due to an ETag mismatch, indicating that the
      resource was modified by another entity.

      The response body should
      contain a ProblemDetails structure, in which the "detail" attribute
      should convey more information about the error.
      Error: A precondition given in an HTTP request header is not fulfilled.
      Typically, this is due to an ETag mismatch, indicating that the resource was modified by another entity.
      The response body should contain a ProblemDetails structure, in which the "detail" attribute should convey
      more information about the error.
    headers:
      Content-Type:
        description: The MIME type of the body of the response.
@@ -145,9 +117,7 @@ responses:

  416:
    description: >
      The byte range passed in the "Range" header did not
      match any available byte range in the NSD file (e.g. access after end of file).
      The response body may contain a ProblemDetails structure.
      416 RANGE NOT SATISFIABLE
    headers:
      Content-Type:
        description: The MIME type of the body of the response.
+159 −189

File changed.

Preview size limit exceeded, changes collapsed.

+0 −63
Original line number Diff line number Diff line
definitions:
  PerformanceReport:
    description: >
      This type defines the format of a performance report provided by the NFVO 
      to the OSS/BSS as a result of collecting
      performance information as part of a PM job. 
      The type shall comply with the provisions defined in Table 7.5.2.10-1.
    type: object
    required:
      - entries
    properties:
      entries:
        description: >
          List of performance information entries. Each
          performance report entry is for a given metric of a given
          object (i.e. NS instance), but can include multiple
          collected values.
        type: array
        items:
          type: object
          required:
            - objectType
            - objectInstanceId
            - performanceMetric
            - performanceValue
          properties:
            objectType:
              description: >
                Defines the object type for which performance
                information is reported (i.e. NS type). The string value
                shall be set to the nsdId of the NS instance to which the
                performance information relates.
              type: string
            objectInstanceId:
              description: >
                The object instance for which the performance metric is
                reported.
                The object instances for this information element will be
                NS instances.
              $ref: "SOL005_def.yaml#/definitions/Identifier"
            performanceMetric:
              description: >
                Name of the metric collected.
              type: string
            performanceValues:
              description: >
                List of performance values with associated timestamp.
              type: array
              items:
                type: object
                required:
                  - timeStamp
                  - performanceValue
                properties:
                  timeStamp:
                    description: >
                      Time stamp indicating when the data was collected.
                    $ref: "SOL005_def.yaml#/definitions/DateTime"
                  value:
                    description: >
                      The type of the "performanceValue" attribute (i.e. scalar, structure (Object in JSON), or array (of scalars,
                      arrays or structures / Objects)) is outside the scope of the present document.
                    type: object
 No newline at end of file
+63 −0
Original line number Diff line number Diff line
@@ -391,6 +391,69 @@ definitions:
  Link:
    type: "object"

  PerformanceReport:
    description: >
      This type defines the format of a performance report provided by the NFVO
      to the OSS/BSS as a result of collecting
      performance information as part of a PM job.
      The type shall comply with the provisions defined in Table 7.5.2.10-1.
    type: object
    required:
      - entries
    properties:
      entries:
        description: >
          List of performance information entries. Each
          performance report entry is for a given metric of a given
          object (i.e. NS instance), but can include multiple
          collected values.
        type: array
        items:
          type: object
          required:
            - objectType
            - objectInstanceId
            - performanceMetric
            - performanceValue
          properties:
            objectType:
              description: >
                Defines the object type for which performance
                information is reported (i.e. NS type). The string value
                shall be set to the nsdId of the NS instance to which the
                performance information relates.
              type: string
            objectInstanceId:
              description: >
                The object instance for which the performance metric is
                reported.
                The object instances for this information element will be
                NS instances.
              $ref: "SOL005_def.yaml#/definitions/Identifier"
            performanceMetric:
              description: >
                Name of the metric collected.
              type: string
            performanceValues:
              description: >
                List of performance values with associated timestamp.
              type: array
              items:
                type: object
                required:
                  - timeStamp
                  - performanceValue
                properties:
                  timeStamp:
                    description: >
                      Time stamp indicating when the data was collected.
                    $ref: "SOL005_def.yaml#/definitions/DateTime"
                  value:
                    description: >
                      The type of the "performanceValue" attribute (i.e. scalar, structure (Object in JSON), or array (of scalars,
                      arrays or structures / Objects)) is outside the scope of the present document.
                    type: object

  PerformanceInformationAvailableNotification:
    description: >
      This notification informs the receiver that performance information is available.
Loading