Commit 8a063ab2 authored by Francesca Moscatelli's avatar Francesca Moscatelli
Browse files

Minor issues fixed

parent 8711e839
Loading
Loading
Loading
Loading
Loading
+54 −0
Original line number Original line Diff line number Diff line
@@ -126,6 +126,60 @@ definitions:
              instance information is accessible as a resource.
              instance information is accessible as a resource.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"


  AlarmNotification:
    description: >
      This type represents an alarm notification about VNF faults.
      This notification shall be triggered by the VNFM when:
      * An alarm has been created.
      * An alarm has been updated, e.g. if the severity of the alarm has
        changed.
    type: object
    required:
      - id
      - notificationType
      - subscriptionId
      - timeStamp
      - alarm
      - _links
    properties:
      id:
        description: >
          Identifier of this notification. If a notification is sent multiple
          times due to multiple subscriptions, the "id" attribute of all these
          notifications shall have the same value.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      notificationType:
        description: >
          Discriminator for the different notification types. Shall be set to
          "AlarmNotification" for this notification type.
        type: string
        enum:
          - AlarmNotification
      subscriptionId:
        description: >
          Identifier of the subscription that this notification relates to.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      timeStamp:
        description: >
          Date-time of the generation of the notification.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      alarm:
        description: >
          Information about an alarm including AlarmId, affected VNF
          identifier, and FaultDetails.
        $ref: "#/definitions/Alarm"
      _links:
        description: >
          Links to resources related to this notification.
        type: object
        required:
          - subscription
        properties:
          subscription:
            description: >
              Link to the related subscription.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/NotificationLink"

  PerceivedSeverityRequest:
  PerceivedSeverityRequest:
    description: >
    description: >
      This type represents the escalated value of the perceived severity for an alarm.
      This type represents the escalated value of the perceived severity for an alarm.
+1 −1
Original line number Original line Diff line number Diff line
@@ -190,7 +190,7 @@ components:
      content:
      content:
        application/json:
        application/json:
          schema:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmNotification
            $ref: ../VNFFaultManagement/definitions/SOL002VNFFaultManagement_def.yaml#/definitions/AlarmNotification
      required: true
      required: true


    AlarmClearedNotification:
    AlarmClearedNotification:
+2 −2
Original line number Original line Diff line number Diff line
@@ -148,7 +148,7 @@ definitions:
          operation occurrence and by any of the error handling procedures for that operation occurrence.
          operation occurrence and by any of the error handling procedures for that operation occurrence.
        type: array
        type: array
        items:
        items:
          $ref: "../../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/AffectedExtLinkPort"
          $ref: "../../VNFLifecycleManagement/definitions/SOL002VNFLifecycleManagement_def.yaml#/definitions/AffectedExtLinkPort"
      affectedVirtualStorages:
      affectedVirtualStorages:
        description: >
        description: >
          Information about virtualised storage instances that were affected
          Information about virtualised storage instances that were affected
@@ -170,7 +170,7 @@ definitions:
          the operation has performed any changes to VNF instance information,
          the operation has performed any changes to VNF instance information,
          including VNF configurable properties.
          including VNF configurable properties.
          Shall be absent otherwise.
          Shall be absent otherwise.
        $ref: "../../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfInfoModifications"
        $ref: "../../VNFLifecycleManagement/definitions/SOL002VNFLifecycleManagement_def.yaml#/definitions/VnfInfoModifications"
      changedExtConnectivity:
      changedExtConnectivity:
        description: >
        description: >
          Information about changed external connectivity, if this
          Information about changed external connectivity, if this
+55 −1
Original line number Original line Diff line number Diff line
@@ -113,3 +113,57 @@ definitions:
              notified alarm is correlated. Shall be present if the VNF
              notified alarm is correlated. Shall be present if the VNF
              instance information is accessible as a resource.
              instance information is accessible as a resource.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"

  AlarmNotification:
    description: >
      This type represents an alarm notification about VNF faults.
      This notification shall be triggered by the VNFM when:
      * An alarm has been created.
      * An alarm has been updated, e.g. if the severity of the alarm has
        changed.
    type: object
    required:
      - id
      - notificationType
      - subscriptionId
      - timeStamp
      - alarm
      - _links
    properties:
      id:
        description: >
          Identifier of this notification. If a notification is sent multiple
          times due to multiple subscriptions, the "id" attribute of all these
          notifications shall have the same value.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      notificationType:
        description: >
          Discriminator for the different notification types. Shall be set to
          "AlarmNotification" for this notification type.
        type: string
        enum:
          - AlarmNotification
      subscriptionId:
        description: >
          Identifier of the subscription that this notification relates to.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      timeStamp:
        description: >
          Date-time of the generation of the notification.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      alarm:
        description: >
          Information about an alarm including AlarmId, affected VNF
          identifier, and FaultDetails.
        $ref: "#/definitions/Alarm"
      _links:
        description: >
          Links to resources related to this notification.
        type: object
        required:
          - subscription
        properties:
          subscription:
            description: >
              Link to the related subscription.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/NotificationLink"
 No newline at end of file
+1 −1
Original line number Original line Diff line number Diff line
@@ -225,7 +225,7 @@ components:
      content:
      content:
        application/json:
        application/json:
          schema:
          schema:
            $ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmNotification"
            $ref: "../VNFFaultManagement/definitions/SOL003VNFFaultManagement_def.yaml#/definitions/AlarmNotification"
      required: true
      required: true


    AlarmClearedNotification:
    AlarmClearedNotification:
Loading