push_config
Push a startup configuration to a PNETLab node, saving it for boot injection. The node must be restarted for the config to take effect.
Instructions
Push a startup configuration to a node (applied on next boot).
Stores the config text and enables it for boot injection. For this to take effect the node must be (re)started after the push - the config is injected during boot, not into a running node.
Config format is device-specific. For VPCS use plain VPCS commands, one per
line, e.g. ip 192.168.1.1 24. For IOS/IOL routers use the normal
hostname ... / interface ... running-config style. For interactive
CLIs (e.g. RouterOS) prefer run_command.
Note: this tool also flips the node's config flag so PNETLab actually loads the stored config on boot (without that flag the stored config is silently ignored - a known PNETLab configs/edit quirk).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| node_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |