summaryrefslogtreecommitdiff
path: root/server/Test/AppTestClass.php
diff options
context:
space:
mode:
authorYoggzo <yogg@epsina.com>2016-04-19 18:00:37 +0200
committerYoggzo <yogg@epsina.com>2016-04-19 18:00:37 +0200
commit3795d05a97dd144073d466be1ed0fd144683d8df (patch)
tree12ba6c68bcaeda43134506650e0f6fe3e19e2b79 /server/Test/AppTestClass.php
parent2d260aa6f591030f869063ccdb1f6997d12c1294 (diff)
trying test floatingip
Diffstat (limited to 'server/Test/AppTestClass.php')
-rwxr-xr-xserver/Test/AppTestClass.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/Test/AppTestClass.php b/server/Test/AppTestClass.php
index a663514..eaea7f6 100755
--- a/server/Test/AppTestClass.php
+++ b/server/Test/AppTestClass.php
@@ -63,6 +63,11 @@ class AppTest{
$opt = $this->tokenClass->getOptions($service);
return $this->openstack->networkingV2($opt);
break;
+ case "FloatingIp":
+ if($this->tokenPost == NULL) $this->tokenClass->genNetworkToken();
+ $opt = $this->tokenClass->getOptions($service);
+ return $this->openstack->networkingV2ExtLayer3($opt);
+ break;
}
}