diff --git a/src/SOL003/VNFLifecycleManagement/definitions/SOL003VNFLifecycleManagement_def.yaml b/src/SOL003/VNFLifecycleManagement/definitions/SOL003VNFLifecycleManagement_def.yaml index 1da90b1dac8caafffc10227740bf155644ba334e..d7770921b192a1924cf298a4c9d03e097958c02b 100644 --- a/src/SOL003/VNFLifecycleManagement/definitions/SOL003VNFLifecycleManagement_def.yaml +++ b/src/SOL003/VNFLifecycleManagement/definitions/SOL003VNFLifecycleManagement_def.yaml @@ -1183,6 +1183,12 @@ definitions: description: > The state of the VNF instance. $ref: "#/definitions/VnfOperationalStateType" + vnfPowerState: + description: > + The power state of the VNF instance. Only present if the VNF instance + is in a power state or a scale status (refer to attribute "scaleStatus") + that has an associated power profile, as defined in the VNFD. + $ref: "#/definitions/PowerStateInfo" scaleStatus: description: > Scale status of the VNF, one entry per aspect. Represents for every scaling aspect @@ -3331,14 +3337,16 @@ definitions: description: > This type represents request parameters for the "Scale VNF to Level" operation. - NOTE 1: Either the instantiationLevelId attribute or the scaleInfo attribute shall - be included. - NOTE 2: If the referenced instantiationLevel or the scaleInfo attribute contain information related to VNFCs that are not - going to be instantiated due to the selection of deployable modules, the information is stored in the VNFM for - later use and included in the instantiatedVnfInfo. If, during the lifecycle of the VNF, as a result of a change of - the selected deployable modules any of those VNFCs is going to be instantiated, the stored information + NOTE 1: Either the instantiationLevelId attribute or the scaleInfo attribute or the powerProfileId attribute shall + be included, but not multiple of them. + NOTE 2: If the referenced instantiationLevel, the scaleInfo or powerProfileId attribute contain information related to VNFCs + that are not going to be instantiated due to the selection of deployable modules, the information is stored in the + VNFM for later use and included in the instantiatedVnfInfo. If, during the lifecycle of the VNF, as a result of a + change of the selected deployable modules any of those VNFCs is going to be instantiated, the stored information determines the number of instances, unless the request that triggered the change also contains information about the number of instances + Editor's Note: Pending on PowerProfile work in SOL001. + type: object anyOf: - oneOf: @@ -3346,21 +3354,30 @@ definitions: - instantiationLevelId - required: - scaleInfo + - required: + - powerProfileId properties: instantiationLevelId: description: > Identifier of the target instantiation level of the current deployment flavour to which the VNF is requested to be scaled. - See note 1 and 2. + See notes 1 and 2. $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierInVnfd" scaleInfo: description: > For each scaling aspect of the current deployment flavour, indicates the target scale level to which the VNF is to be scaled. - See note 1 and 2. + See notes 1 and 2. type: array items: $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/ScaleInfo" + powerProfileId: + description: > + Identifier of the target power profile in the current deployment flavour, as + defined in the VNFD, from which the target power state can be selected and + be switched to. + See notes 1 and 2. + $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierInVnfd" additionalParams: description: > Additional parameters passed by the NFVO as input to the scaling @@ -3859,6 +3876,34 @@ definitions: notification is related to. Shall be present if there is a related lifecycle operation occurrence. $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/NotificationLink" + PowerStateInfo: + description: > + This type represents information about the power state of a VNF instance. + + Editor's Note: Specification of PowerConsumptionInfo data type is FFS pending + on PowerProfile work in SOL001. + type: object + required: + - powerProfileId + - name + properties: + powerProfileId: + description: > + Identifier of the power profile, as defined in the VNFD, + applied to the VNF instance. + $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierInVnfd" + name: + description: > + Name of the power profile as provided in the VNFD. + type: string + powerConsumptionInfo: + description: > + Estimated power consumption information of the resources + associated with this power profile, as provided in the VNFD. + VNFM exposes and can use this information to control the VNF + instance to operate according to the power profile and selected + power state, e.g., monitoring actual energy or power consumption + of the VNF instance and compare against the estimated one. VnfExtCpInfo: description: > @@ -4676,4 +4721,4 @@ definitions: description: > Name of an address pool from which an IP address is assigned to the virtual CP. - type: string \ No newline at end of file + type: string