Note
|
This function is enabled by default, but can be disabled by setting configuration parameter "NXSL.EnableContainerFunctions". |
Important
|
Deprecated in 5.0. Please use createNode() method of NetObj class instead. |
CreateNode(parent, name, primaryHostName, zoneUIN) => Node
Create node object.
parent |
Parent object |
|
name |
String |
Name for new node |
primaryHostName |
String |
Primary host name for new node (optional) |
zoneUIN |
Integer |
zone UIN (optional) |
Return
New node object or null on failure
Example
CreateNode(FindObject(2), "SERVER", "10.10.10.1"); // Create node directly under "Infrastructure Services"