Commit e344e2af authored by Bertrand Souville's avatar Bertrand Souville
Browse files

Align with SOL(25)150

parent 749af5d3
Loading
Loading
Loading
Loading
Loading
+53 −1
Original line number Diff line number Diff line
@@ -269,6 +269,11 @@ definitions:
        type: object
        additionalProperties:
          $ref: "#/definitions/Number"
      cpuPowerStateRequirements:
        description: >
          Requirements of virtual CPU power state configuration data for the OS container resource.
        $ref: "#/definitions/CpuPowerStateData"

  VirtualComputeDescData:
    description: >
      This type represents selected values for capacity related VDU attributes of the virtual compute resource of a VM.
@@ -318,6 +323,53 @@ definitions:
        type: object
        additionalProperties:
          $ref: "#/definitions/Number"
      cpuPowerStateRequirements:
        description: >
          Requirements of virtual CPU power state configuration data for the virtual compute resource.
        $ref: "#/definitions/CpuPowerStateData"

  CpuPowerStateData:
    description: >
      This type provides virtual CPU power state configuration data for the virtual compute or OS container resource.

      * NOTE 1: In case the value of the cpuPowerStateManagementPolicy attribute
                is "DYNAMIC", dynamic adjustment of CPU power states of logical CPU cores
                should adhere to the range of CPU P and C states defined in the
                cpuOperationalPowerStates attribute.
      * NOTE 2: In case the value of the cpuPowerStateManagementPolicy attribute
                is "STATIC", the cpuOperationalPowerStates attribute shall contain only
                one set of CPU P and C states requested for the virtual CPU.
                If the value of the cpuPowerStateManagementPolicy attribute is
                "DYNAMIC", multiple CPU P and C states can be defined to indicate the
                range of allowed P/C state values during dynamic power state management.
    type: object
    required:
      - cpuPowerStateManagementPolicy
      - cpuOperationalPowerStates
    properties:
      cpuPowerStateManagementPolicy:
        description: >
          Indicates the policy for CPU power state management.
          Permitted values:
            * STATIC
            * DYNAMIC
          In case of "STATIC", the virtual CPU cores are requested to be
          allocated to logical CPU cores according to the
          cpuOperationalPowerStates attribute.
          In case of "DYNAMIC", the CPU power states of virtual CPU cores
          can be allocated to logical CPU cores whose power states can be
          adjusted dynamically depending on core utilization (see note 1).
        type: string
        enum:
          - STATIC
          - DYNAMIC
      cpuOperationalPowerStates:
        description: >
          Provides the list of operational power states (i.e., P and C states)
          defined for the virtual CPU (see note 2).
        type: array
        items:
          $ref: "#/definitions/KeyValuePairs"

  VirtualStorageDescData:
    description: >