Changes for SOL002/VNFFaultManagement-API/NotificationEndpoint.robot: 126 added lines, 104 removed lines.
Original line number
Diff line number
Diff line
*** Settings ***
Resourceenvironment/variables.txt
Suite SetupCreate Sessions
Suite TeardownTerminate All Processeskill=true
LibraryMockServerLibrary
LibraryProcess
LibraryOperatingSystem
LibraryCollections
Suite SetupCreate Sessions
Suite TeardownTerminate All Processeskill=true
*** Test Cases ***
Deliver a notification - Alarm
[Documentation]Test ID: 7.4.5.1
...Test title: Deliver a notification - Alarm
...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}
...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
Deliver a notification - Alarm List Rebuilt
[Documentation]Test ID: 7.4.5.3
...Test title: Deliver a notification - Alarm List Rebuilt
...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 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 POST method delivers a notification - Information of a VNF alarm.
...Test title: VNF Indicator Value Change Notification
...Test objective: The objective is to test the dispatch of VNF Indicator Value Change Notification when new indicator values are available in the VNF, and perform a JSON schema and content validation of the delivered notification
...Pre-conditions: A VNF is instantiated, and a subscription for indicator value change notifications is available in the VNF.
...Reference:section 8.4.7.3.1 - SOL002 v2.4.1
...Config ID: Config_prod_VNF
...Applicability: none
...Post-Conditions: none
Trigger the availability of new indicator value in the VNF (external action)
Check Indicator Value Change Notification Http POST Request Body Json Schema IsVnfIndicatorValueChangeNotification
Check Indicator Value Change Notification Http POST Request Body notificationType attribute IsVnfIndicatorValueChangeNotification