-
Notifications
You must be signed in to change notification settings - Fork 0
Rendezvous Protocol
giovannifs edited this page Mar 12, 2014
·
2 revisions
IAmAlive Packages:
- Request:
<iq type="get">
<query xmlns="http://fogbowcloud.org/rendezvous/iamalive">
<status>
<cpu-idle>value</cpu-idle>
<cpu-inuse>value</cpu-inuse>
<mem-idle>value</mem-idle>
<cpu-inuse>value</mem-inuse>
</status>
</query>
</iq>
- Response:
<iq type="result"/>
WhoIsAlive Packages:
- Request:
<iq type="get">
<query xmlns="http://fogbowcloud.org/rendezvous/whoisalive"/>
</iq>
- Response:
<iq type="result">
<query xmlns="http://fogbowcloud.org/rendezvous/whoisalive">
<item id="federated-cloud-id1">
<status>
<cpu-idle>value</cpu-idle>
<cpu-inuse>value</cpu-inuse>
<mem-idle>value</mem-idle>
<cpu-inuse>value</mem-inuse>
<updated>value</updated>
</status>
</item>
.
.
.
<item id="federated-cloud-idn">
<status>
<cpu-idle>value</cpu-idle>
<cpu-inuse>value</cpu-inuse>
<mem-idle>value</mem-idle>
<cpu-inuse>value</mem-inuse>
<updated>value</updated>
</status>
</item>
</query>
</iq>
Obs: The updated value is the timestamp of information. It will be formatted according to ISO 8601 standard.