diff options
| author | Yoggzo <yogg@epsina.com> | 2016-04-21 21:31:25 +0200 |
|---|---|---|
| committer | Yoggzo <yogg@epsina.com> | 2016-04-21 21:31:25 +0200 |
| commit | 94ce37f5175eb6f528d5ad29a446c04d981628f1 (patch) | |
| tree | 3ae3b3e79f1fda0ea4a5b8c667c8988171e21a1d /server/Test/automatingTests.php | |
| parent | 20dc35d9ab6ce3b9aafeeca14be52b70a30aaf1e (diff) | |
end of floatingip
Diffstat (limited to 'server/Test/automatingTests.php')
| -rwxr-xr-x | server/Test/automatingTests.php | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/server/Test/automatingTests.php b/server/Test/automatingTests.php index 6b0e9d6..3f32d02 100755 --- a/server/Test/automatingTests.php +++ b/server/Test/automatingTests.php @@ -44,18 +44,7 @@ foreach($servers as $server){ } echo "</br>"; -// liste des floatingip -echo "Liste des floatingip : </br>"; -$floatingIp->action("listFloatingIp"); -$listFloatingIp = json_decode($App->show(), true)["FloatingIp"]; -$ip = null; -foreach ($listFloatingIp as $floatIp){ - echo $floatIp['floatingIpAddress']." ".$floatIp['id']." ".$floatIp["status"]."<br>"; - $ip = $floatIp; -} - -echo "</br>"; - +/* // Création d'une ip flotante $opt = array(); //$opt['floatingNetworkId'] = $id; !!!!! TOTALEMENT FAUX ici tu passe en parametre l id du serveur et non du network @@ -72,15 +61,10 @@ $float = json_decode($App->show(), true)["FloatingIp"]; if(!isset($float)){ echo "Erreur pendant la création</br>"; } -else{ - foreach ($float as $f) { - echo $f." "; - } - echo "<br>"; -} +echo "</br>"; +*/ -echo "</br>"; // liste des floatingip echo "Liste des floatingip : </br>"; |
