blob: 80881023dce78e301eca4f3257c2fac6c11dca53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
include('InitTest.php');
include_once("../core/Automating.php");
$automating = new Automating($App);
//$id = // id du réseau
/*
// Création serveur avec ip publique
echo "Test création serveur avec ip publique : </br>";
$App->setPostParam('networkId', $id);
$App->setPostParam('imageName', "ImageTest");
$App->setPostParam('serverName', "ServerTest");
$App->setPostParam('flavor', 1);
$compute->action("createPublicServer");
$servers = json_decode($App->show(), true)["Automating"];
*/
?>
|