[rrd-developers] Re: Added ABERRANT patch to cvs

Tobias Oetiker oetiker at ee.ethz.ch
Tue Mar 6 08:07:09 MET 2001


Yesterday Jake Brutlag wrote:

 |
 | > the xml file ? you changed the dump format ? oops that sliped ...
 | > will have to check the idea of a xml format is that the <keywords>
 | > are stable ... you can not use the keywords to transport
 | > information ...
 |
 | I am not certain I understand the question. Here is what the current
 | (post-patch) dump code generates:
 | <cf> cf name </cf>
 | <pdp_per_row> value </pdp_per_row>
 | <params>
 | <value> value1 </value>
 | <value> value2 </value>
 | ...
 | </params>
 | Restore, of course, reads this. The old style was:
 | <cf> cf name </cf>
 | <pdp_per_row> value </pdp_per_row>
 | <xff> value </xff>
 | <cdp_prep> ...
 | Of course, there was only one RRA parameter, namely xff.
 | The syntax I am now proposing (for example) is:
 | <cf> cf name </cf>
 | <pdp_per_row> value </pdp_per_row>
 | <params>
 | <xff> value </xff>
 | </params>
 | OR (for example in the case of the HWPREDICT RRA):
 | <cf> cf name </cf>
 | <pdp_per_row> value </pdp_per_row>
 | <params>
 | <hw_alpha> value </hw_alpha>
 | <hw_beta> value </hw_beta>
 | <dependent_rra_index> value </dependent_rra_index>
 | </params>
 | With this approach, it is clear from a glance what the RRA parameters are.
 | This also frees the xml dump from a fixed number of RRA parameters.
 | Currently the code only supports 10, but that may change at some point in
 | the future (though this would break backwards compatibility). The only
 | downside is that the list of parameters tags will not be same for all RRAs.
 | But as far as I can tell the xml will still be "well-formed" (here is the
 | definition: http://msdn.microsoft.com/xml/general/what-is-xml.asp). The same
 | could be done within the cdp_prep scratch array.

yes ... no problem ... now I see what you are aiming at ... adding
params back in sounds fine by me

tobi
 |
 | Jake
 |
 | Jake Brutlag
 | Network Analyst
 | Microsoft WebTV
 |

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list