diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2019-10-10 13:15:57 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-10-11 11:57:08 +0200 |
commit | 45389c50210706ef250bac4402554a7aed7ec699 (patch) | |
tree | 3a2d436572550cea325318de348b64b44c5526de /admin/WebConsole/comandos | |
parent | ca96a723d15d86ed5856b36d35b889724fa64528 (diff) |
#915 Adapt web to use new REST API "image/create/incremental" command
SocketHidra command has been replaced by POST "image/create/incremental".
Diffstat (limited to 'admin/WebConsole/comandos')
-rw-r--r-- | admin/WebConsole/comandos/gestores/gestor_Comandos.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/WebConsole/comandos/gestores/gestor_Comandos.php b/admin/WebConsole/comandos/gestores/gestor_Comandos.php index 5b951735..70b3019d 100644 --- a/admin/WebConsole/comandos/gestores/gestor_Comandos.php +++ b/admin/WebConsole/comandos/gestores/gestor_Comandos.php @@ -33,6 +33,7 @@ define('OG_CMD_ID_SESSION', 9); define('OG_CMD_ID_SETUP', 10); define('OG_CMD_ID_CREATE_BASIC_IMAGE', 12); define('OG_CMD_ID_RESTORE_BASIC_IMAGE', 13); +define('OG_CMD_ID_CREATE_INCREMENTAL_IMAGE', 14); define('OG_CMD_ID_SENDMESSAGE', 16); // Recoge parametros de seguimiento @@ -143,6 +144,9 @@ switch ($idcomando) { case OG_CMD_ID_CREATE_BASIC_IMAGE: create_basic_image($cadenaip, $atributos); break; + case OG_CMD_ID_CREATE_INCREMENTAL_IMAGE: + create_incremental_image($cadenaip, $atributos); + break; case OG_CMD_ID_RESTORE_BASIC_IMAGE: restore_basic_image($cadenaip, $atributos); break; @@ -226,6 +230,7 @@ if($sw_ejya=='on' || $sw_ejprg=="on" ){ $idcomando != OG_CMD_ID_SETUP && $idcomando != OG_CMD_ID_SESSION && $idcomando != OG_CMD_ID_CREATE_BASIC_IMAGE && + $idcomando != OG_CMD_ID_CREATE_INCREMENTAL_IMAGE && $idcomando != OG_CMD_ID_RESTORE_BASIC_IMAGE && $idcomando != OG_CMD_ID_POWEROFF && $idcomando != OG_CMD_ID_HARDWARE && |