Add "Mond message" section.
Signed-off-by: Spyros Trigazis <[email protected]>
---
doc/design-monitoring-agent.rst | 2 ++
doc/iallocator.rst | 10 ++++++++++
2 files changed, 12 insertions(+)
diff --git a/doc/design-monitoring-agent.rst b/doc/design-monitoring-agent.rst
index c416758..9c4871b 100644
--- a/doc/design-monitoring-agent.rst
+++ b/doc/design-monitoring-agent.rst
@@ -49,6 +49,8 @@ The monitoring agent system will report on the following
basic information:
- Node OS CPU load average report
- Information from a plugin system
+.. _monitoring-agent-format-of-the-report:
+
Format of the report
--------------------
diff --git a/doc/iallocator.rst b/doc/iallocator.rst
index f62f549..9ce6c2a 100644
--- a/doc/iallocator.rst
+++ b/doc/iallocator.rst
@@ -325,6 +325,16 @@ As for ``node-evacuate``, it needs the following request
arguments:
instances
a list of request dicts
+Mond message
+~~~~~~~~~~~~
+
+Additional information is available from mond. Mond's data collectors
+provide information that can help an allocator script make better
+decisions when allocating a new instance. Mond's information may also be
+accessible from a mock file for testing purposes. The file will be in
+JSON format and will present an array of :ref:`report objects
+<monitoring-agent-format-of-the-report>`.
+
Response message
~~~~~~~~~~~~~~~~
--
1.7.10.4