diff --git a/src/SOL002/General_Definitions/SOL002_def.yaml b/src/SOL002/General_Definitions/SOL002_def.yaml index 531e8af14657932168524dd2512ce2fdc0d84d4f..5df2825b66a17108992c7ea6235e9599a60bdfd5 100644 --- a/src/SOL002/General_Definitions/SOL002_def.yaml +++ b/src/SOL002/General_Definitions/SOL002_def.yaml @@ -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,50 @@ 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 + 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). + $ref: "#/definitions/KeyValuePairs" VirtualStorageDescData: description: > @@ -1855,4 +1904,4 @@ definitions: - MODIFY_INFO - CREATE_SNAPSHOT - REVERT_TO_SNAPSHOT - - CHANGE_VNFPKG \ No newline at end of file + - CHANGE_VNFPKG