commit | author | age
|
413d3b
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
00333e
|
2 |
<html><head><title>ISPCOnfig 3 remote API documentation</title> |
413d3b
|
3 |
|
T |
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
|
9 |
<link rel="stylesheet" type="text/css" href="definitionen.css"> |
|
10 |
<style type="text/css"> |
|
11 |
</style></head> |
|
12 |
|
|
13 |
<body> |
|
14 |
<div style="padding:40px"> |
|
15 |
<h1>openvz_template_add(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span>);</h1> |
|
16 |
<br> |
|
17 |
<p class="headgrp">Description: </p> |
|
18 |
<p class="margin"> Adds a new openvz template.</p><br> |
|
19 |
<p class="headgrp">Input Variables: </p> |
|
20 |
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p> |
|
21 |
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p> |
|
22 |
<p class="margin"> template_name (<span class="paratype">varchar(255)</span>)</p> |
|
23 |
<p class="margin"> diskspace (<span class="paratype">int(11)</span>)</p> |
|
24 |
<p class="margin"> traffic (<span class="paratype">int(11)</span>)</p> |
|
25 |
<p class="margin"> bandwidth (<span class="paratype">int(11)</span>)</p> |
|
26 |
<p class="margin"> ram (<span class="paratype">int(11)</span>)</p> |
|
27 |
<p class="margin"> ram_burst (<span class="paratype">int(11)</span>)</p> |
|
28 |
<p class="margin"> cpu_units (<span class="paratype">int(11)</span>)</p> |
|
29 |
<p class="margin"> cpu_num (<span class="paratype">int(11)</span>)</p> |
|
30 |
<p class="margin"> cpu_limit (<span class="paratype">int(11)</span>)</p> |
|
31 |
<p class="margin"> io_priority (<span class="paratype">int(11)</span>)</p> |
|
32 |
<p class="margin"> active (<span class="paratype">varchar(255)</span>)</p> |
|
33 |
<p class="margin"> description (<span class="paratype">text</span>)</p> |
|
34 |
<p class="margin"> numproc (<span class="paratype">varchar(255)</span>)</p> |
|
35 |
<p class="margin"> numtcpsock (<span class="paratype">varchar(255)</span>)</p> |
|
36 |
<p class="margin"> numothersock (<span class="paratype">varchar(255)</span>)</p> |
|
37 |
<p class="margin"> vmguarpages (<span class="paratype">varchar(255)</span>)</p> |
|
38 |
<p class="margin"> kmemsize (<span class="paratype">varchar(255)</span>)</p> |
|
39 |
<p class="margin"> tcpsndbuf (<span class="paratype">varchar(255)</span>)</p> |
|
40 |
<p class="margin"> tcprcvbuf (<span class="paratype">varchar(255)</span>)</p> |
|
41 |
<p class="margin"> othersockbuf (<span class="paratype">varchar(255)</span>)</p> |
|
42 |
<p class="margin"> dgramrcvbuf (<span class="paratype">varchar(255)</span>)</p> |
|
43 |
<p class="margin"> oomguarpages (<span class="paratype">varchar(255)</span>)</p> |
|
44 |
<p class="margin"> privvmpages (<span class="paratype">varchar(255)</span>)</p> |
|
45 |
<p class="margin"> lockedpages (<span class="paratype">varchar(255)</span>)</p> |
|
46 |
<p class="margin"> shmpages (<span class="paratype">varchar(255)</span>)</p> |
|
47 |
<p class="margin"> physpages (<span class="paratype">varchar(255)</span>)</p> |
|
48 |
<p class="margin"> numfile (<span class="paratype">varchar(255)</span>)</p> |
|
49 |
<p class="margin"> avnumproc (<span class="paratype">varchar(255)</span>)</p> |
|
50 |
<p class="margin"> numflock (<span class="paratype">varchar(255)</span>)</p> |
|
51 |
<p class="margin"> numpty (<span class="paratype">varchar(255)</span>)</p> |
|
52 |
<p class="margin"> numsiginfo (<span class="paratype">varchar(255)</span>)</p> |
|
53 |
<p class="margin"> dcachesize (<span class="paratype">varchar(255)</span>)</p> |
|
54 |
<p class="margin"> numiptent (<span class="paratype">varchar(255)</span>)</p> |
|
55 |
<p class="margin"> swappages (<span class="paratype">varchar(255)</span>)</p> |
|
56 |
<p class="margin"> hostname (<span class="paratype">varchar(255)</span>)</p> |
|
57 |
<p class="margin"> nameserver (<span class="paratype">varchar(255)</span>)</p> |
|
58 |
<p class="margin"> create_dns (<span class="paratype">varchar(1)</span>)</p> |
|
59 |
<p class="margin"> capability (<span class="paratype">varchar(255)</span>)</p> |
|
60 |
<p class="headgrp">Output: </p> |
|
61 |
<p class="margin"> Returns the ID of the newly added openvz template.</p> |
|
62 |
<!--<b>Output:</b> |
|
63 |
<p style="margin-left:100px">Gives a record of </p> --> |
|
64 |
</div> |
|
65 |
|
|
66 |
</body></html> |