new ceph-mgr Python module notification types
I'm considering adding a new notification type ("perf_schema_update"), to be called from DaemonServer.cc. The existing notify types are all defined in Mgr.cc. Should we try to collect them somewhere more global, if only for reference's sake?
Signature · 3 lines
Dan Mick Red Hat, Inc. Ceph docs: http://ceph.com/docs
Quoted 4 lines · Dan Mick
I'm considering adding a new notification type ("
perf_schema_update"), to be called from DaemonServer.cc. The existing notify types are all defined in Mgr.cc. Should we try to collect them somewhere more global, if only for reference's sake?
You mean define a set of string constants somewhere and then use them (instead of bare strings) when sending notifications? Sounds good to me.
John
Quoted 9 lines
--
Dan Mick
Red Hat, Inc.
Ceph docs: http://ceph.com/docs
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html