FmNotificationsFilter.schema.json 2.02 KB
Newer Older
aureliano sinatra's avatar
aureliano sinatra committed
{
  "description": "This type represents a subscription filter related to notifications about NS faults.  It shall comply with the provisions defined in Table 8.5.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)..\n",
  "type": "object",
  "properties": {
    "nsInstanceSubscriptionFilter": {
      "description": "Filter criteria to select NS instances about which to notify.    \n",
      "$ref": "SOL005_def.yaml#/definitions/NsInstanceSubscriptionFilter"
    },
    "notificationTypes": {
      "description": "Match particular notification types. Permitted values: - AlarmNotification - AlarmClearedNotification - AlarmListRebuiltNotification.\n",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "AlarmNotification",
          "AlarmClearedNotification",
          "AlarmListRebuiltNotification"
        ]
      }
    },
    "faultyResourceTypes": {
      "description": "Match alarms related to NSs with a faulty resource type listed in this attribute.\n",
      "type": "array",
      "items": {
        "$ref": "#/definitions/FaultyResourceType"
      }
    },
    "perceivedSeverities": {
      "description": "Match VNF alarms with a perceived severity listed in this attribute.\n",
      "type": "array",
      "items": {
        "$ref": "#/definitions/PerceivedSeverityType"
      }
    },
    "eventTypes": {
      "description": "Match VNF alarms with an event type listed in this attribute.\n",
      "type": "array",
      "items": {
        "$ref": "#/definitions/EventType"
      }
    },
    "probableCauses": {
      "description": "Match VNF alarms with a probable cause listed in this attribute.\n",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }