20 | | The aggregator will then query for information about particular objects one at a time (i.e., a node). The query returns a list of properties about the object as well as a list of associated objects (i.e., a node's interfaces). In this example, a node info query will be at <datastore_url>/info/node/<node_id>. Here is a [wiki:OperationalMonitoring/DataSchema#Dataaboutanode a detailed example of a node info query]. |
| 20 | The aggregator will then query for information about particular objects one at a time (i.e., a node). The query returns a list of properties about the object as well as a list of associated objects (i.e., a node's interfaces). In this example, a node info query will be at <datastore_url>/info/node/<node_id>. Here is a [wiki:OperationalMonitoring/DataSchema#Dataaboutanode a detailed example of a node info query]. The aggregator would repeat for other nodes it received in the list in the aggregate info query. |
| 21 | |
| 22 | Depending on what the aggregator is supporting above it in the form of different monitoring applications, it may continue querying the local datastore about objects or resources it has data about. They are of similar form. Here are links to examples: |
| 23 | |
| 24 | * [wiki:OperationalMonitoring/DataSchema#Dataaboutaninterface An example interface query] |
| 25 | * [wiki:OperationalMonitoring/DataSchema#DataaboutaGENIsliver An example sliver query] |
| 26 | |
| 27 | If the aggregator is tracking sliver and slice info, the aggregator may also be directed to a slice authority local datastore, which is a different datastore than one containing shared host nodes. Here is a [wiki:OperationalMonitoring/DataSchema#Dataaboutasliceauthority detailed example slice query], and here is a [wiki:OperationalMonitoring/DataSchema#DataaboutaGENIuser detailed example of a user query]. Both of these queries are of similar form with <datastore_url>/info/slice/<slice_id> and <datastore_url>/info/user/<user_id> respectively. |
| 28 | |
| 29 | As of 17-Feb, we currently do not support querying multiple objects in a single info query. For example, <datastore_url>/info/node/ will not return all the node info at the local datastore. |
| 30 | |
| 31 | == Data Queries == |
| 32 | |