<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<html><head><title>ISPCOnfig 3 remote API documentation</title>
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<link rel="stylesheet" type="text/css" href="definitionen.css">
|
<style type="text/css">
|
</style></head>
|
|
<body>
|
<div style="padding:40px">
|
<h1>openvz_vm_add_from_template(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$ostemplate_id</span>, <span class="var">$template_id</span>, <span class="var">$override_params</span> = array());</h1>
|
<br>
|
<p class="headgrp">Description: </p>
|
<p class="margin"> Sets up a virtual machine on the first available ip by using templates.</p><br>
|
<p class="headgrp">Input Variables: </p>
|
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$ostemplate_id</span>, <span class="var">$template_id</span>, <span class="var">$override_params</span> = array()</p>
|
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
|
<p class="margin"> None</p>
|
<p class="headgrp">Output: </p>
|
<p class="margin"> Returns added vm's ID.</p>
|
<p class="headgrp">SQL Interaction:</p>
|
<p class="margin"> "SELECT * FROM openvz_template WHERE template_id = <span class="var">$template_id</span>"</p>
|
<!--<b>Output:</b>
|
<p style="margin-left:100px">Gives a record of </p> -->
|
</div>
|
|
</body></html>
|