Add Network class Generation in App
This commit is contained in:
parent
fa77d200c5
commit
82cae7df99
2 changed files with 29 additions and 5 deletions
server/core
5
server/core/App.php
Normal file → Executable file
5
server/core/App.php
Normal file → Executable 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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue