Skip to contentSkip to conversation

new ceph-mgr Python module notification types

DISCUSSION Dan Mick 2 participants 2 messages Jul 12, 2017

lore
Share & tools
lore

Dan Mick

author
#0 lore raw

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
#1 lore raw
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