Στις 21 Αυγ 2013, 6:12 μ.μ., ο/η Michele Tartara <[email protected]> έγραψε:
> On Wed, Aug 21, 2013 at 4:45 PM, Spyros Trigazis <[email protected]> wrote: > 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 > +~~~~~~~~~~~~ > > The MonD part is not really a "message" part of the iallocator protocol. It's > more additional information. So, I'd use "MonD data" as the title (Change the > commit description as well). > Also, given that it's something that can be used alongside the information in > the input message to take decisions, I'd make it a sub-section of the "Input > message" section, using +++++++ instead of ~~~~~~~. ack > > > + > +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 > > Nitpicking: I'd say "mainly for testing purposes". It's the main use, but one > could think of a couple of scenarios where the input file might have some > other use. ack > > +JSON format and will present an array of :ref:`report objects > +<monitoring-agent-format-of-the-report>`. > + > Response message > ~~~~~~~~~~~~~~~~ > > -- > 1.7.10.4 > > > Thanks, > Michele Thanks, Spyros > -- > Google Germany GmbH > Dienerstr. 12 > 80331 München > > Registergericht und -nummer: Hamburg, HRB 86891 > Sitz der Gesellschaft: Hamburg > Geschäftsführer: Graham Law, Christine Elizabeth Flores > > -- > You received this message because you are subscribed to the Google Groups > "synnefo-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out.
