add_link
Connect two nodes in a network lab by creating a link, automatically using the next free interface on each when none are specified.
Instructions
Connect two nodes with a link. If iface_a/iface_b (interface labels, e.g. 'GigabitEthernet0/1') are omitted, the next free interface on each node is used, creating one if needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lab_id | Yes | ||
| iface_a | No | ||
| iface_b | No | ||
| node_a_id | Yes | ||
| node_b_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||