mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
sync local changes to remote via socket
This commit is contained in:
@@ -135,7 +135,7 @@ class showSslCrtLists(Cmd):
|
||||
return result
|
||||
|
||||
class showSslCrtList(Cmd):
|
||||
cmdTxt = "show ssl crt-list %(crt_list)s\r\n"
|
||||
cmdTxt = "show ssl crt-list -n %(crt_list)s\r\n"
|
||||
req_args = ['crt_list']
|
||||
helpTxt = "Show the the content of a crt-list."
|
||||
|
||||
@@ -330,4 +330,4 @@ class showServers(baseStat):
|
||||
row.move_to_end('id', last=False)
|
||||
servers.append(dict(row))
|
||||
|
||||
return servers
|
||||
return servers
|
||||
|
||||
@@ -142,7 +142,7 @@ class TestCommands(unittest.TestCase):
|
||||
"sessions": "show sess",
|
||||
"servers": "show stat",
|
||||
"show-ssl-crt-lists": "show ssl crt-list",
|
||||
"show-ssl-crt-list": "show ssl crt-list /tmp/haproxy/ssl/601a7392cc9984.99301413.certlist",
|
||||
"show-ssl-crt-list": "show ssl crt-list -n /tmp/haproxy/ssl/601a7392cc9984.99301413.certlist",
|
||||
"show-ssl-certs": "show ssl cert",
|
||||
"show-ssl-cert": "show ssl cert /tmp/haproxy/ssl/601a70e4844b0.pem",
|
||||
"add-to-crt-list": "add ssl crt-list /tmp/haproxy/ssl/601a7392cc9984.99301413.certlist /tmp/haproxy/ssl/601a70e4844b0.pem",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user