::hwat::utils::FindNodeOnComponents

Finds if the node belongs to any given component.

Syntax

::hwat::utils::FindNodeOnComponents nodeId {complist}

Arguments

nodeId
The ID of the node to look for.
[Complist]
Tcl list of components to look in. The argument could be all or displayed.
Default = all

Returns

Success
The ID list of the component(s) containing the node
Failure
{}

Example

::hwat::utils::FindNodeOnComponents 128 [list 1000 1001 1002 1003]

Comments

Since a single node can be utilized by many components, the return list may contain more than one component. The return may or may not contain all the components sent as input.