open_network
Load a .pkt or .pka network file into Packet Tracer, discarding unsaved changes unless save_current_to saves them first. Never prompts a dialog.
Instructions
Open a .pkt or .pka file. Unsaved changes in the current network are discarded unless save_current_to gives a path to save them first. Never shows a dialog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of a `.pkt` or `.pka` file. | |
| save_current_to | No | Save the current network here first. Without it, unsaved changes are discarded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| devices | Yes | ||
| saved_previous | No |