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 Original line Diff line number Diff line
@@ -200,12 +200,10 @@ components:
            Information about the available, reserved, allocated/used, and total capacity of the NFVI.
            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
            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.
            zone/vimId where the NFVI capacity has crossed the threshold.
          schema:
          type: any
          type: any
        _links:
        _links:
          description: |
          description: |
            Links to resources related to this notification.
            Links to resources related to this notification.
          schema:
          type: any
          type: any


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


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


    NfviCapacityResourceTypeEnumeration:
    NfviCapacityResourceTypeEnumeration: