Commit d2064ba6 authored by Eisha Ayaz's avatar Eisha Ayaz
Browse files

[datamodel-upd][SOL002][VNF-LCM][v5.3.1][6.3.5.x.x Test-IDs][NFVSOL(25)000166]...

[datamodel-upd][SOL002][VNF-LCM][v5.3.1][6.3.5.x.x Test-IDs][NFVSOL(25)000166] Add attribute vnfPowerState for type vnfInstance
parent a0292ec4
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
@@ -401,6 +401,47 @@
										"STOPPED"
									]
								},
								"vnfPowerState": {
									"description": "The power state of the VNF instance. Only present if the VNF instance\n is in a power state or a scale status (refer to attribute \"scaleStatus\")\n that has an associated power profile, as defined in the VNFD.\n",
									"type": "object",
									"required": [
										"powerProfileId",
										"name"
									],
									"properties": {
										"powerProfileId": {
											"description": "Identifier of the power profile, as defined in the VNFD, applied to the VNF instance.\n",
											"type": "string"
										},
										"name": {
											"description": "Name of the power profile as provided in the VNFD.\n",
											"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.\n",
											"type": "object",
											"required": [
												"minPowerConsumption",
												"maxPowerConsumption",
												"averagePowerConsumption"
											],
											"properties": {
												"minPowerConsumption": {
													"description": "Minimum power consumption of this power profile. Unit is KW/h.\n",
													"type": "integer"
												},
												"maxPowerConsumption": {
													"description": "Maximum power consumption of this power profile. Unit is KW/h.\n",
													"type": "integer"
												},
												"averagePowerConsumption": {
													"description": "Average power consumption of this power profile. Unit is KW/h.\n",
													"type": "integer"
												}
											}
										}
									}
								},
								"scaleStatus": {
									"description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect. This attribute shall be present if the VNF supports scaling. See clause B.2 for an explanation of VNF scaling. For an aspect that has not been deployed because the related deployableModule has not been selected, it indicates the scale level that has been requested in the instantiation or in a scaling operation, or, if none has been requested in any of them, the scale level applicable to the aspect based on the default instantiation level. See note 8.\n",
									"type": "array",
+41 −0
Original line number Diff line number Diff line
@@ -403,6 +403,47 @@
											"STOPPED"
										]
									},
									"vnfPowerState": {
										"description": "The power state of the VNF instance. Only present if the VNF instance\n is in a power state or a scale status (refer to attribute \"scaleStatus\")\n that has an associated power profile, as defined in the VNFD.\n",
										"type": "object",
										"required": [
											"powerProfileId",
											"name"
										],
										"properties": {
											"powerProfileId": {
												"description": "Identifier of the power profile, as defined in the VNFD, applied to the VNF instance.\n",
												"type": "string"
											},
											"name": {
												"description": "Name of the power profile as provided in the VNFD.\n",
												"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.\n",
												"type": "object",
												"required": [
													"minPowerConsumption",
													"maxPowerConsumption",
													"averagePowerConsumption"
												],
												"properties": {
													"minPowerConsumption": {
														"description": "Minimum power consumption of this power profile. Unit is KW/h.\n",
														"type": "integer"
													},
													"maxPowerConsumption": {
														"description": "Maximum power consumption of this power profile. Unit is KW/h.\n",
														"type": "integer"
													},
													"averagePowerConsumption": {
														"description": "Average power consumption of this power profile. Unit is KW/h.\n",
														"type": "integer"
													}
												}
											}
										}
									},
									"scaleStatus": {
										"description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect. This attribute shall be present if the VNF supports scaling. See clause B.2 for an explanation of VNF scaling. For an aspect that has not been deployed because the related deployableModule has not been selected, it indicates the scale level that has been requested in the instantiation or in a scaling operation, or, if none has been requested in any of them, the scale level applicable to the aspect based on the default instantiation level. See note 8.\n",
										"type": "array",
+41 −0
Original line number Diff line number Diff line
@@ -352,6 +352,47 @@
            "STOPPED"
          ]
        },
        "vnfPowerState": {
          "description": "The power state of the VNF instance. Only present if the VNF instance\n is in a power state or a scale status (refer to attribute \"scaleStatus\")\n that has an associated power profile, as defined in the VNFD.\n",
          "type": "object",
          "required": [
            "powerProfileId",
            "name"
          ],
          "properties": {
            "powerProfileId": {
              "description": "Identifier of the power profile, as defined in the VNFD, applied to the VNF instance.\n",
              "type": "string"
            },
            "name": {
              "description": "Name of the power profile as provided in the VNFD.\n",
              "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.\n",
              "type": "object",
              "required": [
                "minPowerConsumption",
                "maxPowerConsumption",
                "averagePowerConsumption"
              ],
              "properties": {
                "minPowerConsumption": {
                  "description": "Minimum power consumption of this power profile. Unit is KW/h.\n",
                  "type": "integer"
                },
                "maxPowerConsumption": {
                  "description": "Maximum power consumption of this power profile. Unit is KW/h.\n",
                  "type": "integer"
                },
                "averagePowerConsumption": {
                  "description": "Average power consumption of this power profile. Unit is KW/h.\n",
                  "type": "integer"
                }
              }
            }
          }
        },
        "scaleStatus": {
          "description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect. This attribute shall be present if the VNF supports scaling. See clause B.2 for an explanation of VNF scaling. For an aspect that has not been deployed because the related deployableModule has not been selected, it indicates the scale level that has been requested in the instantiation or in a scaling operation, or, if none has been requested in any of them, the scale level applicable to the aspect based on the default instantiation level. See note 8.\n",
          "type": "array",
+41 −0
Original line number Diff line number Diff line
@@ -354,6 +354,47 @@
              "STOPPED"
            ]
          },
          "vnfPowerState": {
            "description": "The power state of the VNF instance. Only present if the VNF instance\n is in a power state or a scale status (refer to attribute \"scaleStatus\")\n that has an associated power profile, as defined in the VNFD.\n",
            "type": "object",
            "required": [
              "powerProfileId",
              "name"
            ],
            "properties": {
              "powerProfileId": {
                "description": "Identifier of the power profile, as defined in the VNFD, applied to the VNF instance.\n",
                "type": "string"
              },
              "name": {
                "description": "Name of the power profile as provided in the VNFD.\n",
                "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.\n",   
                "type": "object",
                "required": [
                  "minPowerConsumption",
                  "maxPowerConsumption",
                  "averagePowerConsumption"
                ],
                "properties": {
                  "minPowerConsumption": {
                    "description": "Minimum power consumption of this power profile. Unit is KW/h.\n",
                    "type": "integer"
                  },
                  "maxPowerConsumption": {
                    "description": "Maximum power consumption of this power profile. Unit is KW/h.\n",
                    "type": "integer"
                  },
                  "averagePowerConsumption": {
                    "description": "Average power consumption of this power profile. Unit is KW/h.\n",
                    "type": "integer"
                  }
                }
              }
            }
          },
          "scaleStatus": {
            "description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect. This attribute shall be present if the VNF supports scaling. See clause B.2 for an explanation of VNF scaling. For an aspect that has not been deployed because the related deployableModule has not been selected, it indicates the scale level that has been requested in the instantiation or in a scaling operation, or, if none has been requested in any of them, the scale level applicable to the aspect based on the default instantiation level. See note 8.\n",
            "type": "array",