On 11/06/2017 02:54 PM, Thomas Lamprecht wrote:
will be reused in later patches too
---
src/PVE/CLIHandler.pm | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm
index 311cc69..4e3342f 100644
--- a/src/PVE/
Reviewed-by: Dominik Csapak
On 11/06/2017 02:54 PM, Thomas Lamprecht wrote:
move variables nearer to where they actually used.
drop program name early from argv array
drop unnecessary variables
---
src/PVE/CLIHandler.pm | 39 +++
1 file changed, 15 inserti
Reviewed-by: Dominik Csapak
On 11/06/2017 02:54 PM, Thomas Lamprecht wrote:
use shorter and also a bit faster methods to expand and get comand
names
---
src/PVE/CLIHandler.pm | 25 +++--
1 file changed, 3 insertions(+), 22 deletions(-)
diff --git a/src/PVE/CLIHandler.pm
Reviewed-by: Dominik Csapak
On 11/06/2017 02:54 PM, Thomas Lamprecht wrote:
---
src/PVE/CLIHandler.pm | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm
index 29a7f57..c787ac4 100644
--- a/src/PVE/CLIHandler.pm
Reviewed-by: Dominik Csapak
On 11/06/2017 02:54 PM, Thomas Lamprecht wrote:
passing one param less to the helper methods
---
src/PVE/CLIHandler.pm | 29 -
1 file changed, 12 insertions(+), 17 deletions(-)
diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm
Signed-off-by: Thomas Lamprecht
---
DAB.pm | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/DAB.pm b/DAB.pm
index 61cf5ad..5631e9e 100644
--- a/DAB.pm
+++ b/DAB.pm
@@ -351,6 +351,8 @@ sub new {
$config->{ostype} = "ubuntu-16.10";
} elsif ($suite eq 'zest
Signed-off-by: Thomas Lamprecht
---
data/PVE/API2/ClusterConfig.pm | 94 --
data/PVE/CLI/pvecm.pm | 89 +--
2 files changed, 92 insertions(+), 91 deletions(-)
diff --git a/data/PVE/API2/ClusterConfig.pm b/data/P
Signed-off-by: Thomas Lamprecht
---
data/PVE/CLI/pvecm.pm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/data/PVE/CLI/pvecm.pm b/data/PVE/CLI/pvecm.pm
index 553dbee..4b4eaa5 100755
--- a/data/PVE/CLI/pvecm.pm
+++ b/data/PVE/CLI/pvecm.pm
@@ -146,9 +146,8 @@ __PACKAGE__->r
Default to using the API for a add node procedure.
But, allow the user to manually fall back to the legacy SSH method.
Also fallback if the API detected an not up to date peer.
This could be removed in a later release.
Signed-off-by: Thomas Lamprecht
---
data/PVE/CLI/pvecm.pm | 45 +
Factor out common code, which will be used by the new API endpoint to
join a cluster and the old legacy SSH method which we will keep for a
bit.
Signed-off-by: Thomas Lamprecht
---
data/PVE/CLI/pvecm.pm | 152 ++
data/PVE/Cluster.pm | 146 +++
Signed-off-by: Thomas Lamprecht
---
data/PVE/API2/ClusterConfig.pm | 210 ++
data/PVE/CLI/pvecm.pm | 223 +
2 files changed, 213 insertions(+), 220 deletions(-)
diff --git a/data/PVE/API2/ClusterConfig.pm b/data
Returns all relevant information for joining this cluster securely
over the API.
Signed-off-by: Thomas Lamprecht
---
data/PVE/API2/ClusterConfig.pm | 42 ++
1 file changed, 42 insertions(+)
diff --git a/data/PVE/API2/ClusterConfig.pm b/data/PVE/API2/Clust
Signed-off-by: Thomas Lamprecht
---
data/PVE/CLI/pvecm.pm | 77 ---
data/PVE/Corosync.pm | 73
2 files changed, 79 insertions(+), 71 deletions(-)
diff --git a/data/PVE/CLI/pvecm.pm b/data/PVE/CLI/pv
Signed-off-by: Thomas Lamprecht
---
data/PVE/API2/ClusterConfig.pm | 125 -
debian/control.in | 2 +
2 files changed, 126 insertions(+), 1 deletion(-)
diff --git a/data/PVE/API2/ClusterConfig.pm b/data/PVE/API2/ClusterConfig.pm
index c38feb2
changes v1 -> 2:
* 7/10, 8/10, 9/10, 10/10 are new - mostly moving also the create
cluster to the API and preparing for the UI component
* prev. 1/6 - 5/6 stayed the same
* prev. 6/6 (now 6/10): use PVE::PTY directly, not the CLIHandler
wrapper
So mostly new patches where added, re-sent for ea
Signed-off-by: Thomas Lamprecht
---
data/PVE/API2/ClusterConfig.pm | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/data/PVE/API2/ClusterConfig.pm b/data/PVE/API2/ClusterConfig.pm
index fa01022..c38feb2 100644
--- a/data/PVE/API2/ClusterConfig.pm
+++ b/d
Signed-off-by: Thomas Lamprecht
---
data/PVE/API2/ClusterConfig.pm | 21 +
1 file changed, 21 insertions(+)
diff --git a/data/PVE/API2/ClusterConfig.pm b/data/PVE/API2/ClusterConfig.pm
index 9a4d9f5..97706d9 100644
--- a/data/PVE/API2/ClusterConfig.pm
+++ b/data/PVE/API2/Clus
___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
this enables the output via vncterm when the vm has
configured a serial port
Signed-off-by: Dominik Csapak
---
PVE/API2/Qemu.pm | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 9098a34..a6dc905 100644
--- a/PVE/API2/Qem
Signed-off-by: Dominik Csapak
---
www/manager6/Utils.js | 14 ++
1 file changed, 14 insertions(+)
diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index 3efe4e71..578ba81e 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -1156,6 +1156,8 @@ Ext.define('PVE.U
and add dependency for pve-xtermjs
Signed-off-by: Dominik Csapak
---
changes since v1:
* whitespace fix
* removed unecessary return and timeout
* added dependency in debian/control
PVE/API2/Nodes.pm | 96 +++
debian/control| 1 +
2 files c
for xtermjs web client
Signed-off-by: Dominik Csapak
---
changes since v1:
* whitespace fix
* removed unecessary return
PVE/API2/Qemu.pm | 94
1 file changed, 94 insertions(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 5f9d105
this series adds support for the xtermjs terminal client for the host shell,
container consoles, and serial terminal for qemu vms
this series depends on the 'pve-xtermjs' package
to be found under: https://git.proxmox.com/?p=pve-xtermjs.git;a=summary
changes since v1:
* added dependecy in pve-ma
Signed-off-by: Dominik Csapak
---
changes since v1:
* whitespace fix
* removed unecessary return
src/PVE/API2/LXC.pm | 83 +
1 file changed, 83 insertions(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index a1897c7..662e0a0 100644
-
so that we can open an xtermjs iframe instead of novnc
Signed-off-by: Dominik Csapak
---
changes since v1:
* removed site change on destroy
www/manager6/VNCConsole.js | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/www/manager6/VNCConsole.js b/www/manager6/VNCConsole.js
also rework the button.
move most things in the static configuration
Signed-off-by: Dominik Csapak
---
changes since v1:
* reworked button to a mostly declarative syntax
www/manager6/button/ConsoleButton.js | 74 +---
www/manager6/lxc/Config.js | 30
Signed-off-by: Dominik Csapak
---
PVE/Service/pveproxy.pm | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm
index 7d39900a..ec1eb9a5 100755
--- a/PVE/Service/pveproxy.pm
+++ b/PVE/Service/pveproxy.pm
@@ -51,6 +51,7 @@ my
Most times a port was requested for a specified IP family (v4, v6)
only. Thus also ensure that the port from the respective family got
ready, else we may return on a false positive.
As we had no user setting the $timeout param we can add the $family
param as second one, it'll get used more often,
All of our users expected this behavior and did not check for undef
Signed-off-by: Thomas Lamprecht
---
src/PVE/Tools.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm
index c3ac0e8..c2c2f93 100644
--- a/src/PVE/Tools.pm
+++ b/src/PVE/Tool
On 12/01/2017 09:29 AM, Dominik Csapak wrote:
> this enables the output via vncterm when the vm has
> configured a serial port
>
> Signed-off-by: Dominik Csapak
> ---
> PVE/API2/Qemu.pm | 14 +++---
> 1 file changed, 11 insertions(+), 3 deletions(-)
>
> diff --git a/PVE/API2/Qemu.pm b/P
On 12/04/2017 10:07 AM, Thomas Lamprecht wrote:
I assume this is temporarily for testing? Or do we want to have both,
noVNC and xtermjs side by side as inline console for CTs/ Node Shell?
Probably at least not forever.
yes, as long as the xtermjs client is not battle-tested, i would like to
ha
On 12/04/2017 09:48 AM, Thomas Lamprecht wrote:
On 12/01/2017 09:29 AM, Dominik Csapak wrote:
so that we can open an xtermjs iframe instead of novnc
Signed-off-by: Dominik Csapak
---
www/manager6/VNCConsole.js | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/w
On 12/01/2017 09:29 AM, Dominik Csapak wrote:
> for xtermjs web client
>
> Signed-off-by: Dominik Csapak
> ---
> PVE/API2/Qemu.pm | 96
>
> 1 file changed, 96 insertions(+)
>
> diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
> index 5f9
On 12/01/2017 09:29 AM, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak
> ---
> src/PVE/API2/LXC.pm | 84
> +
> 1 file changed, 84 insertions(+)
>
> diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
> index a1897c7..e260acf 100644
>
On 12/01/2017 09:29 AM, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak
> ---
> www/manager6/button/ConsoleButton.js | 27 ---
> www/manager6/lxc/Config.js | 30 +-
> www/manager6/node/Config.js | 9 +
> 3 files
On 12/01/2017 09:29 AM, Dominik Csapak wrote:
> so that we can open an xtermjs iframe instead of novnc
>
> Signed-off-by: Dominik Csapak
> ---
> www/manager6/VNCConsole.js | 11 ++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/www/manager6/VNCConsole.js b/www/manag
On 12/01/2017 09:29 AM, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak
> ---
> www/manager6/Utils.js | 14 ++
> 1 file changed, 14 insertions(+)
>
> diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
> index 3efe4e71..578ba81e 100644
> --- a/www/manager6/Utils.js
> +++
On 12/01/2017 09:29 AM, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak
> ---
> PVE/Service/pveproxy.pm | 9 -
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm
> index 7d39900a..ec1eb9a5 100755
> --- a/PVE/Service/p
On 12/01/2017 09:29 AM, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak
Please add a dependency to pve-xtermjs together with this here, for the
version which should get applied, adding it "later on" may let us forget
it at all..
> ---
> PVE/API2/Nodes.pm | 100
>
39 matches
Mail list logo