...Test objective: The objective is to test the dispatch of NFV-MANO Fault Alarm Notification when a virtualised resource within an NFV-MANO instance fails, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system.
...Pre-conditions: A NFV-MANO instance is instantiated, and a subscription for fault alarm notifications is available.
...Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
Trigger the fault of a virtualised resource in the NFV-MANO instance (external action)
Check Alarm Notification Http POST Request Body Json Schema IsalarmNotification
Check Alarm Notification Http POST Request Body notificationType attribute IsalarmNotification
...Test objective: The objective is to test the dispatch of NFV-MANO Fault Alarm Cleared Notification when a faulty virtualised resource within an NFV-MANO instance is cleared, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system.
...Pre-conditions: A NFV-MANO instance is instantiated, a virtualised resource is in faulty state, and a subscription for fault alarm cleared notifications is available.
...Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
Trigger the clear of a faulty virtualised resource in the NFV-MANO instance (external action)
Check Alarm cleared Notification Http POST Request Body Json Schema IsalarmClearedNotification
Check Alarm cleared Notification Http POST Request Body notificationType attribute IsalarmClearedNotification
NFV-MANO Fault Alarm List Rebuilt Notification
[Documentation]Test ID: 8.3.3.5.3
...Test title: NFV-MANO Fault Alarm List Rebuilt Notification
...Test objective: The objective is to test the dispatch of NFV-MANO Fault Alarm List Rebuilt Notification when the NFV-MANO decides to rebuild the list of its NFV-MANO alarms, e.g. due to a corruption in the alarm storage, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system.
...Pre-conditions: A NFV-MANO instance is instantiated, one or more virtualised resource are in faulty state, and a subscription for fault alarm list rebuilt notifications is available.
...Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
Trigger the NFV-MANO fault alarm list rebuild in the NFVO (external action)
Check Alarm list rebuilt Notification Http POST Request Body Json Schema IsalarmListRebuiltNotification
Check Alarm list rebuilt Notification Http POST Request Body notificationType attribute IsalarmListRebuiltNotification
*** Keywords ***
Trigger the fault of a virtualised resource in the NFV-MANO instance (external action)
#do nothing
Logdo nothing
Trigger the clear of a faulty virtualised resource in the NFV-MANO instance (external action)
#do nothing
Logdo nothing
Trigger the NFV-MANO fault alarm list rebuild in the NFVO (external action)
#do nothing
Logdo nothing
Check Alarm List Rebuilt Notification Http POST Request Body Json Schema Is
"description":"This type represents an alarm cleared notification about VNF faults. The notification shall be triggered by the VNFM when an alarm has been cleared.\n",
"type":"object",
"required":[
"id",
"notificationType",
"subscriptionId",
"timeStamp",
"alarmId",
"alarmClearedTime",
"_links"
],
"properties":{
"id":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"notificationType":{
"description":"Discriminator for the different notification types. Shall be set to \"AlarmClearedNotification\" for this notification type.\n",
"type":"string",
"enum":[
"AlarmClearedNotification"
]
},
"subscriptionId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"timeStamp":{
"description":"Date-time stamp. Representation: String formatted according to IETF RFC 3339.\n",
"type":"string",
"format":"date-time"
},
"alarmId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"alarmClearedTime":{
"description":"The time stamp indicating when the alarm was cleared.\n"
},
"_links":{
"description":"Links to resources related to this notification.\n",
"type":"object",
"required":[
"subscription",
"alarm"
],
"properties":{
"subscription":{
"description":"This type represents a link to a resource.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",
"type":"string",
"format":"url"
}
}
},
"alarm":{
"description":"This type represents a link to a resource.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",
"description":"This type represents a notification that the alarm list has been rebuilt, e.g. if the VNFM detects its storage holding the alarm list is corrupted. The notification shall be triggered by the VNFM when the alarm list has been rebuilt.\n",
"type":"object",
"required":[
"id",
"notificationType",
"subscriptionId",
"timeStamp",
"_links"
],
"properties":{
"id":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"notificationType":{
"description":"Discriminator for the different notification types. Shall be set to \"AlarmListRebuiltNotification\" for this notification type.\n",
"type":"string",
"enum":[
"AlarmListRebuiltNotification"
]
},
"subscriptionId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"timeStamp":{
"description":"Date-time stamp. Representation: String formatted according to IETF RFC 3339.\n",
"type":"string",
"format":"date-time"
},
"_links":{
"description":"Links to resources related to this notification.\n",
"type":"object",
"required":[
"subscription",
"alarms"
],
"properties":{
"subscription":{
"description":"This type represents a link to a resource.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",
"type":"string",
"format":"url"
}
}
},
"alarms":{
"description":"This type represents a link to a resource.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",