Loading cloudcontrol/server/clients/cli.py +7 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ class CliHandler(RegisteredCCHandler): CliHandler.rshell_resize CliHandler.rshell_wait CliHandler.forward CliHandler.dbstats """ @listed Loading Loading @@ -743,6 +744,12 @@ class CliHandler(RegisteredCCHandler): # Create tunnel to the CLI self.client.register_tunnel('forward', host_client, s2n_tun) @listed def dbstats(self): """ Get statistics about tql database. """ return self.server.db.stats() def forward_call(self, login, func, *args, **kwargs): """ Forward a call to a connected client and return result. Loading Loading
cloudcontrol/server/clients/cli.py +7 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ class CliHandler(RegisteredCCHandler): CliHandler.rshell_resize CliHandler.rshell_wait CliHandler.forward CliHandler.dbstats """ @listed Loading Loading @@ -743,6 +744,12 @@ class CliHandler(RegisteredCCHandler): # Create tunnel to the CLI self.client.register_tunnel('forward', host_client, s2n_tun) @listed def dbstats(self): """ Get statistics about tql database. """ return self.server.db.stats() def forward_call(self, login, func, *args, **kwargs): """ Forward a call to a connected client and return result. Loading