Implementing Cisco Service Provider Advanced Solutions (SPCOR2) — Question 21
Refer to the exhibit. Which effect does the parameter ?session=test have in this VIRL API call? curl –X POST –u guest:guest -- header "Content-Type/text/xml; charset=UTF-"-- http://virl-host:19399/simengine/rest/launch?session=test data @API.virl
Answer options
- A. The API call is parsed and validated by VIRL, but no simulation is started.
- B. The topology file "APIvirl" is validated for proper structure content.
- C. The simulation is started in a special "test" mode that protects it from adversely affecting other simulations
- D. The simulation is started with the name "test".
Correct answer: A
Explanation
The correct answer is A because the parameter ?session=test indicates that the API call is meant for validation only, and it does not trigger a simulation. Options B, C, and D are incorrect because they suggest that the simulation is either validated with specific conditions or started, which is not the case with the given parameter.