Add floating request

This commit is contained in:
EoleDev 2016-04-18 20:01:50 +02:00
parent eb38e10d6f
commit 71794b98c5
2 changed files with 8 additions and 1 deletions

2
server/core/FloatingIp.php Normal file → Executable file
View file

@ -22,7 +22,7 @@ include("CoreInterface.php");
* Management of images * Management of images
* *
*/ */
class FloatingIp implements Core{ class floatingIp implements Core{
/** @var App $app protected, contains the main app object */ /** @var App $app protected, contains the main app object */
protected $app; protected $app;

View file

@ -52,6 +52,13 @@
$computeObject->action($action); $computeObject->action($action);
$App->show(); $App->show();
break; break;
case "floatingip":
include_once("core/FloatingIp.php");
$computeObject = new floatingIp($App);
$computeObject->action($action);
$App->show();
break;
} }
}else{ }else{