<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 4/23/10 2:03 PM, <a class="moz-txt-link-abbreviated" href="mailto:Hector.Ortiz@swisscom.com">Hector.Ortiz@swisscom.com</a> wrote:
<blockquote
 cite="mid:F8B4FA616ADB5E4F976B02FEDA9468FD0628006053@sg000035.corproot.net"
 type="cite">
  <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal">Hi everyone,<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal"><span lang="EN-US">In the page where a module is
described,
there is a list of dependencies that have to be met in order to use the
module,
the list of exported parameters that might need to be set in the
configuration
file and a list of exported functions which can be used in the
configuration
script. &nbsp;I&#8217;ve noticed as well, that there are some &#8220;Exported MI
functions&#8221; but I was wondering if any of you know what the purpose of
those functions is, where and how such functions could be used?<o:p></o:p></span></p>
  <p class="MsoNormal"><span lang="EN-US"><o:p><br>
  </o:p></span></p>
  </div>
</blockquote>
mi functions can be used in control commands that can be sent via fifo
file, unix/datagram socket or xmlrpc. We start to deprecate them in
favour of RPC control interface.<br>
<br>
One option to run mi commands is via kamctl:<br>
<br>
kamctl fifo command params<br>
<br>
Examples:<br>
<br>
kamctl fifo ps<br>
kamctl fifo uptime<br>
<br>
To see what mi commands are available:<br>
<br>
kamctl fifo which<br>
<br>
With 3.0+ you can use sercmd as well, e.g.,:<br>
<br>
sercmd&gt; mi which<br>
sercmd&gt; mi ps<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
* <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a>
* <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/danielconstantinmierla">http://www.linkedin.com/in/danielconstantinmierla</a> 
</pre>
</body>
</html>