bugs
This commit is contained in:
parent
6db5da757b
commit
d81a376894
4 changed files with 50 additions and 20 deletions
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
include_once("../config.inc.php");
|
||||
include_once("/istic-openstack/server/config.inc.php");
|
||||
require "../vendor/autoload.php";
|
||||
include_once("../core/Plugin_Api.php");
|
||||
include_once("../core/LibOverride/genTokenOptions.php");
|
||||
include_once("/istic-openstack/server/core/Plugin_Api.php");
|
||||
include_once("/istic-openstack/server/core/LibOverride/genTokenOptions.php");
|
||||
|
||||
$user = "admin";
|
||||
$password = "ae5or6cn";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
require '../vendor/autoload.php';
|
||||
include('../index.php');
|
||||
include('/istic-openstack/server/init.php');
|
||||
|
||||
/*
|
||||
$options = Array();
|
||||
|
@ -31,6 +31,7 @@ $openstack = new OpenStack\OpenStack($options);
|
|||
//$servers = $compute->listServers(true);
|
||||
echo 'toto';
|
||||
|
||||
$image = new Image($App);
|
||||
|
||||
$opt = Array();
|
||||
$opt['name'] = "Test";
|
||||
|
@ -46,7 +47,7 @@ $opt['minRam'] = 10;
|
|||
|
||||
|
||||
//Liste des images
|
||||
$images = $imageObject->list_images();
|
||||
$images = $image->list_images();
|
||||
|
||||
echo "Images présentes :";
|
||||
echo "</br>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue