Add floating request
This commit is contained in:
parent
eb38e10d6f
commit
71794b98c5
2 changed files with 8 additions and 1 deletions
2
server/core/FloatingIp.php
Normal file → Executable file
2
server/core/FloatingIp.php
Normal file → Executable 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;
|
||||||
|
|
|
@ -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{
|
||||||
|
|
Loading…
Add table
Reference in a new issue