trying floating ip
This commit is contained in:
parent
6a3f770c76
commit
00184e623e
1 changed files with 4 additions and 4 deletions
|
@ -66,13 +66,13 @@ class floatingIp {
|
||||||
private function listFloatingIp(){
|
private function listFloatingIp(){
|
||||||
try{
|
try{
|
||||||
$result = array();
|
$result = array();
|
||||||
|
|
||||||
$l = $this->libClass->getFloatingIps();
|
$l = $this->libClass->getFloatingIps();
|
||||||
|
echo 'toto';
|
||||||
|
|
||||||
|
|
||||||
foreach ($l as $tmp) {
|
foreach ($l as $tmp) {
|
||||||
$serult[] = $tmp;
|
$result[] = $tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->app->setOutput("FloatingIp", $result);
|
$this->app->setOutput("FloatingIp", $result);
|
||||||
}catch(BadResponseError $e){
|
}catch(BadResponseError $e){
|
||||||
$this->app->getErrorInstance()->BadResponseHandler($e);
|
$this->app->getErrorInstance()->BadResponseHandler($e);
|
||||||
|
|
Loading…
Add table
Reference in a new issue