Commit 2d4c6696 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed issue #161 on v2.6.1

parent bffa4f12
......@@ -5,63 +5,63 @@ Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT} ssl_verify=
Library JSONLibrary
Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Individual VNF LCM OP occurrences - Method not implemented
Post Individual VNF LCM OP occurrence - Method not implemented
[Documentation] Test ID: 6.3.5.12.1
... Test title: Post Individual VNF LCM OP occurrences - Method not implemented
... Test title: Post Individual VNF LCM OP occurrence - Method not implemented
... Test objective: The objective is to test that POST method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.13.3.1 - ETSI GS NFV-SOL 002 [2] v2.6.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Post Individual VNF LCM OP occurrences
Post Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 405
Get status information about multiple VNF instances
Get Individual VNF LCM OP occurrence
[Documentation] Test ID: 6.3.5.12.2
... Test title: Get status information about multiple VNF instances
... Test objective: The objective is to test that this method retrieve status information about a VNF lifecycle management operation occurrence
... Test title: Get Individual VNF LCM OP occurrence
... Test objective: The objective is to test that this method retrieve a VNF lifecycle management operation occurrence and perform a JSON schema validation of the returned data structure
... Pre-conditions: none
... Reference: Clause 5.4.13.3.2 - ETSI GS NFV-SOL 002 [2] v2.6.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Get multiple VNF instances
Get Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is VnfLcmOpOcc
PUT status information about multiple VNF instances - Method not implemented
PUT Individual VNF LCM OP occurrence - Method not implemented
[Documentation] Test ID: 6.3.5.12.3
... Test title: PUT status information about multiple VNF instances - Method not implemented
... Test title: PUT Individual VNF LCM OP occurrence - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.13.3.3 - ETSI GS NFV-SOL 002 [2] v2.6.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Put multiple VNF instances
Put Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 405
PATCH status information about multiple VNF instances - Method not implemented
PATCH Individual VNF LCM OP occurrence - Method not implemented
[Documentation] Test ID: 6.3.5.12.4
... Test title: PATCH status information about multiple VNF instances - Method not implemented
... Test title: PATCH Individual VNF LCM OP occurrence - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.13.3.4 - ETSI GS NFV-SOL 002 [2] v2.6.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Patch multiple VNF instances
Patch Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 405
DELETE status information about multiple VNF instances - Method not implemented
DELETE Individual VNF LCM OP occurrence - Method not implemented
[Documentation] Test ID: 6.3.5.12.5
... Test title: DELETE status information about multiple VNF instances - Method not implemented
... Test title: DELETE Individual VNF LCM OP occurrence - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.13.3.5 - ETSI GS NFV-SOL 002 [2] v2.6.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Delete multiple VNF instances
Delete Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 405
......@@ -576,7 +576,8 @@ DELETE VNF LCM OP occurrences
Delete ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Post Individual VNF LCM OP occurrences
Post Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
......@@ -584,6 +585,38 @@ Post Individual VNF LCM OP occurrences
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Get Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Get ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Put Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Put ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Patch Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Patch ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Delete Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Delete ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Post Retry operation
Log Retry a VNF lifecycle operation if that operation has experienced a temporary failure
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
......
......@@ -7,73 +7,64 @@ Library JSONSchemaLibrary schemas/
Resource VnfLcmMntOperationKeywords.robot
*** Test Cases ***
Post Individual VNF LCM Operation occurrences - Method not implemented
Post Individual VNF LCM OP occurrence - Method not implemented
[Documentation] Test ID: 7.3.1.12.1
... Test title: Post Individual VNF LCM Operation occurrences - Method not implemented
... Test title: Post Individual VNF LCM OP occurrence - Method not implemented
... Test objective: The objective is to test that POST method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.13.3.1 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Reference: Clause 5.4.13.3.1 - ETSI GS NFV-SOL 003 [2] v2.6.1
... Config ID: Config_prod_VNFM
... Applicability: none
... Post-Conditions: none
Post Individual VNF LCM Operation occurrences
Post Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 405
Get information about multiple VNF instances
Get Individual VNF LCM OP occurrence
[Documentation] Test ID: 7.3.1.12.2
... Test title: Get information about multiple VNF instances
... Test objective: The objective is to test that this method retrieve information about a VNF lifecycle management operation occurrence
... Test title: Get Individual VNF LCM OP occurrence
... Test objective: The objective is to test that this method retrieve a VNF lifecycle management operation occurrence and perform a JSON schema validation of the returned data structure
... Pre-conditions: none
... Reference: Clause 5.4.13.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Reference: Clause 5.4.13.3.2 - ETSI GS NFV-SOL 003 [2] v2.6.1
... Config ID: Config_prod_VNFM
... Applicability: none
... Post-Conditions: none
Get multiple VNF instances
Get Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is VnfLcmOpOcc
PUT Individual VNF LCM Operation occurrences - Method not implemented
PUT Individual VNF LCM OP occurrence - Method not implemented
[Documentation] Test ID: 7.3.1.12.3
... Test title: PUT Individual VNF LCM Operation occurrences - Method not implemented
... Test title: PUT Individual VNF LCM OP occurrence - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.13.3.3 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Reference: Clause 5.4.13.3.3 - ETSI GS NFV-SOL 003 [2] v2.6.1
... Config ID: Config_prod_VNFM
... Applicability: none
... Post-Conditions: none
Put multiple VNF instances
Put Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 405
PATCH Individual VNF LCM Operation occurrences - Method not implemented
PATCH Individual VNF LCM OP occurrence - Method not implemented
[Documentation] Test ID: 7.3.1.12.4
... Test title: PATCH Individual VNF LCM Operation occurrences - Method not implemented
... Test title: PATCH Individual VNF LCM OP occurrence - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.13.3.4 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Reference: Clause 5.4.13.3.4 - ETSI GS NFV-SOL 003 [2] v2.6.1
... Config ID: Config_prod_VNFM
... Applicability: none
... Post-Conditions: none
Patch multiple VNF instances
Patch Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 405
DELETE Individual VNF LCM Operation occurrences - Method not implemented
DELETE Individual VNF LCM OP occurrence - Method not implemented
[Documentation] Test ID: 7.3.1.12.5
... Test title: DELETE Individual VNF LCM Operation occurrences - Method not implemented
... Test title: DELETE Individual VNF LCM OP occurrence - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.13.3.5 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Reference: Clause 5.4.13.3.5 - ETSI GS NFV-SOL 003 [2] v2.6.1
... Config ID: Config_prod_VNFM
... Applicability: none
... Post-Conditions: none
Delete multiple VNF instances
Delete Individual VNF LCM OP occurrence
Check HTTP Response Status Code Is 405
*** Keywords ***
Get multiple VNF instances
Log Query status information about multiple VNF lifecycle management operation occurrences.
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Log Execute Query and validate response
Get ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
\ No newline at end of file
\ No newline at end of file
......@@ -960,7 +960,8 @@ DELETE VNF LCM Operation occurrences
Delete ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Post Individual VNF LCM Operation occurrences
Post Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
......@@ -968,6 +969,38 @@ Post Individual VNF LCM Operation occurrences
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Get Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Get ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Put Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Put ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Patch Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Patch ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Delete Individual VNF LCM OP occurrence
log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Delete ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
PUT multiple vnfInstances
log Trying to perform a PUT. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment