Difference between revisions of "NXSL:Node"

114 bytes removed ,  16:13, 13 September 2022
m
Text replacement - "^" to "{{deprecated}}"
m (Text replacement - "^" to "{{deprecated}}")
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Represents NetXMS node object.
{{deprecated}}Represents NetXMS node object.


'''Class Name'''
'''Class Name'''
Line 20: Line 20:
| bridgeBaseAddress || string || Bridge base address (will return "000000000000" if not known or node is not a bridge/switch)
| bridgeBaseAddress || string || Bridge base address (will return "000000000000" if not known or node is not a bridge/switch)
|-
|-
| components || object ([[NXSL:Component | NXSL:Component]]) || The root physical component object of the node
| components || object ([[NXSL:Component | Component]]) || The root physical component object of the node
|-
|-
| driver || string || Driver name
| driver || string || Driver name
Line 47: Line 47:
|-
|-
| isSONMP || boolean || TRUE if node supports SONMP/NDP (Synoptics/Nortel Discovery Protocol)
| isSONMP || boolean || TRUE if node supports SONMP/NDP (Synoptics/Nortel Discovery Protocol)
|-
| isSTP || boolean || TRUE if node supports STP (Spanning Tree Protocol)
|-
|-
| platformName || string || Platform name reported by NetXMS agent
| platformName || string || Platform name reported by NetXMS agent
Line 66: Line 68:
| zone || object ([[NXSL:Zone|Zone]]) || Zone object ('''null''' if zoning is disabled)
| zone || object ([[NXSL:Zone|Zone]]) || Zone object ('''null''' if zoning is disabled)
|-
|-
| zoneId || int32 || Zone ID (0 if zoning is disabled)
| zoneUIN || int32 || Zone UIN (0 if zoning is disabled)
|}
|}


'''Methods'''
'''Methods'''
Inherits all methods of the [[NXSL:NetObj|NetObj class]].
{| class="wikitable"
{| class="wikitable"
|-
|-
! Name !! Parameters !! Return value !! Description
! Name !! Parameters !! Return value !! Description
|-
| [[NXSL:NetObj:clearGeoLocation|clearGeoLocation]] || none || none || Clears GeoLocation data from the node
|-
| [[NXSL:NetObj:setGeoLocation|setGeoLocation]] || Object of [[NXSL:GeoLocation|GeoLocation]] class || none || Sets GeoLocation data for the node
|-
|-
| enableAgent || boolean || none ||Enable or disable usage of NetXMS agent for all polls
| enableAgent || boolean || none ||Enable or disable usage of NetXMS agent for all polls