Ok, the problem I suppose is in missing commit() function call.
How can I call it from EventTranform? Direct call to this does not work. 
Should I import something or create  some object?


Anton Menshutin wrote:
> I want to write an events transform for link up|down events so it 
> changes interface operStatus in database immediately as trap comes.
> The question is, supposing iface is IpInterface object i'm interested 
> in, how can I change its class variable operStatus. I suppose it is 
> protected or something else, because code like 'iface.operStatus=0' does 
> nothing. Is it possible somehow?
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>   

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to