diff options
Diffstat (limited to 'lib_cman.py')
-rw-r--r-- | lib_cman.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib_cman.py b/lib_cman.py index 3ed8d98..8507c84 100644 --- a/lib_cman.py +++ b/lib_cman.py @@ -36,6 +36,19 @@ class CmanLuciHTTPS(HTTPS, Delegate): )) +class CmanModclusterdUpdates(Exchange): + """modclusterd <-> modclusterd""" + defaults = dict(( + LABEL('port 16851\n(either direction)'), + )) + summary = 'XML-formatted status messages' + + +class CmanModclusterdUpdatesPeer(object): + common_src_of = CmanModclusterdUpdates + common_dst_of = CmanModclusterdUpdates + + # # nodes # @@ -225,7 +238,7 @@ class CmanLuci(Daemon, CmanRicciRPCSrc, HTTPSDst): ) -class CmanModclusterd(Daemon): +class CmanModclusterd(Daemon, CmanModclusterdUpdatesPeer): defaults = dict(( LABEL('modclusterd'), )) |