...Test objective: The objective is to notify a VNF alarm or that the alarm list has been rebuilt.
...Pre-conditions: The VNF has subscribed to the VNFM alarm
...Reference: section 7.4.5 - SOL002 v2.4.1
VNF Fault Alarm Notification
[Documentation]Test ID: 6.3.4.6.1
...Test title: VNF Fault Alarm Notification
...Test objective: The objective is to test the dispatch of VNF Fault Alarm Notification when a virtualised resource within an VNF instance fails, and perform a JSON schema and content validation of the delivered notification
...Pre-conditions: A VNF instance is instantiated, and a subscription for fault alarm notifications is available in the VNFM.
...Reference:section 7.4.7.3.1 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
logThe POST method delivers a notification - Information of a VNF alarm.
...Test objective: The objective is to test the dispatch of VNF Fault Alarm Cleared Notification when a faulty virtualised resource within an VNF instance is cleared, and perform a JSON schema and content validation of the delivered notification
...Pre-conditions: A VNF instance is instantiated, a virtualised resource is in faulty state, and a subscription for fault alarm cleared notifications is available in the VNFM.
...Reference:section 7.4.7.3.1 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
logThe POST method delivers a notification - Information of a VNF alarm.
Wait Until Keyword Succeeds${sleep_interval}Verify Mock Expectation${req}
LogCleaning the endpoint
Clear Requests${callback_endpoint}
Test a notification end point
[Documentation]Test ID: 7.4.5.4
...Test title: Test a notification end point
...Test objective: The objective is to allow the server to test the notification endpoint that is provided by the client, e.g. during subscription
...Pre-conditions:
...Reference: section 7.4.5 - SOL002 v2.4.1
...Applicability: none
...Post-Conditions: none
Trigger the fault cleared of a virtualised resource in the VNF 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
VNF Fault Alarm List Rebuilt Notification
[Documentation]Test ID: 6.3.4.6.3
...Test title: VNF Fault Alarm List Rebuilt Notification
...Test objective: The objective is to test the dispatch of VNF Fault Alarm List Rebuilt Notification when the VNFM decides to rebuild the list of its VNF alarms, e.g. due to a corruption in the alarm storage, and perform a JSON schema and content validation of the delivered notification
...Pre-conditions: A VNF instance is instantiated, one or more virtualised resource are in faulty state, and a subscription for fault alarm list rebuilt notifications is available in the VNFM.
...Reference:section 7.4.7.3.1 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
logThe GET method allows the server to test the notification endpoint
VNF Performance Information Availability Notification
[Documentation]Test ID: 6.3.3.8.1
...Test title: VNF Performance Information Availability Notification
...Test objective: The objective is to test the dispatch of VNF Performance Information Availability Notification when new VNF perfomance information is available in the NFVO, and perform a JSON schema and content validation of the delivered notification
...Pre-conditions: A VNF performance job is created, and a subscription for information availability notifications is available in the VNFM.
...Reference:section 6.4.9.3.1 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Trigger the availability of VNF Performance Information (external action)
Check Performance Information Available Notification Http POST Request Body Json Schema IsPerformanceInformationAvailableNotification
Check Performance Information Available Notification Http POST Request Body notificationType attribute IsPerformanceInformationAvailableNotification
Post Performance Information Available Notification Negative 404
...Test objective: The objective is to test the dispatch of VNF Threshold Crossed Notification when a previously set VNF perfomance metric threshold is crossed, and perform a JSON schema and content validation of the delivered notification
...Pre-conditions: A VNF performance job is created, and a threshold subscription is available in the VNFM.
...Reference:section 6.4.9.3.1 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Trigger the cross of VNF Performance Threshold (external action)
Check Threshold Crossed Notification Http POST Request Body Json Schema IsThresholdCrossedNotification
Check Threshold Crossed Notification Http POST Request Body notificationType attribute IsThresholdCrossedNotification
Wait Until Keyword Succeeds${sleep_interval}Verify Mock Expectation${req}
LogCleaning the endpoint
Clear Requests${callback_endpoint}
Deliver a notification - Alarm Clearance
[Documentation]Test ID: 7.4.5.2
...Test title: Deliver a notification - Alarm Clearance
...Test objective: The objective is to notify a VNF alarm or that the alarm list has been rebuilt.
...Pre-conditions: The VNF has subscribed to the VNFM alarm
...Reference: section 7.4.5 - SOL003 v2.4.1
VNF Fault Alarm Notification
[Documentation]Test ID: 7.3.5.5.1
...Test title: VNF Fault Alarm Notification
...Test objective: The objective is to test the dispatch of VNF Fault Alarm Notification when a virtualised resource within an VNF instance fails, and perform a JSON schema and content validation of the delivered notification
...Pre-conditions: A VNF instance is instantiated, and a subscription for fault alarm notifications is available in the VNFM.
...Reference:section 7.4.6.3.1 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
logThe POST method delivers a notification - Information of a VNF alarm.