From 3261039af971d7920077a6a65331b3e0c50c836a Mon Sep 17 00:00:00 2001 From: Bertrand Souville Date: Tue, 13 May 2025 15:33:29 +0200 Subject: [PATCH 1/2] Align with SOL(25)149 --- .../General_Definitions/SOL003_def.yaml | 53 ++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/src/SOL003/General_Definitions/SOL003_def.yaml b/src/SOL003/General_Definitions/SOL003_def.yaml index 56fab7b4..b853cea9 100644 --- a/src/SOL003/General_Definitions/SOL003_def.yaml +++ b/src/SOL003/General_Definitions/SOL003_def.yaml @@ -970,6 +970,10 @@ 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: > @@ -1019,6 +1023,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: > @@ -1614,4 +1665,4 @@ definitions: - MODIFY_INFO - CREATE_SNAPSHOT - REVERT_TO_SNAPSHOT - - CHANGE_VNFPKG \ No newline at end of file + - CHANGE_VNFPKG -- GitLab From f67dcf461d8d9c4a1e3ca4c682d795ddf1387c38 Mon Sep 17 00:00:00 2001 From: Bertrand Souville Date: Fri, 16 May 2025 17:00:01 +0200 Subject: [PATCH 2/2] Refactored to align with SOL(25)149r2 --- src/SOL003/General_Definitions/SOL003_def.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/SOL003/General_Definitions/SOL003_def.yaml b/src/SOL003/General_Definitions/SOL003_def.yaml index b853cea9..493537a3 100644 --- a/src/SOL003/General_Definitions/SOL003_def.yaml +++ b/src/SOL003/General_Definitions/SOL003_def.yaml @@ -1045,7 +1045,6 @@ definitions: type: object required: - cpuPowerStateManagementPolicy - - cpuOperationalPowerStates properties: cpuPowerStateManagementPolicy: description: > @@ -1067,9 +1066,7 @@ definitions: 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" + $ref: "#/definitions/KeyValuePairs" VirtualStorageDescData: description: > -- GitLab