add_node
Add a network device to a lab using a template like vpcs, iol, or dynamips. Nodes include startup-config for configuration deployment.
Instructions
Add a node to a lab. Common templates: 'vpcs' (type vpcs), 'i86bi_linux_l3' Cisco IOL router / 'i86bi_linux_l2' IOL switch (type iol), 'c3725' etc. (type dynamips). Use list_images for what's installed. Nodes are created with startup-config ENABLED so push_config loads on boot. Note: VPCS ignores startup-config — set its IP on the live console.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu | No | ||
| ram | No | ||
| top | No | ||
| icon | No | Router.png | |
| left | No | ||
| name | No | ||
| delay | No | ||
| image | No | ||
| config | No | 1 | |
| serial | No | ||
| console | No | telnet | |
| ethernet | No | ||
| lab_path | Yes | ||
| template | Yes | ||
| node_type | No | iol |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |