Commit 7a04de69 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

addressed comments on notification tests

parent 3eac7255
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -13,7 +13,7 @@ Suite Teardown Terminate All Processes kill=true
VNF Fault Alarm Notification
VNF Fault Alarm Notification
    [Documentation]    Test ID: 6.3.4.6.1
    [Documentation]    Test ID: 6.3.4.6.1
    ...    Test title: VNF Fault Alarm Notification
    ...    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
    ...    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. 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 VNF instance is instantiated, and a subscription for fault alarm notifications is available in the VNFM.
    ...    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
    ...    Reference:  section 7.4.7.3.1 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
@@ -26,20 +26,20 @@ VNF Fault Alarm Notification
VNF Fault Alarm Cleared Notification
VNF Fault Alarm Cleared Notification
    [Documentation]    Test ID: 6.3.4.6.2
    [Documentation]    Test ID: 6.3.4.6.2
    ...    Test title: VNF Fault Alarm Cleared Notification
    ...    Test title: VNF Fault Alarm Cleared Notification
    ...    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
    ...    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. 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 VNF instance is instantiated, a virtualised resource is in faulty state, and a subscription for fault alarm cleared notifications is available in the VNFM.
    ...    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
    ...    Reference:  section 7.4.7.3.1 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none 
    ...    Post-Conditions: none 
    Trigger the fault cleared of a virtualised resource in the VNF instance (external action) 
    Trigger the clear of a faulty virtualised resource in the VNF instance (external action)
    Check Alarm cleared Notification Http POST Request Body Json Schema Is    alarmClearedNotification
    Check Alarm cleared Notification Http POST Request Body Json Schema Is    alarmClearedNotification
    Check Alarm cleared Notification Http POST Request Body notificationType attribute Is    alarmClearedNotification
    Check Alarm cleared Notification Http POST Request Body notificationType attribute Is    alarmClearedNotification


VNF Fault Alarm List Rebuilt Notification 
VNF Fault Alarm List Rebuilt Notification 
    [Documentation]    Test ID: 6.3.4.6.3
    [Documentation]    Test ID: 6.3.4.6.3
    ...    Test title: VNF Fault Alarm List Rebuilt Notification 
    ...    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
    ...    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. 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 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.
    ...    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
    ...    Reference:  section 7.4.7.3.1 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
@@ -55,7 +55,7 @@ Trigger the fault of a virtualised resource in the VNF instance (external action
    #do nothing
    #do nothing
    Log    do nothing
    Log    do nothing


Trigger the fault cleared of a virtualised resource in the VNF instance (external action) 
Trigger the clear of a faulty virtualised resource in the VNF instance (external action)
    #do nothing
    #do nothing
    Log    do nothing   
    Log    do nothing   


+1 −1
Original line number Original line Diff line number Diff line
@@ -14,7 +14,7 @@ Library String
VNF Indicator Value Change Notification
VNF Indicator Value Change Notification
    [Documentation]    Test ID: 6.3.2.6.1
    [Documentation]    Test ID: 6.3.2.6.1
    ...    Test title: VNF Indicator Value Change Notification
    ...    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
    ...    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. 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 VNF is instantiated, and a subscription for indicator value change notifications is available in the VNF.
    ...    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
    ...    Reference:  section 8.4.7.3.1 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNF
    ...    Config ID: Config_prod_VNF
+2 −2
Original line number Original line Diff line number Diff line
@@ -15,7 +15,7 @@ Library String
VNF Performance Information Availability Notification
VNF Performance Information Availability Notification
    [Documentation]    Test ID: 6.3.3.8.1
    [Documentation]    Test ID: 6.3.3.8.1
    ...    Test title: VNF Performance Information Availability Notification
    ...    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
    ...    Test objective: The objective is to test the dispatch of VNF Performance Information Availability Notification when new VNF performance information is available in the NFVO, 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 VNF performance job is created, and a subscription for information availability notifications is available in the VNFM.
    ...    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
    ...    Reference:  section 6.4.9.3.1 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
@@ -28,7 +28,7 @@ VNF Performance Information Availability Notification
VNF Threshold Crossed Notification
VNF Threshold Crossed Notification
    [Documentation]    Test ID: 6.3.3.8.2
    [Documentation]    Test ID: 6.3.3.8.2
    ...    Test title: VNF Threshold Crossed Notification
    ...    Test title: VNF Threshold Crossed Notification
    ...    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
    ...    Test objective: The objective is to test the dispatch of VNF Threshold Crossed Notification when a previously set VNF performance metric threshold is crossed, 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 VNF performance job is created, and a threshold subscription is available in the VNFM.
    ...    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
    ...    Reference:  section 6.4.9.3.1 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
+5 −5
Original line number Original line Diff line number Diff line
@@ -13,7 +13,7 @@ Suite Teardown Terminate All Processes kill=true
VNF Fault Alarm Notification
VNF Fault Alarm Notification
    [Documentation]    Test ID: 7.3.5.5.1
    [Documentation]    Test ID: 7.3.5.5.1
    ...    Test title: VNF Fault Alarm Notification
    ...    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
    ...    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. 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 VNF instance is instantiated, and a subscription for fault alarm notifications is available in the VNFM.
    ...    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
    ...    Reference:  section 7.4.6.3.1 - SOL003 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
@@ -26,20 +26,20 @@ VNF Fault Alarm Notification
VNF Fault Alarm Cleared Notification
VNF Fault Alarm Cleared Notification
    [Documentation]    Test ID: 7.3.5.5.2
    [Documentation]    Test ID: 7.3.5.5.2
    ...    Test title: VNF Fault Alarm Cleared Notification
    ...    Test title: VNF Fault Alarm Cleared Notification
    ...    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
    ...    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. 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 VNF instance is instantiated, a virtualised resource is in faulty state, and a subscription for fault alarm cleared notifications is available in the VNFM.
    ...    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.6.3.1 - SOL003 v2.4.1
    ...    Reference:  section 7.4.6.3.1 - SOL003 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none 
    ...    Post-Conditions: none 
    Trigger the fault cleared of a virtualised resource in the VNF instance (external action) 
    Trigger the clear of a faulty virtualised resource in the VNF instance (external action)
    Check Alarm cleared Notification Http POST Request Body Json Schema Is    alarmClearedNotification
    Check Alarm cleared Notification Http POST Request Body Json Schema Is    alarmClearedNotification
    Check Alarm cleared Notification Http POST Request Body notificationType attribute Is    alarmClearedNotification
    Check Alarm cleared Notification Http POST Request Body notificationType attribute Is    alarmClearedNotification


VNF Fault Alarm List Rebuilt Notification 
VNF Fault Alarm List Rebuilt Notification 
    [Documentation]    Test ID: 7.3.5.5.3
    [Documentation]    Test ID: 7.3.5.5.3
    ...    Test title: VNF Fault Alarm List Rebuilt Notification 
    ...    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
    ...    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. 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 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.
    ...    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.6.3.1 - SOL003 v2.4.1
    ...    Reference:  section 7.4.6.3.1 - SOL003 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
@@ -55,7 +55,7 @@ Trigger the fault of a virtualised resource in the VNF instance (external action
    #do nothing
    #do nothing
    Log    do nothing
    Log    do nothing


Trigger the fault cleared of a virtualised resource in the VNF instance (external action) 
Trigger the clear of a faulty virtualised resource in the VNF instance (external action)
    #do nothing
    #do nothing
    Log    do nothing   
    Log    do nothing   


+1 −1
Original line number Original line Diff line number Diff line
@@ -14,7 +14,7 @@ Library String
VNF Indicator Value Change Notification
VNF Indicator Value Change Notification
    [Documentation]    Test ID: 7.3.6.6.1
    [Documentation]    Test ID: 7.3.6.6.1
    ...    Test title: VNF Indicator Value Change Notification
    ...    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 VNFM, and perform a JSON schema and content validation of the delivered notification
    ...    Test objective: The objective is to test the dispatch of VNF Indicator Value Change Notification when new indicator values are available in the VNFM, 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 VNF is instantiated, and a subscription for indicator value change notifications is available in the VNFM.
    ...    Pre-conditions: A VNF is instantiated, and a subscription for indicator value change notifications is available in the VNFM.
    ...    Reference:  section 8.4.7.3.1 - SOL003 v2.4.1
    ...    Reference:  section 8.4.7.3.1 - SOL003 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
Loading