NFVManoFaultManagement_def.yaml 5.12 KB
Newer Older
1
definitions:
Giacomo Bernini's avatar
Giacomo Bernini committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  schemas:
    FmSubscriptionRequest:
      description: >
        This type represents a subscription request related to notifications
        about NFV-MANO faults.
      type: object
      required:
        - callbackUri
      properties:
        filter:
          description: >
            Filter settings for this subscription, to define the subset of all
            notifications this subscription relates to. A particular
            notification is sent to the subscriber if the filter matches, or if
            there is no filter.
17
          $ref: "#/definitions/schemas/FmNotificationsFilter"
Giacomo Bernini's avatar
Giacomo Bernini committed
18
19
20
        callbackUri:
          description: >
            The URI of the endpoint to send the notification to.
21
          $ref: "../../definitions/SOL009_def.yaml#/definitions/schemas/Uri"
Giacomo Bernini's avatar
Giacomo Bernini committed
22
23
24
25
26
        authentication:
          description: >
            Authentication parameters to configure the use of Authorization when sending notifications
            corresponding to this subscription, as defined in clause 8.3.4 of ETSI GS NFV-SOL 013.
            This attribute shall only be present if the subscriber requires authorization of notifications.
27
          $ref: "../../definitions/SOL009_def.yaml#/definitions/schemas/SubscriptionAuthentication"
Giacomo Bernini's avatar
Giacomo Bernini committed
28
29
30
31
32
33
34
35
36
37
38
39
40
41

    FmSubscription:
      description: >
        This type represents a subscription related to notifications about VNF
        faults.
      type: object
      required:
        - id
        - callbackUri
        - _links
      properties:
        id:
          description: >
            Identifier of this "Individual subscription" resource.
42
          $ref: "../../definitions/SOL009_def.yaml#/definitions/schemas/Identifier"
Giacomo Bernini's avatar
Giacomo Bernini committed
43
44
45
46
47
48
        filter:
          description: >
            Filter settings for this subscription, to define the subset of all
            notifications this subscription relates to. A particular
            notification is sent to the subscriber if the filter matches, or if
            there is no filter.
49
          $ref: "#/definitions/schemas/FmNotificationsFilter"
Giacomo Bernini's avatar
Giacomo Bernini committed
50
51
52
        callbackUri:
          description: >
            The URI of the endpoint to send the notification to.
53
          $ref: "../../definitions/SOL009_def.yaml#/definitions/schemas/Uri"
Giacomo Bernini's avatar
Giacomo Bernini committed
54
55
56
57
58
59
60
61
62
63
        _links:
          description: >
            Links for this resource.
          type: object
          required:
            - self
          properties:
            self:
              description: >
                URI of this resource.
64
              $ref: "../../definitions/SOL009_def.yaml#/definitions/schemas/Link"
Giacomo Bernini's avatar
Giacomo Bernini committed
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116

    AlarmModifications:
      description: >
        This type represents attribute modifications for an "Individual alarm"
        resource, i.e. modifications to a resource representation based on the
        "Alarm" data type. The attributes of "Alarm" that can be modified
        are included in the "AlarmModifications" data type.
      type: object
      required:
        - ackState
      properties:
        ackState:
          description: >
            New value of the "ackState" attribute in "Alarm".
            Permitted values:
            * ACKNOWLEDGED
          type: string
          enum:
            - ACKNOWLEDGED

    FmNotificationsFilter:
      description: >
        This type represents a subscription filter related to notifications about NFV-MANO functional entity faults.
        It shall comply with the provisions defined in table 7.6.3.2-1. At a particular nesting level in the filter
        structure, the following applies: All attributes shall match in order for the filter to match (logical "and"
        between different filter attributes). If an attribute is an array, the attribute shall match if at least one
        of the values in the array matches (logical "or" between the values of one filter attribute).
        * NOTE:	The permitted values of the "notificationTypes" attribute are spelled exactly as the names
                of the notification types to facilitate automated code generation systems.
      type: object
      properties:
        notificationTypes:
          description: >
            Match particular notification types.
            Permitted values:
            * AlarmNotification
            * AlarmClearedNotification
            * AlarmListRebuiltNotification

            See note.
          type: array
          items:
            type: string
            enum:
              - AlarmNotification
              - AlarmClearedNotification
              - AlarmListRebuiltNotification
        perceivedSeverities:
          description: >
            Match VNF alarms with a perceived severity listed in this attribute.
          type: array
          items:
117
            $ref: "../../definitions/SOL009_def.yaml#/definitions/schemas/PerceivedSeverityType"
Giacomo Bernini's avatar
Giacomo Bernini committed
118
119
120
121
122
        eventTypes:
          description: >
            Match VNF alarms with an event type listed in this attribute.
          type: array
          items:
123
            $ref: "../../definitions/SOL009_def.yaml#/definitions/schemas/EventType"
Giacomo Bernini's avatar
Giacomo Bernini committed
124
125
126
127
128
129
        probableCauses:
          description: >
            Match VNF alarms with a probable cause listed in this attribute.
          type: array
          items:
            type: string