Package ZenRRD :: Module RRDMGraph
[hide private]
[frames] | no frames]

Source Code for Module ZenRRD.RRDMGraph

 1  ########################################################################### 
 2  # 
 3  # This program is part of Zenoss Core, an open source monitoring platform. 
 4  # Copyright (C) 2007, Zenoss Inc. 
 5  # 
 6  # This program is free software; you can redistribute it and/or modify it 
 7  # under the terms of the GNU General Public License version 2 as published by 
 8  # the Free Software Foundation. 
 9  # 
10  # For complete information please visit: http://www.zenoss.com/oss/ 
11  # 
12  ########################################################################### 
13   
14  __doc__="""RRDMGraph 
15   
16  RRDMGraph stores mgraph representations for later graphing. 
17   
18  $Id: RRDMGraph.py,v 1.1 2003/04/25 15:50:19 edahl Exp $""" 
19   
20  __version__ = "$Revision: 1.1 $"[11:-2] 
21   
22  from Globals import Persistent 
23   
24 -class RRDMGraph(Persistent):
25
26 - def __init__(self, mtargets, views):
27 self._mtargets = mtargets 28 self._views = views
29
30 - def getMTargets(self):
31 return self._mtargets
32
33 - def getViews(self):
34 return self._views
35