sync local changes to remote via socket

This commit is contained in:
Andreas Stuerz
2021-02-23 08:57:37 +01:00
parent bd5817d592
commit 9df5e84a38
3 changed files with 459 additions and 133 deletions
@@ -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