X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FEvents.py;h=e87cbbe49d826b07fc2ca053b4a7c92a326c7dff;hb=c575b7396f84f929087440a6b1c5c08b59bf723e;hp=ac72c65c5ac113640ace0733d518b21c61aa96e4;hpb=d959fffe2878262ba0525225f2241b7c6004b3ea;p=plcapi.git diff --git a/PLC/Events.py b/PLC/Events.py index ac72c65..e87cbbe 100644 --- a/PLC/Events.py +++ b/PLC/Events.py @@ -4,7 +4,7 @@ # Tony Mack # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: Events.py,v 1.9 2006/11/29 22:14:32 tmack Exp $ +# $Id: Events.py,v 1.10 2006/12/20 14:07:22 tmack Exp $ # from PLC.Faults import * @@ -28,6 +28,7 @@ class Event(Row): 'call_name': Parameter(str, "Call responsible for this event"), 'call': Parameter(str, "Call responsible for this event, including paramters"), 'message': Parameter(str, "High level description of this event"), + 'object_type': Parameter(str, "What type of object is this event affecting"), 'runtime': Parameter(float, "Runtime of event"), 'time': Parameter(int, "Date and time that the event took place, in seconds since UNIX epoch", ro = True), 'object_ids': Parameter([int], "IDs of objects affected by this event")