Commit c5364438 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

add changes as per NFVSOL(26)000022_SOL005ed541

parent 770648ea
Loading
Loading
Loading
Loading
Loading
+56 −1
Original line number Diff line number Diff line
@@ -204,7 +204,6 @@ definitions:
         description: Information of CMF.
         $ref: "#/definitions/CmfInfo"
        
        
  CmfData:
   type: object
   description: > 
@@ -787,6 +786,10 @@ definitions:
        enum:
          - NOT_INSTANTIATED
          - INSTANTIATED
      nsEnergyAwareState:
        description: >
          Energy aware state of the NS instance.
        $ref: "#/definitions/NsEnergyAwareState"
      monitoringParameter:
        description: >
          Performance metrics tracked by the NFVO (e.g. for
@@ -9288,3 +9291,55 @@ definitions:
          Defines the location constraints for the VNF constituent 
          to be created.
        $ref: "#/definitions/LocationConstraints"
  
  NsEnergyAwareState:
    description: >
      This type represents information about the energy aware state of the NS instance.
      It shall comply with the provisions defined in table 6.5.3.129-1.
    type: object
    required:
      - nsEnergyAwareStateWeights
      - averagePowerConsumption
    properties:
      nsEnergyStateName:
        description: >
          Name or description of the energy aware state of the NS instance based on the 
          computed energy aware state (through power consumption). It shall be present 
          if state name is known to the NFVO based on the computed power state of the
          NS instance, as defined by "averagePowerConsumption".
      type: string
      nsEnergyAwareStateWeights:
        description: >
          List of energy aware state weights for the NS instance and its constituents.
        type: array
        items:
          $ref: "#/definitions/NsEnergyAwareStateWeights"
      averagePowerConsumption:
        description: >
          Power state of the NS instance expressed as average power consumption and computed
          based on the power weights and the power states of the NS instance and the one or
          more NS constituents. Unit is KW/h.
        type: integer

  NsEnergyAwareStateWeights:
    type: object
    required:
      - powerWeight
      - constituentIds
    properties:
      energyStateParam:
        description: >
          Identifier of the energy aware state defined in the NSD. Shall be present if an energy
          aware state policy has been defined for the respective NS constituent.
        $ref: "#/definitions/IdentifierInNsd"
      powerWeight:
        description: >
          Value of the power weight assigned from the NSD, or provided during runtime.
        type: integer
      constituentIds:
        description: >
          Identifier of the NS constituents (another NS instance or VNF instance) to which the energy
          aware state weight is applicable.
        type: array
        items:
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
 No newline at end of file