edit_lab_network
Update an existing EVE-NG network by its ID. Change its name, canvas position, visibility, line style, color, icon, label, or hide it from the topology view.
Instructions
Edit an existing network by id. Only supplied fields are changed.
Same partial-update pattern as edit_lab/edit_lab_node. This
is what connect_interface uses internally to set
visibility=0 on a node-to-node bridge after wiring it --
confirmed (against a working reference implementation) to be
a required separate step after creation and wiring, not
something set at creation time.
Args: lab_path: Full path to the .unl lab file. network_id: Id of the network to edit (see list_lab_networks). name: New name, if changing. left: New canvas position from the left, if changing. top: New canvas position from the top, if changing. visibility: 0/1, if changing. This is what actually makes a node-to-node bridge render as a direct line, but only when set after the network is created and wired -- not at creation time. hideme: 0/1, if changing -- whether the network shows its own icon at all. style: Line style, if changing (e.g. "Solid"). icon: Icon filename, if changing. color: Line color, if changing. label: Text label, if changing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| icon | No | ||
| left | No | ||
| name | No | ||
| color | No | ||
| label | No | ||
| style | No | ||
| hideme | No | ||
| lab_path | Yes | ||
| network_id | Yes | ||
| visibility | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||