Commit 11b539c5 authored by Francesca Moscatelli's avatar Francesca Moscatelli
Browse files

NFVI CI Interface datatypes

parent bad893e6
Loading
Loading
Loading
Loading
Loading
+36 −50
Original line number Diff line number Diff line
@@ -200,12 +200,10 @@ components:
            Information about the available, reserved, allocated/used, and total capacity of the NFVI.
            If the subscription does specify a resource zone and/or vimId, the information is provided for the resource
            zone/vimId where the NFVI capacity has crossed the threshold.
          schema:
          type: any
        _links:
          description: |
            Links to resources related to this notification.
          schema:
          type: any

    NfviCapacityInfoNotificationsFilter:
@@ -222,7 +220,6 @@ components:
          schema:
            type: array
            items:
              schema:
              type: string
              enum:
                - CapacityShortageNotification
@@ -257,7 +254,6 @@ components:
              description: |
                Name of the capacity measurement. Different resource types can have different associated capacity measurements,
                typically associated to different sub-types of the resource type.
              schema:
              type: string
            capacityType:
              description: |
@@ -284,10 +280,8 @@ components:
        simpleThresholdDetails:
          description: |
            Details of a simple threshold. Shall be present if thresholdType="SIMPLE".
          schema:
          type: array
          items:
              schema:
            type: object
            required:
              - thresholdValue
@@ -296,7 +290,6 @@ components:
              thresholdValue:
                description: |
                  The threshold value. Shall be represented as a floating point number.
                    schema:
                type: number
              hysteresis:
                description: |
@@ -308,7 +301,6 @@ components:
                  The hysteresis is defined to prevent storms of threshold crossing notifications.
                  When processing a request to create a threshold, implementations should enforce a suitable minimum
                  value for this attribute (e.g. override the value or reject the request).
                    schema:
                type: number

    NfviCapacityInfoPerZone:
@@ -326,7 +318,6 @@ components:
        capacityMeasurements:
          description: |
            Capacity measurement on a per resource type basis.
          schema:
          type: array
          items:
            $ref: '#/components/schemas/NfviCapacityMeasurement'
@@ -372,28 +363,23 @@ components:
          description: |
            Name of the capacity measurement. Different resource types can have different associated capacity measurements,
            typically associated to different sub-types of the resource type.
          schema:
          type: string
        totalCapacity:
          description: |
            The total capacity.
          schema:
          type: any
        allocatedCapacity:
          description: |
            The allocated/used capacity.
          schema:
          type: any
        reservedCapacity:
          description: |
            The reserved capacity. Shall be present if the capacity measurement relates to a resource type and
            (and sub-type) that is reservable.
          schema:
          type: any
        availableCapacity:
          description: |
            The available capacity.
          schema:
          type: any

    NfviCapacityResourceTypeEnumeration: