diff options
Diffstat (limited to 'lib_cman.py')
-rw-r--r-- | lib_cman.py | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/lib_cman.py b/lib_cman.py index 78bdb1a..3ed8d98 100644 --- a/lib_cman.py +++ b/lib_cman.py @@ -11,6 +11,35 @@ from lib_edges import * from lib_shared import * +# +# edges/protocols +# + +class CmanRicciRPC(ApplicationSpecificProtocol, Delegate): + """[ricci client] -> ricci""" + defaults = dict(( + LABEL('port 11111'), + )) + summary = 'ricci RPC is a customized variant of XMLRPC' + web = 'http://www.sourceware.org/cluster/conga/ricci_api/index.html' + #web = 'http://www.sourceware.org/cluster/conga/ricci_api/ricci_api.html' + + +class CmanRicciRPCSrc(object): + common_src_of = CmanRicciRPC + + +class CmanLuciHTTPS(HTTPS, Delegate): + """[web browser] -> luci""" + defaults = dict(( + LABEL('port 8084'), + )) + + +# +# nodes +# + class CmanRGManager(Daemon): defaults = dict(( LABEL('rgmanager'), @@ -112,7 +141,7 @@ class CmanRicci(Daemon): ) -class CmanCcs(Executable): +class CmanCcs(Executable, CmanRicciRPCSrc): defaults = dict(( LABEL('ccs'), )) @@ -140,7 +169,7 @@ class CmanCcs(Executable): ) -class CmanCcsSync(Executable): +class CmanCcsSync(Executable, CmanRicciRPCSrc): defaults = dict(( LABEL('ccs_sync'), )) @@ -160,7 +189,7 @@ class CmanCcsSync(Executable): ) -class CmanLuci(Daemon): +class CmanLuci(Daemon, CmanRicciRPCSrc, HTTPSDst): defaults = dict(( LABEL('luci'), )) |