openvz_template_add.html 4.32 KB
Newer Older
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<html><head><title>ISPCOnfig 3 remote API documentation</title>
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66

  

  
  
  <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_template_add(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span>);</h1>
<br>
<p class="headgrp">Description: </p>
<p class="margin"> Adds a new openvz template.</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">$params</span></p>
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
<p class="margin"> template_name&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> diskspace&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> traffic&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> bandwidth&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> ram&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> ram_burst&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> cpu_units&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> cpu_num&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> cpu_limit&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> io_priority&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> active&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> description&nbsp;&nbsp;(<span class="paratype">text</span>)</p>
<p class="margin"> numproc&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numtcpsock&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numothersock&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> vmguarpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> kmemsize&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> tcpsndbuf&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> tcprcvbuf&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> othersockbuf&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> dgramrcvbuf&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> oomguarpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> privvmpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> lockedpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> shmpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> physpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numfile&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> avnumproc&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numflock&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numpty&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numsiginfo&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> dcachesize&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numiptent&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> swappages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> hostname&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> nameserver&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> create_dns&nbsp;&nbsp;(<span class="paratype">varchar(1)</span>)</p>
<p class="margin"> capability&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="headgrp">Output: </p> 
<p class="margin"> Returns the ID of the newly added openvz template.</p>
<!--<b>Output:</b> 
<p style="margin-left:100px">Gives a record of </p> -->
</div>

</body></html>