Changes between Version 9 and Version 10 of CloudNativeRenew
- Timestamp:
- Mar 16, 2021, 4:24:21 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CloudNativeRenew
v9 v10 34 34 * If you created the net within the here supplied Renew instance with the cloud native plugin, close the net drawing, but not Renew itself. 35 35 * Assume the shadow net system file is namend `example.sns`: Upload the net using: `curl -F 'snsZipFile=@example.sns' localhost:8098/upload/sns?fileName=example.sns` 36 * After uploading you can start a simulation. Assume you named the net within `example.sns` also `example`. Use this command: `curl -X POST 'localhost:8098/simulation/start?mainNet=example&sns=example.sns'` 36 * After uploading you can start a simulation. Assume you named the net within `example.sns` also `example`. 37 * Use this command: `curl -X POST 'localhost:8098/simulation/start?mainNet=example&sns=example.sns'` 37 38 * The simulation can now be controlled by the endpoint: `curl -X POST 'localhost:8098/simulation/control?command=step'` Use the keywords: 38 39 * `run` (To run simulations, that have been paused or only initialized) 39 40 * `step` (To execute a single step in the simulation) 40 41 * `stop` or `halt` (To suspend the simulation but do not terminate it) 41 * `term` (To terminate a simulation. This is irreversible. )42 * `term` (To terminate a simulation. This is irreversible. Subsequent control commands will not have effects.)