Commit 44980c8f authored by mengxuan.zhao's avatar mengxuan.zhao
Browse files

Bug fix

parent 961a1d4d
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -29,10 +29,10 @@ Operate a VNF Instance
    Check HTTP Response Status Code Is    202
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains    Location 
    Check HTTP Response Header Contains    Location 
    Check Operation Occurrence Id
    Check Operation Occurrence Id
    Check Operation Notification For Operate    STARTING
    Check Operation Notification For Change Ext Connectivity    STARTING
    #Create a new Grant - Sync - OPERATE
    #Create a new Grant - Sync - OPERATE
    Check Operation Notification For Change Flavour    PROCESSING
    Check Operation Notification For Change Ext Connectivity    PROCESSING
    Check Operation Notification For Change Flavour    COMPLETED
    Check Operation Notification For Change Ext Connectivity    COMPLETED
    Check Postcondition VNF Change Ext Connectivity
    Check Postcondition VNF Change Ext Connectivity


*** Keywords ***
*** Keywords ***
@@ -54,7 +54,7 @@ Check Postcondition VNF Change Ext Connectivity
Create a new Grant - Sync - OPERATE
Create a new Grant - Sync - OPERATE
    Create a new Grant - Synchronous mode        ${vnfInstanceId}    ${vnfLcmOpOccId}    OPERATE
    Create a new Grant - Synchronous mode        ${vnfInstanceId}    ${vnfLcmOpOccId}    OPERATE
    
    
Check Operation Notification For Operate 
Check Operation Notification For Change Ext Connectivity 
    [Arguments]    ${status}
    [Arguments]    ${status}
    Check Operation Notification    VnfLcmOperationOccurrenceNotification   ${status}
    Check Operation Notification    VnfLcmOperationOccurrenceNotification   ${status}
    
    
 No newline at end of file
+4 −4
Original line number Original line Diff line number Diff line
@@ -29,10 +29,10 @@ Operate a VNF Instance
    Check HTTP Response Status Code Is    202
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains    Location 
    Check HTTP Response Header Contains    Location 
    Check Operation Occurrence Id
    Check Operation Occurrence Id
    Check Operation Notification For Operate    STARTING
    Check Operation Notification For Heal    STARTING
    #Create a new Grant - Sync - OPERATE
    #Create a new Grant - Sync - OPERATE
    Check Operation Notification For Change Flavour    PROCESSING
    Check Operation Notification For Heal    PROCESSING
    Check Operation Notification For Change Flavour    COMPLETED
    Check Operation Notification For Heal    COMPLETED
    Check Postcondition VNF Heal
    Check Postcondition VNF Heal


*** Keywords ***
*** Keywords ***
@@ -50,7 +50,7 @@ Check Postcondition VNF Heal
Create a new Grant - Sync - OPERATE
Create a new Grant - Sync - OPERATE
    Create a new Grant - Synchronous mode        ${vnfInstanceId}    ${vnfLcmOpOccId}    OPERATE
    Create a new Grant - Synchronous mode        ${vnfInstanceId}    ${vnfLcmOpOccId}    OPERATE
    
    
Check Operation Notification For Operate 
Check Operation Notification For Heal 
    [Arguments]    ${status}
    [Arguments]    ${status}
    Check Operation Notification    VnfLcmOperationOccurrenceNotification   ${status}
    Check Operation Notification    VnfLcmOperationOccurrenceNotification   ${status}
    
    
 No newline at end of file
+4 −5
Original line number Original line Diff line number Diff line
@@ -31,8 +31,8 @@ Operate a VNF Instance
    Check Operation Occurrence Id
    Check Operation Occurrence Id
    Check Operation Notification For Operate    STARTING
    Check Operation Notification For Operate    STARTING
    #Create a new Grant - Sync - OPERATE
    #Create a new Grant - Sync - OPERATE
    Check Operation Notification For Change Flavour    PROCESSING
    Check Operation Notification For Operate    PROCESSING
    Check Operation Notification For Change Flavour    COMPLETED
    Check Operation Notification For Operate    COMPLETED
    Check Postcondition VNF OPERATE
    Check Postcondition VNF OPERATE


*** Keywords ***
*** Keywords ***
@@ -47,8 +47,7 @@ Precondition Checks
    Check resource instantiated
    Check resource instantiated
    ${LccnSubscriptions}=    Check subscriptions about one VNFInstance and operation type    ${vnfInstanceId}    VnfLcmOperationOccurrenceNotification    operationType=SCALE
    ${LccnSubscriptions}=    Check subscriptions about one VNFInstance and operation type    ${vnfInstanceId}    VnfLcmOperationOccurrenceNotification    operationType=SCALE


Check Postcondition VNF
Check Postcondition VNF OPERATE
    [Arguments]    ${operation}
    Check resource instantiated
    Check resource instantiated
    ${newState}=    Get Vnf Operational State Info    ${vnfInstanceId}
    ${newState}=    Get Vnf Operational State Info    ${vnfInstanceId}
    Should be Equal    ${requestedState}    ${newState}
    Should be Equal    ${requestedState}    ${newState}
+4 −4
Original line number Original line Diff line number Diff line
@@ -29,10 +29,10 @@ Operate a VNF Instance
    Check HTTP Response Status Code Is    202
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains    Location 
    Check HTTP Response Header Contains    Location 
    Check Operation Occurrence Id
    Check Operation Occurrence Id
    Check Operation Notification For Operate    STARTING
    Check Operation Notification For Terminate    STARTING
    #Create a new Grant - Sync - OPERATE
    #Create a new Grant - Sync - OPERATE
    Check Operation Notification For Change Flavour    PROCESSING
    Check Operation Notification For Terminate    PROCESSING
    Check Operation Notification For Change Flavour    COMPLETED
    Check Operation Notification For Terminate    COMPLETED
    Check Postcondition VNF Terminate
    Check Postcondition VNF Terminate


*** Keywords ***
*** Keywords ***
@@ -50,7 +50,7 @@ Check Postcondition VNF Terminate
Create a new Grant - Sync - OPERATE
Create a new Grant - Sync - OPERATE
    Create a new Grant - Synchronous mode        ${vnfInstanceId}    ${vnfLcmOpOccId}    OPERATE
    Create a new Grant - Synchronous mode        ${vnfInstanceId}    ${vnfLcmOpOccId}    OPERATE
    
    
Check Operation Notification For Operate 
Check Operation Notification For Terminate 
    [Arguments]    ${status}
    [Arguments]    ${status}
    Check Operation Notification    VnfLcmOperationOccurrenceNotification   ${status}
    Check Operation Notification    VnfLcmOperationOccurrenceNotification   ${status}
    
    
 No newline at end of file