open_lab
Opens a lab for editing or running, creating a sandbox that gets bound to the current session. Use it first to enable node and topology management.
Instructions
Open a lab for editing/running. path is the lab file name with NO leading
slash, e.g. "2pc_1sw.unl". Creates/reuses the lab's sandbox and binds it to this
session. Must be called before add_node / start_node / get_lab / etc.
If PNETLAB_VIEWER_USERNAME is configured, the viewer account (e.g. your admin) is auto-joined to this session so you can watch the live topology in the browser at the PNETLab web UI while the agent works.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |