added Compute case for libclass generation

This commit is contained in:
stupidon 2016-02-28 10:23:17 +01:00
parent e53410a587
commit 59041ccb45

View file

@ -43,6 +43,11 @@ class AppTest{
$opt = $this->tokenClass->getOptions($service);
return $this->openstack->imagesV2($opt);
break;
case "Compute":
if($this->tokenPost == NULL) $this->tokenClass->genComputeToken();
$opt = $this->tokenClass->getOptions($service);
return $this->openstack->computeV2($opt);
break;
case "Network":
if($this->tokenPost == NULL) $this->tokenClass->genNetworkToken();
$opt = $this->tokenClass->getOptions($service);
@ -89,4 +94,4 @@ class AppTest{
echo json_encode($this->output);
}
}
}