List all interfaces on all devices
This query provides a list of all main node devices within a domain together with the identifiers and names of the interfaces on each device.
Example
1] SELECT eMainNode.entityName Main_Node_Name,
2] eInterface.entityId Interface_Entity_ID,
3] eInterface.entityName Interface_Entity_Name
4] FROM entityData eInterface
5] INNER JOIN entityData eMainNode ON eMainNode.entityId =
6] eInterface.mainNodeEntityId
7] WHERE eInterface.entityType = 2
8] ORDER BY eMainNode.entityName, eInterface.entityName
Description
The table below describes this query.
|
Line numbers |
Description |
|---|---|
|
1-3 |
Specify the data to show in the results, as follows:
|
|
4 |
Use the |
|
5-6 |
Identify the containing main node device for each of the entities retrieved
in the preceding line. Do this by joining the |
|
7 |
Limit the components of the device to interfaces only. Do this filtering the components to retrieve only components with an entity type of 2, which corresponds to an interface. |
|
8 |
To facilitate readability of the results, order first by main node name and then by interface name. |
Results
The table below shows a portion of the results for this query.
|
Main node name |
Interface entity ID |
Interface entity name |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1632 |
|
|
|
|
|