| 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 | de9959c7addb65449483bcd54919e9a5e16f5bfc | |
| tree | 100656ab0354e90bfa5afb283c530ab2be482995 | tree | snapshot |
| parent | 6ede88cfe971ae4862b5ac850c5bd6b64a410f71 | 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/program@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/program@1410 a5681a0c-68f1-0310-ab6d-d61299d08faa
| bindings/python/rrdtoolmodule.c | diff | blob | history |