-
Story
-
Resolution: Done
-
Medium
-
None
-
None
The purpose of this test scenario is validate that APP-C successfully triggered the LCM API RESTART - VNF Level via Doc Explorer (REST)
Interface/Method Name: LCM API RESTART
Test Data: (example)
sample json request for LCM VNF RESTART api:
{
"input" : {
"common-header" : {
"timestamp" : "2017-07-17T13:59:00.00Z",
"api-ver" : "2.00",
"originator-id" : "c09ac7d1-de62-0016-2000-e63702155555",
"request-id" : "c09ac7d1-de62-0016-2000-e63701125555",
"sub-request-id" : "150",
"flags" : {
"force" : "TRUE",
"ttl" : 60000
}
},
"action" : "Restart",
"action-identifiers" : {"vnf-id" : "ibcx8888v"},
"payload" : "{\"AICIdentity\" : \"http://IP_Address.162:5000/v2.0\", \"vnf-host-ip-address\" : \"IP_Address\"}"
}
}
Pre-conditions/Dependencies:
Access to APPC ONAP Doc Explorer (REST API)
Validation Steps:
1) Access APPC ONAP doc explorer with valid login credential
2) Expand:
post: /operations/appc-provider-lcm:restart
3) Ensure "Response Content Type" = application/json is selected
4) Input the json request for VM RESTART (see sample in Test Data into the "Value" field
Note: Ensure the "Timestamp" is current with server's time; data for the requested vnf-id existed in A&AI db
5) Click the "Try it out!" button
6) Check the "Response Body" section for results. Inspect the logs (karaf.log, appc-debug.log)
Validation Notes:
Testers might want to check the "Action Log" in openstack dashboard for the actual result.
- mentioned in
-
Page Loading...