Commit Graph

18 Commits

Author SHA1 Message Date
Thomas Lamprecht
c8d8937c38 pvenode: allow replying on samle line on interactive questions
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-03 14:10:17 +02:00
Fabian Grünbichler
838470846c acme plugins: improve API
add checks, encoding of loaded data files, update API path, proper inclusion into API tree

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-05-03 14:10:17 +02:00
Fabian Grünbichler
fcc60c16de acme: encode plugin data in proxmox-acme-perl
when reading/writing plugin config

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-05-03 14:10:17 +02:00
Wolfgang Link
b227e9d2ab Create ACME Plugin config.
With this configuration it is possible to use many different plugins
with different providers and users.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2020-05-03 14:10:17 +02:00
Alwin Antreich
64d97bfaa9 pvenode: add public key size & type to cert info
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2019-07-23 08:16:55 +02:00
Fabian Grünbichler
99aca71627 pvenode: use 'UNKNOWN' if task status is missing
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-01-23 18:42:59 +01:00
Fabian Grünbichler
236f253c9e pvenode: don't treat running tasks as failed
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-01-23 18:42:59 +01:00
Christian Ebner
0f615ea9df pvenode: Return MAC address used for WoL call on success
Use the new format to verify the MAC addresses.
The wakeonlan API call now returns the MAC address of the node to wake on
successful sending of the WoL packet.
pvenode finally displays this MAC address to the user as feedback.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-01-22 12:05:47 +01:00
Christian Ebner
10a3cb09b8 pvenode: Add CLI call interface for wake on LAN
Adds a CLI call interface to pvenode which allows to wake sleeping nodes in a
cluster via a wake on LAN packet.

pvenode wakeonlan <node>

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-01-18 08:55:44 +01:00
Dietmar Maurer
b493a64d87 pvenode: remove useless call to query_terminal_options 2018-07-26 13:12:58 +02:00
Dietmar Maurer
7fa666d299 pvenode: use print_api_result to print acme account information 2018-07-26 13:09:08 +02:00
Dietmar Maurer
a308d1ef2e pvenode: use print_api_result to print certificate information 2018-07-26 13:09:08 +02:00
Dietmar Maurer
07e8a1b539 pvenode: fixup output formatting 2018-07-26 13:09:08 +02:00
Dietmar Maurer
de96ba1ec1 pvenode: fix print_api_result usage, avoid print_api_list
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2018-07-11 07:42:20 +02:00
Thomas Lamprecht
ae5f985816 pvenode: use new CLIFormatter options
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-07-10 14:37:48 +02:00
Dominik Csapak
5d68448296 add task list/log/status to pvenode
and use the newly created print_api_* helpers for this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-06-29 10:31:23 +02:00
Dominik Csapak
667f0037df add star/stop/migrateall commands to pvenode
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-06-27 10:52:10 +02:00
Fabian Grünbichler
1a9df9c828 add pvenode CLIHandler
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-05-02 11:34:52 +02:00