Add Network class Generation in App

This commit is contained in:
EoleDev 2016-02-24 23:06:02 +01:00
parent fa77d200c5
commit 82cae7df99
2 changed files with 29 additions and 5 deletions
server/core

5
server/core/App.php Normal file → Executable file
View file

@ -50,6 +50,11 @@ class App{
$opt = $this->tokenClass->getOptions($service);
return $this->openstack->imagesV2($opt);
break;
case "Network":
if($this->tokenPost == NULL) $this->tokenClass->genNetworkToken();
$opt = $this->tokenClass->getOptions($service);
return $this->openstack->networkingV2($opt);
break;
}
}