author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 8 Jun 2008 16:25:45 +0000 (16:25 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 8 Jun 2008 16:25:45 +0000 (16:25 +0000) | ||
commit | 484393e9a4d45b008cf7cc7a0eaa30b7e3f106e9 | |
tree | 01772a03d9bade98fabc3897d1a7b61d039c45c0 | tree | snapshot |
parent | b005b32f8c20f87f172aacbf7cf23225f5f7a3a1 | commit | diff |
The python bindings do not currently support retrieval of the rpn expression in COMPUTE data sources. Attached is a patch that duplicates functionality from rrd_info.c to expose the correct data source attributes via the python binding. It:
* exposes the rpn expression in the 'cdef' element for DST_CDEF data source types
* exposes the heartbeat, min, and max only to the other data source types
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@1410 a5681a0c-68f1-0310-ab6d-d61299d08faa
* exposes the rpn expression in the 'cdef' element for DST_CDEF data source types
* exposes the heartbeat, min, and max only to the other data source types
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@1410 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/bindings/python/rrdtoolmodule.c | diff | blob | history |