2016-04-19 17:17:14 +02:00
|
|
|
<?php
|
|
|
|
include('InitTest.php');
|
2016-04-21 23:57:37 +02:00
|
|
|
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"];
|
|
|
|
*/
|
2016-04-19 23:57:03 +02:00
|
|
|
|
2016-04-19 17:17:14 +02:00
|
|
|
?>
|