소스 검색

cmd_tls: wrapper around rpc commands list and info

Daniel-Constantin Mierla 7 년 전
부모
커밋
898aae4d50
1개의 변경된 파일28개의 추가작업 그리고 0개의 파일을 삭제
  1. 28 0
      kamcli/commands/cmd_tls.py

+ 28 - 0
kamcli/commands/cmd_tls.py

@@ -170,6 +170,34 @@ def tls_cfgreload(ctx):
     command_ctl(ctx, 'tls.reload', [ ])
 
 
+##
+#
+#
[email protected]('conlist', short_help='List current tls connections')
+@pass_context
+def tls_conlist(ctx):
+    """List current tls connections
+
+    \b
+    """
+    command_ctl(ctx, 'tls.list', [ ])
+
+
+
+##
+#
+#
[email protected]('info', short_help='Summary of tls usage')
+@pass_context
+def tls_info(ctx):
+    """Summary of tls usage
+
+    \b
+    """
+    command_ctl(ctx, 'tls.info', [ ])
+
+
+
 
 ##
 #