Test Authentification
This commit is contained in:
parent
78e6e5787c
commit
de1f302047
3 changed files with 55 additions and 35 deletions
7
server/index.php
Normal file → Executable file
7
server/index.php
Normal file → Executable file
|
@ -5,12 +5,13 @@
|
|||
|
||||
// $task = $_POST["task"];
|
||||
// $action = $_POST["action"];
|
||||
|
||||
include_once("core/Identity.php");
|
||||
|
||||
|
||||
//$id = new identity($openstack_api, $pluginApi);
|
||||
|
||||
// var_dump($id->genToken());
|
||||
$openstack_api->computeV2(['region'=> 'RegionOne']);
|
||||
$compute = $openstack_api->computeV2(['region'=> 'RegionOne']);
|
||||
$servers = $compute->listServers(true);
|
||||
var_dump($servers);
|
||||
|
||||
// var_dump($openstack_api->getBuilderOptions());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue