add_node
Add a new node to an existing lab in EVE-NG, specifying template, configuration, and position. The tool creates the node without starting it automatically, enabling flexible network topology setup.
Instructions
Add a node to a lab.
This tool adds a new node to an existing lab with the specified
template, configuration, and positioning. The node will be created
but not automatically started.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
arguments | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"AddNodeArgs": {
"description": "Arguments for add_node tool.",
"properties": {
"config": {
"default": "Unconfigured",
"description": "Config state (Unconfigured, Saved)",
"title": "Config",
"type": "string"
},
"console": {
"default": "telnet",
"description": "Console type (telnet, vnc)",
"title": "Console",
"type": "string"
},
"cpu": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Number of CPUs",
"title": "Cpu"
},
"delay": {
"default": 0,
"description": "Seconds to wait before starting node",
"title": "Delay",
"type": "integer"
},
"ethernet": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Number of ethernet interfaces",
"title": "Ethernet"
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Specific image to use",
"title": "Image"
},
"lab_path": {
"description": "Full path to the lab (e.g., /lab_name.unl)",
"title": "Lab Path",
"type": "string"
},
"left": {
"default": 50,
"description": "Position from left (percentage, 0-100)",
"title": "Left",
"type": "integer"
},
"name": {
"default": "",
"description": "Node name (optional, auto-generated if empty)",
"title": "Name",
"type": "string"
},
"node_type": {
"default": "qemu",
"description": "Node type (qemu, iol, dynamips)",
"title": "Node Type",
"type": "string"
},
"ram": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "RAM in MB",
"title": "Ram"
},
"serial": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Number of serial interfaces",
"title": "Serial"
},
"template": {
"description": "Node template name (e.g., 'vios', 'linux', 'iol')",
"title": "Template",
"type": "string"
},
"top": {
"default": 50,
"description": "Position from top (percentage, 0-100)",
"title": "Top",
"type": "integer"
}
},
"required": [
"lab_path",
"template"
],
"title": "AddNodeArgs",
"type": "object"
}
},
"properties": {
"arguments": {
"$ref": "#/$defs/AddNodeArgs"
}
},
"required": [
"arguments"
],
"title": "add_nodeArguments",
"type": "object"
}