Operation Integer getDeviceNode (String devicename, String system_name), in Class Device

Documentation
returns the node value of the device
0 : intermediate node
1 : host node